Contour with custom axis values

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
VarUser
Newbie
Newbie
Posts: 23
Joined: Mon Sep 15, 2008 12:00 am

Contour with custom axis values

Post by VarUser » Mon Jul 27, 2009 5:16 am

Hi,

I have Data with frequency and their intensities to draw the contours so when I provide the no of points in X-axis and z-axis, we are able to draw the contours but when we provide the frequency in x-axis and z-axis we don't find any contours drawn on tchart.

for example floowing works,

countour.Add(bIndx, YData[bIndx][dIndx]), dIndx);

but following doesn't work,

countour.Add(XData[bIndx], YData[bIndx][dIndx], ZData[dIndx]);
where XData and ZData having data of frequencies of type double


can you please help on this?

Thanks & regards,
Ripal

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

Re: Contour with custom axis values

Post by Narcís » Mon Jul 27, 2009 8:59 am

Hi Ripal,

First of all please notice that such series data should follow the grid structure I described here. Then the Contour series will generate necessary levels. Having said so, you may need to set Contour's IrregularGrid property to true.

If this doesn't help please attach a simple example project we can run "as-is" to reproduce the problem here.

Thanks in advance.
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