Mathematica 9 is now available
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: Help with ErrorListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3240] Re: Help with ErrorListPlot
  • From: welter at texoma.com (Jason Welter)
  • Date: Tue, 20 Feb 1996 03:22:03 -0500
  • Organization: Internet Texoma, Inc.
  • Sender: owner-wri-mathgroup at wolfram.com

Edmond,

Here's an example of ErrorListPlot that I know works.  It is also an
example of MultipleListPlot.  I have three lines, with error bars
plotted together.

When you call graphics.m you must have two packages preloaded
GraphicsCommon.m and FilterOptions.m.  I had problems until I made
sure the graphics.m package had access to them.

I use Mathematica 2.2.3 on NT for Intel processors.  

If it still doesn't work post the error message, your function or
both.

Jason

-----------------------------Example Code-----------------------------

<<"d:\\math\\packages\\graphics\\graphics.m"
<<"d:\\math\\packages\\graphics\\multiple.m"

dataref1={{0,0.09828207},{10,0.1008362},{20,0.1181686},{30,0.1292913},{40,0..13991},{50,0..1538562}};
dataref2={{0,0.08513423},{10,0.08597991},{20,0.09261993},{30,0.1012784},{40,0..1078962},{50,0..1221314}};
dataref3={{10,0.0861907},{20,0.09593774},{30,0.09044189},{40,0.09359638},{50,0..09501882}};
errorref= 0.02/2;

temp1 = ListPlot[dataref1,Axes->True,Prolog->AbsolutePointSize[2],
        PlotJoined->True,AxesLabel->{GPM,"S11 at 5
Ghz"},DisplayFunction -> Identity];
temp2 = ErrorListPlot[Map[Append[#,errorref]&,dataref1],
       DisplayFunction -> Identity,AxesLabel->{GPM,"S11 at 5 Ghz"}];
temp3 = ListPlot[dataref2,Axes->True,Prolog->AbsolutePointSize[2],
        PlotJoined->True,AxesLabel->{GPM,"S11 at 5
Ghz"},DisplayFunction -> Identity];
temp4 = ErrorListPlot[Map[Append[#,errorref]&,dataref2],
       DisplayFunction -> Identity,AxesLabel->{GPM,"S11 at 5 Ghz"}];
temp5 = ListPlot[dataref3,Axes->True,Prolog->AbsolutePointSize[2],
        PlotJoined->True,AxesLabel->{GPM,"S11 at 5
Ghz"},DisplayFunction -> Identity];
temp6 = ErrorListPlot[Map[Append[#,errorref]&,dataref3],
       DisplayFunction -> Identity,AxesLabel->{GPM,"S11 at 5 Ghz"}];

b = Show[temp1,temp2,temp3,temp4,temp5,temp6];

Show[GraphicsArray[{b}]]

---------------------------End of Code--------------------------------

Edmond <underwoe at Colorado.Edu> wrote:

>Does anyone know how to get ErrorListPlot[{{x,y,dy}}] going?  I have version
>2.2 on Solaris and Next, and I have version 2.1 under NT.  It's not in the
>standard package, so I load the graphics package with
>Needs["Graphics`Graphics`"].  After loading the package, it still doesn't graph
>my plot.  It doesn't recognize it as a function.  Does anyone know how to make
>this work?  Your answers are greatly appreciated (e-mail if you could as this
>is the first time I've ever posted to this group and wouldn't be able to get
>around to it very often).







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


  • Prev by Date: mathHDF on a PowerPC?
  • Next by Date: Re: Help with ErrorListPlot
  • Previous by thread: Re: Help with ErrorListPlot
  • Next by thread: Re: Help with ErrorListPlot