C# example of example plot EX16.GRF

Q&A for C, C++, and/or C# developers using DPlot
Post Reply
prairiewx
Posts: 1
Joined: Thu Jun 22, 2006 1:28 pm

C# example of example plot EX16.GRF

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
glee
Posts: 2
Joined: Fri Jul 14, 2006 7:52 am

Post 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.

:roll:
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
glee
Posts: 2
Joined: Fri Jul 14, 2006 7:52 am

Post by glee »

Ah. I don't have it. I assume then, that this is not distributed with DPlotJr?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

That's correct. (There would be no point, really, since DPlot Jr won't open a file.)
Visualize Your Data
support@dplot.com
Post Reply