From 7fb5d30b553664f85c5fa3952b54979e1f1d53b5 Mon Sep 17 00:00:00 2001 From: vitalkrilov Date: Tue, 12 Apr 2022 00:39:36 +0000 Subject: [PATCH] Graph: manual corrected. Graph (branch: tcc_current): - Rewritten in C so now it can be compiled with tcc. - Added functions: pow (^) and mod (%), arcctg, sgn, sec, cosec, log2, log3, log10. - Added aliases for functions: tan, cot, arctan, arccot, lg, lb, ln. - Fixed bugs with box_lib's edit_box. - Removed deprecated/potentially unused code. - Now an "Edit" button launches Cedit, not Tinypad. - Now there is a better graph rendering: fixed bugs with text drawing. - Added to autobuild list and in iso. git-svn-id: svn://kolibrios.org@9762 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/Tupfile.lua | 1 + programs/other/graph/man.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/Tupfile.lua b/data/Tupfile.lua index 1bb502a773..fa14bea45f 100644 --- a/data/Tupfile.lua +++ b/data/Tupfile.lua @@ -714,6 +714,7 @@ tup.append_table(img_files, { tup.append_table(extra_files, { {"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"}, {"kolibrios/demos/kmatrix", PROGS .. "/demos/kmatrix/trunk/kmatrix"}, + {"kolibrios/utils/graph", PROGS .. "/other/graph/branches/tcc_current/graph"}, {"kolibrios/develop/TinyBasic/TinyBasic", PROGS .. "/develop/tinybasic-1.0.4/tinybasic"}, {"kolibrios/develop/TinyBasic/bas/", PROGS .. "/develop/tinybasic-1.0.4/bas/*"}, {"kolibrios/develop/TinyBasic/TinyBasic.man", PROGS .. "/develop/tinybasic-1.0.4/doc/tinybasic.man"}, diff --git a/programs/other/graph/man.txt b/programs/other/graph/man.txt index c4fe646873..a61fb21073 100644 --- a/programs/other/graph/man.txt +++ b/programs/other/graph/man.txt @@ -3,13 +3,13 @@ формат входных данных(файл graph.cvs) а) если заданы точки и требуется провести кусочно-линейную функцию -x1 y1 x2 y2 ; границы области построения +x1 x2 y1 y2 ; границы области построения x y x y ; значения ... б) если задана функция -x1 y1 x2 y2 ; границы области построения +x1 x2 y1 y2 ; границы области построения =формула