Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Error Bars in ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4364] Re: Error Bars in ListPlot
  • From: welter at .ti.com (Jason Welter)
  • Date: Mon, 15 Jul 1996 05:31:02 -0400
  • Organization: Texas Instruments
  • Sender: owner-wri-mathgroup at wolfram.com

In article <4q09du$fiu at dragonfly.wolfram.com>, jj8a at faraday.clas.virginia.edu says...
>
>Hi,
>
>Here is a question.  I did a triplicate set of experiments (y
>axis is the experimental value which is slightly different for
>diff sets because of the error in the method).  I
>am using ListPlot to show the data points amd Plot to show the
>results of the Fitted curve.  I combine both these graphs using
>Show[plot1,plot2] command.  Perfect.  Now what I want to do is 
>Plot the mean of the experimental value (y coordinates) at the same
> time show the error bars associated with each point and the
>fitted line on the same graph.  Can anybody give me a hand here
>please?

Jason,

I used the same technique to plot data and their error bars.  Just add
the plot3 statement and include the multiplelistplot.m package.

plot1 = ListPlot[data,Axes->True,Prolog->AbsolutePointSize[2],
     PlotJoined->True,AxesLabel->{GPO,""},DisplayFunction -> Identity];

plot2 = Plot[Fit[data,{x,0,10}],Axes->True,Prolog->AbsolutePointSize[2],
     AxesLabel->{GPO,""},DisplayFunction -> Identity];

plot3 = ErrorListPlot[Map[Append[#,error]&,data],
     DisplayFunction -> Identity,AxesLabel->{GPO,""}];
a = Show[plot1,plot2,plot3];

Jason


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: c code generation
  • Next by Date: hiding definitions
  • Previous by thread: Re: y-axis direction
  • Next by thread: hiding definitions