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 

Error Bars

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
bmatlin



Joined: 04 Mar 2004
Posts: 1

PostPosted: Thu Mar 04, 2004 10:55 am    Post subject: Error Bars Reply with quote

I am looking for documentation on how to set error bars, programatically. I am using VBA and would like to set a different error bar value for each data point.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


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

PostPosted: Thu Mar 04, 2004 11:23 am    Post subject: Reply with quote

In the Help file click the Index button, then on the Index tab type Error..., you'll see 'ErrorBar Command'. Click that entry and you get:

[ErrorBar(curve,display,type,param1,param2)]

The pertinent part in your case is:

"If type=3, param1 and param2 specify curve indices (1-based) to retrieve positive and negative error values from. If used, those curves are used only as error values and are not drawn."

So... if you want different error values at each data point, you need an additional "curve" with Y values equal to the error. X values for this curve are irrelevant; the first Y in the error curve will be used as the error value for the 1st point regardless of X. You can use the same fake curve for both the positive and negative errors.

Please let me know if I haven't answered your question.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions 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