MathGroup Archive 2010

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

Search the Archive

ErrorListPlot question

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

hi,i'm working on mathematica6 for a university project but I'm not
able to add the error bars on my graphic and I tried all the methods I
found here and on the documentation center.
Any suggestions?

In[7]:= uv =  Import["C:\\Users...\\UVvsP.txt", "Table"]

Out[7]= {{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}}

plot1 = ListPlot[uv,
  PlotStyle -> {ColorData["Atoms"]["Rn"], PointSize[0.0075]},
Background -> Automatic, Frame -> True,  FrameLabel -> {"u0","u1"},
ImageSize -> 750,   BaseStyle -> {FontSize -> 12},  PlotRange -> {{0,
35}, {0, 40}}]

the errors are:

In[66]:= std =  List[std1, std11, std2, std3, std4, std5, std6, std7,
std8, std9,   std10]

Out[66]= {{0.11546}, {0.172735}, {0.155253}, {0.202717}, {0.225909},
{0.247799}, {0.245942}, {0.262121},{0.278212}, {0.306754},{0.541941}}

The solution I'm looking for is something similar to         errdata =
Map[Append[#, 0.1] &, uv]      output but I want to replace 0.1 with
std1,std2....
I hope you can help me
Kind regards
Matteo




  • Prev by Date: Re: Are these bugs fixed in Mathematica 8 ?
  • Next by Date: ErrorListPlot
  • Previous by thread: Re: How to invert a function of several variables?
  • Next by thread: ErrorListPlot