VB.NET; difference between XYXY and XYYY graphs

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot

Moderator: DPlotAdmin

Post Reply
oystein
Posts: 2
Joined: Thu Feb 02, 2006 12:43 pm

VB.NET; difference between XYXY and XYYY graphs

Post by oystein »

Hi,

I'm trying to use DPLOT Jr. to display a number of curvers with different x-axis', using VB.NET. Displaying 2 graphs using XYYY-mode works fine. (both using f.ex 50X & 100Y points , AND using 100X & 100Y points)
If i change to XYXY-mode, DPLOT displays nothing (no error-.messages)

Is there a bug using XYXY-mode from vb.net, or du I have to set anything differently when using XYXY-plots compared to XYYY-plots?




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

Post by DPlotAdmin »

XYXY is unique X values for every curve, with (possibly, but not necessarily) a different number of points in each curve. You must supply an X array for each curve (whether they are actually unique or not). If all you're doing is changing the data type and not providing additional X values, that's the problem.
Visualize Your Data
support@dplot.com
oystein
Posts: 2
Joined: Thu Feb 02, 2006 12:43 pm

Post by oystein »

Hi, and thanks for the quick reply!

I found the problem myself; I forgot to specify number of points in second plot....:

d_plot.NP(0) = 500
d_plot.NP(1) = 500


-øystein
Post Reply