Page 1 of 1

3D Random Points with No Variation in Z

Posted: Tue May 16, 2006 9:10 am
by meany
I'm producing contour plot "slices" of a single plane from a 3D space through DDE. I send over only the data for the plane I wish to see at the time. Sometimes, the triplets of the plane I send to DPlot have no variation in the Z value. I send ManualScale and CustomColors commands that deal with the whole 3D space, but on any particular plane, I can have this no variation case, which causes DPlot pop an error box. Is there any way I can get DPlot to plot the color value associated with that non-variant Z-value? I know it's a solid colored rectangle, but it's meaningful to my users!

Posted: Tue May 16, 2006 10:13 am
by DPlotAdmin
That check is just a lazy way of avoiding divide by zero errors when figuring out which colors to use. There's no way to do what you want in the current version, but I'll change this in the next revision.

Posted: Tue May 16, 2006 10:24 am
by DPlotAdmin
PS: If you're in a hurry, though, you can get around this limitation by adding a point or two that is outside the extents you're interested in and that has a different Z value.

Posted: Tue May 16, 2006 11:50 am
by meany
Thanks for your quick responses, as usual! I'll use the temporary solution and wait for the next release for the complete fix.