I am new to plotting graphs in Visual C++. I want to use arrays as input for x- and y-axis coordinates. Please suggest some way of doing so. I have read the previous posts but I am finding gnuplot++ complex for plotting graphs.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
check these out:
http://koolplot.codecutter.org/ >> its only 2d plotting but might help you as you want an easy one.
http://mathgl.sourceforge.net/mathgl_en/mathgl_en_7.html >> mathgl, if your’e familiar with opengl, this becomes easy for you to use
http://www.astro.caltech.edu/~tjp/pgplot >> fortan c-callable graph plotter (please bear with me as stack overflow is preventing me from posting more than two hyperlinks)
if you have a lot of data, i mean seriously large then it might be worth trying to learn opengl as you’ll be direcly dealing with raster graphics.
one advantage is that you can set the viewport(how many pixels and how big) in common words you can deal with 100000*100000 points in your calculations but display it in a window of 500*500 pixels as a reduced image.
google opengl you’ll go to the website, i believe edward angel’s books are really good to learn and teach you only what you need.