How to plot x-y array data?
Posted: Mon Nov 28, 2005 10:10 am
Hi, there,
I have two series of data: one is the x values, the other is the corresponding y values, and the data is one-to-one. How to plot the x-y figure effectively if the number of x and y are big, say around 1million? For example, if x is a series of degree from zero to 360 with a step of 1/10000 degree and y=sin(x). Is there any way to do it other than adding one data at a time? (C++ code preferred) Thank you very much!
I have two series of data: one is the x values, the other is the corresponding y values, and the data is one-to-one. How to plot the x-y figure effectively if the number of x and y are big, say around 1million? For example, if x is a series of degree from zero to 360 with a step of 1/10000 degree and y=sin(x). Is there any way to do it other than adding one data at a time? (C++ code preferred) Thank you very much!