Re: stupid text formatting question

• To: mathgroup at smc.vnet.net
• Subject: [mg45464] Re: stupid text formatting question
• From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
• Date: Fri, 9 Jan 2004 05:20:31 -0500 (EST)
• Organization: Universitaet Leipzig
• References: <bti2as\$a9t\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi,

and

p01data = (Select[
Transpose[Append[{a1, a2/a4}, Sqrt[a2]/a4]], #[[2]] > 0 &] )
/. {x_?
NumericQ, y_?NumericQ, err_?NumericQ} :> {{x, y},
ErrorBar[err]};

MultipleListPlot[p01data, SymbolShape -> {PlotSymbol[Box, Filled ->
False]}]

??

Regards
Jens

Nathan Moore wrote:
>
> Suppose I have a set of data,
>
> data= {{0.25, 54, 5, 62}, {0.35, 2878, 354, 3394}, {0.45, 21089, 3824, 27160}, {0.55, 59194, 12313, 79863}};
>
> that I split up into vectors,
>
> a1 = Transpose[data][[1]];
> a2 = Transpose[data][[2]];
> a3 = Transpose[data][[3]];
> a4 = Transpose[data][[4]];
> p01data = Select[Transpose[{a1, a2/a4}], #[[2]] > 0 &];
> p31data = Select[Transpose[{a1, a3/a4}], #[[2]] > 0 &];
>
> that I want to plot with the command,
>
> Show[
> MultipleListPlot[p01data, DisplayFunction->Identity,
>         SymbolShape->{PlotSymbol[Box,Filled->False]}],
> MultipleListPlot[p31data, DisplayFunction->Identity,
>         SymbolShape->{PlotSymbol[Triangle,Filled->False]}],
> PlotRange->All,Frame->True,Axes->False,
> DisplayFunction->\$DisplayFunction
> ]
>
> All of this works.  I wish to include an estimated Poisson Error, given in column format,
>
> myestimatederror01=Sqrt[a2]/a4;
> myestimatederror01=Sqrt[a3]/a4;
>
> I know that the ErrorBar command is used to include this error bar in the style of:
> {{x,y},ErrorBar[error]}, but I can't get the command which would do this to a vector to work properly.
>
> I think the following should work, It doesn't - what should I use instead?
>
> p01data = Select[Transpose[{{a1, a2/a4},ErrorBar[Sqrt[a2]/a4] }], #[[2]] > 0 &];
> p31data = Select[Transpose[{{a1, a3/a4},ErrorBar[Sqrt[a3]/a4] }], #[[2]] > 0 &];
>
> Nathan Moore

```

• Prev by Date: Re: Re: Palette rememberance
• Next by Date: Definitive Mathematical Functions Site Now Online
• Previous by thread: Re: stupid text formatting question
• Next by thread: Re: Palette rememberance