Page 1 of 1

VB.NET; difference between XYXY and XYYY graphs

Posted: Thu Feb 02, 2006 12:52 pm
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

Posted: Thu Feb 02, 2006 5:42 pm
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.

Posted: Fri Feb 03, 2006 2:28 am
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