Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 QCChart3D 3D Charting Tools for .Net (VB and C#)
 Differences between C++ library and C# library

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
gcestier Posted - 07 Mar 2011 : 04:30:34
Hi,

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?


_thePlot.InitContourPlot(
_dataset,
Carto3D._ContourLevel,
_attributes,
_lineFlags.ToArray(),
_labelFlags.ToArray(),
Carto3D._ContourLevel.Length - 1,
ChartObj.CONTOUR_LINEANDFILL);
_thePlot.SetUpdateFlag(true);
_thePlot.SetContourPlotAttributes(Carto3D._ContourLevel, attributes, Carto3D._ContourLevel.Length - 1, 1);
_thePlot.SetPolygonGridOn(true);
_thePlot.SetContourLineAlgorithm(ChartObj.CONTOUR_LINEWALK);

My graph in C#:


Thanks a lot
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis 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.


Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07