[pstricks] Error in web example - dots with error bars

Boris Dušek borisdusek at cmail.cz
Mon Apr 3 16:55:43 CEST 2006


Hi,

I tried the example "Dots with error bars" (only the first one) and discovered 
that it disregards first line in data file. Solution is to prepend an empty 
comment to the file. Example:
<data file start>
0 2 0.5 -0.5 % this is not printed in the resulting plot
1 3 0.3 -0.4
</data file end>

should be changed to e.g.
<data file start>
%
0 2 0.5 -0.5 % this now gets printed in the resulting plot
1 3 0.3 -0.4
</data file end>

So suggestion - include "make first line of the data file an empty comment" 
notice somewhere in the docs - either at the relevant part of webpage, or at 
DotErrorBar.tex, or DotErrorBar.dat (or all).

Another note for those who will try to use this - linecolor of error bars is 
red and it is thick - if you would like it to reflect the current settings in 
your plot, delete on line 27 of DotErrorBar.tex the parts between brackets 
'[' and ']' (of course including the brackets :). Then is should look 
"normally" (you can probably toggle it by \psset{...} in your document if you 
want something extra).

Regards,
Boris Dusek



More information about the PSTricks mailing list