plotting graph in C++ without graphics
Hello friends;
can anyone here who can help me in plotting a graph in C++ without using graphics or "graphics.h"in c++......
help me please....
Without using graphics? A graph *is* a graphic.
Unless you mean something that shows at the terminal? Something like this:
1 ++----------------**---------------+----**-----------+--------**-----++
+ *+ * + * * + sin(x) ****** +
0.8 ++ * * * * * * ++
| * * * * * * |
0.6 ++ * * * * * * ++
* * * * * * * |
0.4 +* * * * * * * ++
|* * * * * * * |
0.2 +* * * * * * * ++
| * * * * * * * |
0 ++* * * * * * *++
| * * * * * * *|
-0.2 ++ * * * * * * *+
| * * * * * * *|
-0.4 ++ * * * * * * *+
| * * * * * * *
-0.6 ++ * * * * * * ++
| * * * * * * |
-0.8 ++ * * * * * * ++
+ * * + * * + * * +
-1 ++-----**---------+----------**----+---------------**+---------------++
-10 -5 0 5 10
|
friend i have to make simple graph using two variables x and y .......simply i want to make linear graphs...
Topic archived. No new replies allowed.