How do I plot?

Can any one give me a simple example to plot a 2-d graph?

I need x-axis and y-axis to plot a vector of stock prices and a vector of time.

The easiest way is to store your output in a .csv file using DOS (if you got windows), then open it in excell using import data. But i guess that isnt what you want.

I dont believe there is a way to do that using the standard libary's, aldo i could be wrong, i'm not familiair with grafics at all in c++ (not yet). Maybe this will help:

http://home.no.net/dubjai/win32cpptut/html/w32cpptut_01.html

In the chapter "how to use libarys" they explain how to install and use a certain libary, and with that libary you can plot :)
Last edited on
Topic archived. No new replies allowed.