Page 1 of 1

Contour Levels

Posted: Thu Aug 03, 2006 9:16 am
by cdimaria
I have created a 3d scatter plot from some data representing various thicknesses. The data group has an aim thickness along with a min and max. I would like to set up the contour levels so that if a value is above the max it is represented by one color, below the min it would be a second color and if between min/max it would be a third color. Is this possible? If yes, how?

Posted: Thu Aug 03, 2006 9:37 am
by DPlotAdmin
Yes, it is possible, though not as direct as you'd probably like and the legend will show values you don't necessarily care about.

Right-click on your plot and select Scatter Plot Options. Under Color Based On select Z value. Set Intervals to 3. For the lower limit use min - (max-min). For the upper limit use max + (max-min). This will result in the middle level ranging from min to max. As mentioned above, the legend will show the lower and upper limits; if you want to delete those labels you'll unfortunately need to edit an image of the plot in a paint program.

Posted: Thu Aug 03, 2006 9:42 am
by cdimaria
David,

Thanks for the quick reply. I'm generating the plots in .NET2005 and displaying them on a picturebox. Are there cooresponding commands I can send? Sorry if this is obvious, I'm a newbie for this product. BTW, great stuff! I've been looking for weeks for something like this.

Posted: Thu Aug 03, 2006 10:29 am
by DPlotAdmin
Thanks for your comments.

[ColorBasis(0)] bases colors on Z value.
[ContourLevels(numlevels,lo,hi)] assigns contour levels to Z values. You want numlevels=3, lo=min-(max-min), and hi=max+(max-min)