[pstricks] How to draw error bars in a diagram

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Mon Apr 28 17:33:00 CEST 2003


Martin Buchmann schrieb:

> So basically i would need something like make pstricks read data in the form:
> 
> x y dy- dy+

seems to be no problem, on the first view ... ;-)

> and plot the dot at (x,y) and the line from (x,dy-) to (x,dy+). Maybe
> dy- and dy+ are aquidistanced from y maybe not so it's nicer to have
> them both explicit. One could even think about an error range for x so
> that the input data would become:
> 
> x y dx- dx+ dy- dy+ 

hm, then
3 4 0 0 .2 .2

should be a dot at (3,4) and a line/rectangle from (3,3.8) to (3,4.2)?

not as easy as the first solution.

Herbert



More information about the PSTricks mailing list