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
Evaluating Teechart.Net : surface plot or trisurface plot ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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:
If X and Z values are not equidistant then you should use:
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);
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 |
Instructions - How to post in this forum |