|T O P I C R E V I E W
||Posted - 07 Mar 2011 : 04:30:34
I'm having trouble to customize the shape of my contour plot. I would like to show zones in the form of squares like i was doing with the C++ library (picture below).
But with the C# library, with the code below, the polygones of my contour are triangles,but i prefer squares or rectangles.
Is it possible to customize the shape of my contour's polygones with the C# library?
Carto3D._ContourLevel.Length - 1,
_thePlot.SetContourPlotAttributes(Carto3D._ContourLevel, attributes, Carto3D._ContourLevel.Length - 1, 1);
My graph in C#:
Thanks a lot
|1 L A T E S T R E P L I E S (Newest First)
||Posted - 07 Mar 2011 : 09:42:10
Sorry, but the QCChart3D software does not have option you describe.
Exactly which software package did you use to create your picture. Was it our 3D++ software, or the even older Science, Engineering and Graphics Tools?
Rectangles are not optimal for contour interpolation, because unlike a triangle, a rectangle does not define a plane. There is often ambiguity on how a contour passes through a rectangle because it does not have to be planar. Also, a rectangle can only be used with surfaces defined by an evenly spaced grid, while triangles can be used on the more common case where the contour surface is not defined by an evenly spaced grid. There is never an ambiguity with a triangle. So our current software uses triangles for contour interpolation. Even when you define your data using an evenly spaced grid, as in your example, the software still defines the surface using triangles. There is no way to change it to use rectangles.