How to plot x-y array data?

TeeChart for ActiveX, COM and ASP
Post Reply
David
Advanced
Posts: 203
Joined: Tue Nov 08, 2005 5:00 am

How to plot x-y array data?

Post by David » 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!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Nov 28, 2005 10:38 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply