I see that there are several C++ libraries which can be used to plot data... However, I can't seem to find one that isn't out of date. I've managed to get all the data I need using Visual C++ 2010, but I can't plot it :0 lol...
*koolplot
*gnnuplot++
*ch plot
I have googled away, but I'm still stuck on the plotting part. There is always the option to send data to Excel or Matlab... but honestly I want to go for a relatively simple approach (if there is one). Most of what I want to plot relates to stock price data and volatility. Any suggestions on the best way to learn plotting in Visual C++?
Cheers
You can just hang outside in the sun all day tossing a ball around. Or you can sit at your computer and do something that matters...
According to this, the latest version is 4.6. It was released just a few months ago.
Any suggestions on the best way to learn plotting in Visual C++?
What do you mean by "learn plotting"? C++ is a general computer language, and Visual C++ is the brand of C++ compiler created by Microsoft. So how does your question fit?
I need to be able to produce graphs using something like gnuplot (though I'm open to suggestions), but automated through Visual C++ 2010. I have tried using gnuplot++ (http://www.suiri.tsukuba.ac.jp/~asanuma/gnuplot++/) but I haven't been getting any love from it.
My basic question is this:
1) Has someone here been successfully able to automate the production of graphs through Visual C++ (either by calling on something like gnuplot, matlab, or anything else)?
2)What is the most simple (hopefully) way to automate the production of these graphs?
Cheers
You can just hang outside in the sun all day tossing a ball around. Or you can sit at your computer and do something that matters...
I need to be able to produce graphs using something like gnuplot (though I'm open to suggestions), but automated through Visual C++ 2010. I have tried using gnuplot++ (http://www.suiri.tsukuba.ac.jp/~asanuma/gnuplot++/) but I haven't been getting any love from it.
It would help if you told us what the problems is. The samples look very straightforward to me, and I've never used gnuplot.
1) Has someone here been successfully able to automate the production of graphs through Visual C++ (either by calling on something like gnuplot, matlab, or anything else)?
Of course persons have used gnuplot and Matlab in their C/C++ programs. The real issue is that we have no idea what your level of expertise in programming is.
Any of these libraries you mention assume that as a prerequisite, you know the C or C++ language -- not in passing, but actually know how to use it. If you only have limited knowledge of these languages, then no API is going to help you.
For example, my company creates API's to interface to scanners, and the problem we have many times is that the persons using our API's do not know C or C++ language well enough to use the API's properly.
Thanks for your replies. I will give the shell execute command a try - looks promising :-) I am just learning C++. Usually I code in VBA - gathering data from a database or the internet, running calculations and then doing some plots of the results.
The plotting is really what I found hard - basically because I'm not sure where to start with the plotting and want to go with the most efficient approach - looking for pointers I guess :-)
I've executed APIs in VBA before - mostly the urldownloadtofile, shellexecute and the like - but I can't say that I have an in depth knowledge of them.
Cheers.
You can just hang outside in the sun all day tossing a ball around. Or you can sit at your computer and do something that matters...
Bookmarks