DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB.NET; difference between XYXY and XYYY graphs

 
Post new topic   Reply to topic    DPlot Forum Index -> Basic
View previous topic :: View next topic  
Author Message
oystein



Joined: 02 Feb 2006
Posts: 2

PostPosted: Thu Feb 02, 2006 12:52 pm    Post subject: VB.NET; difference between XYXY and XYYY graphs Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Thu Feb 02, 2006 5:42 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
oystein



Joined: 02 Feb 2006
Posts: 2

PostPosted: Fri Feb 03, 2006 2:28 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Basic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group