Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

ErrorListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114600] ErrorListPlot
  • From: Matteo N <matteo_nobili at hotmail.com>
  • Date: Fri, 10 Dec 2010 02:28:10 -0500 (EST)

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: ErrorListPlot question
  • Next by Date: Help me find a probability distribution
  • Previous by thread: ErrorListPlot question
  • Next by thread: Re: ErrorListPlot