Connecting Tech Pros Worldwide Help | Site Map

creating mathematical graphics?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2005, 05:28 PM
Carl
Guest
 
Posts: n/a
Default creating mathematical graphics?

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.


  #2  
Old July 19th, 2005, 05:28 PM
Thomas Matthews
Guest
 
Posts: n/a
Default Re: creating mathematical graphics?

Carl wrote:[color=blue]
> 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.
>[/color]

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

  #3  
Old July 19th, 2005, 05:28 PM
Kevin Goodsell
Guest
 
Posts: n/a
Default Re: creating mathematical graphics?

Thomas Matthews wrote:
[color=blue]
> Carl wrote:
>[color=green]
>> 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.
>>[/color]
>
> 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
>[/color]

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.

  #4  
Old July 19th, 2005, 05:28 PM
Alf P. Steinbach
Guest
 
Posts: n/a
Default Re: creating mathematical graphics?

On Sat, 13 Sep 2003 06:43:26 GMT, Carl <no_spam@yahoo.com> wrote:
[color=blue]
>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.[/color]

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/.

  #5  
Old July 19th, 2005, 05:29 PM
mjm
Guest
 
Posts: n/a
Default Re: creating mathematical graphics?

Carl <no_spam@yahoo.com> wrote in message news:<i0z8b.130381$ho5.2156908@news2.telusplanet.n et>...[color=blue]
> 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.[/color]


Check out gnu plotutils.
  #6  
Old July 19th, 2005, 05:30 PM
Chris Theis
Guest
 
Posts: n/a
Default Re: creating mathematical graphics?


"Alf P. Steinbach" <alfps@start.no> wrote in message
news:3f63719b.111346718@News.CIS.DFN.DE...[color=blue]
> On Sat, 13 Sep 2003 06:43:26 GMT, Carl <no_spam@yahoo.com> wrote:
>[color=green]
> >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.[/color]
>
> 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/.[/color]

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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.