Page 1 of 1
C# example of example plot EX16.GRF
Posted: Thu Jun 22, 2006 1:33 pm
by prairiewx
Does anyone have some code to generate the Example 16 plot in C#?
I'm having a tough time figuring out how to load static X,Y,Z values and then how to call the DPlot_Plot8 command to draw the contour surface.
I've been trying to modify test2, but haven't had any luck.
Any help would be greatly appreciated. Thanks.
Brian
Posted: Thu Jun 22, 2006 10:10 pm
by DPlotAdmin
I'm still a fish out of water with C# and can't figure out how to declare a fixed-size array (which for some reason seems to be a no-no) w/o getting syntax errors. I'm guessing that's the same problem you're having, because I'd think otherwise the example you mentioned would be perfect for what you're trying to do. If I've misunderstood please let me know.
Posted: Fri Jul 14, 2006 7:58 am
by glee
I can't say that I have any more experience with c# than either of you, but I am interested in learning how to use dplot with c#... somewhat confused by your reference to ex16, however, I can't seem to find an example with that label on the website.

Posted: Fri Jul 14, 2006 6:09 pm
by DPlotAdmin
There isn't one on the web site. That example graph is distributed with DPlot. On Windows 2000 and XP you should find ex16.grf in \My Documents\DPlot. On 95 and 98 that file will be found in the folder where DPlot is installed.
Posted: Fri Jul 14, 2006 9:44 pm
by glee
Ah. I don't have it. I assume then, that this is not distributed with DPlotJr?
Posted: Sat Jul 15, 2006 5:54 am
by DPlotAdmin
That's correct. (There would be no point, really, since DPlot Jr won't open a file.)