Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 ContourDataset Constructor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

emcc

15 Posts

Posted - 06 Dec 2006 :  05:05:16  Show Profile  Reply with Quote
Does the ContourDataset constructor
ContourDataset(string, Point3d[], int, int)
for regular grid data do anything else other than set the x, y, and z data arrays? I was wondering because I had set up a ContourPlot and drawn it OK; then changed the dataset values using SetDataPoint, and then used InitContourPlot to update the contour plot (using UpdateDraw). However the contours were not updated, although the dataset values were.
Should I always use the constructor to modify the ContourDataset values?

quinncurtis

1164 Posts

Posted - 06 Dec 2006 :  09:12:46  Show Profile  Reply with Quote
The ContourDataset constructor does the actual triangularization of the data points and creates a polysurface that is displayed by the contour plot routines. Changing the underlying data points of the dataset does not force a polysurface to be create. So you would have to use the ContourDataset constructor each time, and connect the new ContourDataset to the ContourPlot using the ContourPlot.SetDataset(...) method.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07