asdf wrote:
I was told that it is difficult to draw plots and graphs in C++, right?
In matlab, if I have data, it's very easy to generate the plots, and I
want to know how C++ handles such output.
The fundamental C++ language has no facilities for graphics.
Thus, graphs and plots have to be drawn using ASCII art,
such as periods for dots. The language also has no
facilities for fonts either.
However, there is no limitation on using platform
specific libraries for drawing graphics. These
libraries are not discussed in this newsgroup. The
libraries _may_ not be portable either.
The professional route is to find libraries that
already exist and have been tested with your
development and target platforms. Use the library
that you are most comfortable with.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq:
http://www.parashift.com/c++-faq-lite
C Faq:
http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library