[pstricks] latex->dvips->ps2pdf->pdflatex

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 24 18:37:57 CEST 2009

David Arnold schrieb:
> Herbert et al,
> I am afraid I just don't understand what is going on with this psgraph.

as I already wrote, use the postscript environment for all stuff
which isn't inside a pspicture and psmatrix environment:





The following bar chart show the average price (in cents) of one gallon
of regular gasoline in the United States over five consecutive weeks in
2009, running from May 18 through June 22.

5/18, 5/25, 6/1, 6/15, 6/22
230, 243, 252, 267, 269

\psset{xAxisLabel={Date (2009)},xAxisLabelPos={c,-0.3in},
     yAxisLabel={PPG Regular Gasoline},yAxisLabelPos={-0.5in,c}}
\psbarscale(1){220 sub}

What was the price (in cents) of one gallon of regular gasoline on June
1, 2009?


this works for me with pdflatex -shell-escape ...


More information about the PSTricks mailing list