[pstricks] Errorbars in a logarithmic diagram
hendrik.hoeth at cern.ch
Wed Oct 17 17:49:14 CEST 2007
I have _lots_ (hundreds) of such plots in my thesis and wrote a python
script that reads ASCII data files and auto-creates pstricks code and a
ps/pdf document. Then I included the pdf files in my thesis. For me this
method had the advantage that I could put the raw data in the .dat files
and didn't have to worry about any scaling, coordinate systems etc.
within pstricks. You find the script at
and a few real-life examples in
Most of the available options for the ASCII data files can be found in
(I used this to auto-generate the data files from within my analysis
Your data points would look like this:
And running "python make_plot.py martin.dat" results in this ps-file:
Have a look at the example files to see how functions can be included in
the plots. Here again: No worrying about scaling and getting the
coordinate systems right. Just specify the function as python code using
the real numbers.
If you have any questions on the usage, feel free to ask.
Those who give up essential liberties for temporary safety
deserve neither liberty nor safety. -- Benjamin Franklin
More information about the PSTricks