Page 1 of 1

Contour with custom axis values

Posted: Mon Jul 27, 2009 5:16 am
by 14050297
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

Re: Contour with custom axis values

Posted: Mon Jul 27, 2009 8:59 am
by narcis
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.