Page 1 of 1

How to plot x-y array data?

Posted: Mon Nov 28, 2005 10:10 am
by 9529132
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!

Posted: Mon Nov 28, 2005 10:38 am
by narcis
Hi David_Lin,

Yes, you could use AddArray method as you can see int he example at C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Control\Examples\Visual C++\Version 6\Add data arrays (Deafult English installation path).

You may also be interested in the Fast Dynamic Arrays example and the other examples at "All Features\Welcome!\Speed" in the TeeChart features demo.