MathGroup Archive 2010

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

Search the Archive

Re: ErrorListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114645] Re: ErrorListPlot
  • From: David Annetts <david.annetts at iinet.net.au>
  • Date: Sat, 11 Dec 2010 01:55:28 -0500 (EST)

Hi Matteo,

Did you load the package ErrorBarPlots?

D

On 10/12/2010 15:28, Matteo N wrote:
> I don't understand why it doesn't work, any suggestions?
> In[241]:= uv
> Out[241]= {{5.2, 5.84}, {7.6, 8.24}, {9.6, 10.95}, {12.9,   14.33},
> {15.2, 17.04}, {17.9, 20.03}, {20.8, 23.33}, {22.7, 25.57}, {25.5,
> 28.8}, {27.9, 31.58}, {30.5, 34.3}}
>
> In[281]:= std
> Out[281]= {{0.05, {0.11546}}, {0.05, {0.172735}}, {0.05, {0.155253}},
> {0.05, {0.202717}}, {0.05, {0.225909}}, {0.05, {0.247799}}, {0.05,
> {0.245942}}, {0.05, {0.262121}}, {0.05, {0.278212}}, {0.05,
> {0.306754}}, {0.05, {0.541941}}}
>
> In[283]:= Transpose[{uv, Map[ErrorBar, std]}]
> Out[283]= {{{5.2, 5.84}, ErrorBar[{0.05, {0.11546}}]}, {{7.6, 8.24},
> ErrorBar[{0.05, {0.172735}}]}, {{9.6, 10.95},
>    ErrorBar[{0.05, {0.155253}}]}, {{12.9, 14.33},   ErrorBar[{0.05,
> {0.202717}}]}, {{15.2, 17.04},
>    ErrorBar[{0.05, {0.225909}}]}, {{17.9, 20.03},   ErrorBar[{0.05,
> {0.247799}}]}, {{20.8, 23.33},
>    ErrorBar[{0.05, {0.245942}}]}, {{22.7, 25.57},   ErrorBar[{0.05,
> {0.262121}}]}, {{25.5, 28.8},
>    ErrorBar[{0.05, {0.278212}}]}, {{27.9, 31.58},   ErrorBar[{0.05,
> {0.306754}}]}, {{30.5, 34.3},
>    ErrorBar[{0.05, {0.541941}}]}}
>
> ErrorListPlot[Transpose[{uv, Map[ErrorBar, std]}], ImageSize ->  1000,
> PlotRange ->  {{0, 35}, {0, 40}}]
>
> thanks
> Matteo
>


  • Prev by Date: Question: Compile in Mathematica 8.0
  • Next by Date: Re: Replacement Rule with Sqrt in denominator. Also Bug in Series; see Semantica / Harris solution
  • Previous by thread: ErrorListPlot
  • Next by thread: Re: ErrorListPlot