By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,700 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

creating mathematical graphics?

P: n/a
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for functions
like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.
Thank you very much, and have a good day.

Jul 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Carl wrote:
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for functions
like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.
Thank you very much, and have a good day.


Graphics are a platform specific issue and depend heavily on
your platform and compiler. You need to seek out the experts
in a newsgroup dedicated to your platform or compiler. See the
FAQ and Welcome.txt links below for more information.

See also news:comp.graphics
--
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.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 19 '05 #2

P: n/a
Thomas Matthews wrote:
Carl wrote:
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for
functions like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.
Thank you very much, and have a good day.


Graphics are a platform specific issue and depend heavily on
your platform and compiler. You need to seek out the experts
in a newsgroup dedicated to your platform or compiler. See the
FAQ and Welcome.txt links below for more information.

See also news:comp.graphics


You *could* create your own graphical output (portably) by writing it to
an image file, though. I've actually done this quite a bit. The ppm file
format happens to be quite easy to deal with, and quite widely supported
by image manipulation, viewing, and conversion apps.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #3

P: n/a
On Sat, 13 Sep 2003 06:43:26 GMT, Carl <no*****@yahoo.com> wrote:
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for functions
like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.


There are many free cross-platform graphics libraries.

None of them are "standard".

I haven't used any of them, but take a look at e.g. http://www.vtk.org/.

Jul 19 '05 #4

P: n/a
mjm
Carl <no*****@yahoo.com> wrote in message news:<i0**********************@news2.telusplanet.n et>...
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for functions
like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.
Thank you very much, and have a good day.

Check out gnu plotutils.
Jul 19 '05 #5

P: n/a

"Alf P. Steinbach" <al***@start.no> wrote in message
news:3f****************@News.CIS.DFN.DE...
On Sat, 13 Sep 2003 06:43:26 GMT, Carl <no*****@yahoo.com> wrote:
Hi, I am studying C++ right now. I am interested in creating my own
mathematical software. Do you have any suggestions on the libraries or
std libraries that I can use to creat very simple graphics for functions
like y=x or y=x^2?
It is better that I can use some simple libraries or small libraries
since I don't want to spend too much time for just understanding the
library.


There are many free cross-platform graphics libraries.

None of them are "standard".

I haven't used any of them, but take a look at e.g. http://www.vtk.org/.


IMHO the OP might be better off checking out libraries/utilities like
gnuplot and whatever else there is. VTK is a full blown visualization
toolkit intended for image manipulation & 3D graphics. Having to build a
rendertree just to get a simple 2D graph might be too time consuming.

Cheers
Chris
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.