[pstricks] Request for a psgraph option
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Sun Mar 2 10:32:23 CET 2008
Vincent McGarry schrieb:
> I find psgraph very flexible for the large number of same size graphs
> I have to create, with differing x and y scales. I am preparing a
> document for a publisher where about half of the graphs will need to
> be printed with a gray-scale grid. setgrid called after psgraph draws
> the grid on top of the axes drawn by psgraph.
>
> The following modification to pstrocks-add works as I need it.
>
\define at boolkey[psset]{pstricks-add}[Pst@]{setgrid}[true]{}
\psset[pstricks-add]{setgrid=false}
> \bgroup%
> \use at par%
\ifPst at setgrid
\setgrid(!#3 ceiling #4 ceiling)(!#5 floor #6 floor) <--- Added
\fi
> \psaxes(#1,#2)(#3,#4)(#5,#6)%
> \egroup%
Herbert
More information about the PSTricks
mailing list