Evaluating Teechart.Net : surface plot or trisurface plot ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Da Vinci
Newbie
Newbie
Posts: 7
Joined: Sun Dec 02, 2001 5:00 am
Location: Belgium

Evaluating Teechart.Net : surface plot or trisurface plot ?

Post by Da Vinci » Tue Oct 18, 2005 3:33 pm

Hello,

I want to make a surface plot or a trisurface plot, but didn't succeed.
The data is imported from a textfile. Sometimes I get an error 'similar points found', but if you look into the file, there are no similar points.

Can anybody try this out ?

Thanks.

Find the file and error at : http://download.hemmis.be/download/teechartfiles.zip

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

Post by Narcís » Wed Oct 19, 2005 2:27 pm

Hi Da Vinci,

I haven't been able to reproduce the error you reported. Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.

Also notice that the most important thing you have to care about when using surface series and derived styles is its structure. Those series work like a matrix where the cells are defined by X (rows) and Z (columns) values and each cell value is determined by Y values. You have to design your series as being able to be populate by a for nested loop as:

Code: Select all

         for (int x=0; x<10; ++x) 
            for (int z=0; z<10; ++z) 
               if (x % 2 == 0) 
                  surface1.Add(x,x*z,z);
If X and Z values are not equidistant then you should use:

Code: Select all

         surface1.IrregularGrid=true; 
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