[pstricks] psgraph and psgrid

Doris Wagner doris.wagner at mac.com
Thu Aug 20 18:47:55 CEST 2009


bereket,

the problem is, that _first_ the axes are drawn and second the grid;  
so I would use psaxes explicitely:

\documentclass{article}
\usepackage{pstricks,pstricks-add}
\begin{document}
\begin{pspicture}(-4,-2)(4,2)
\psgrid[gridcolor=lightgray,subgriddiv=1,gridlabels=0]

\psaxes(0,0)(-4,-2)(4,2)
\end{pspicture}

\end{document}




On 20.08.2009, at 14:49, bereket T wrote:

> \documentclass{article}
> \usepackage{pstricks,pstricks-add}
> \usepackage{multido}
>
> \begin{document}
>
> \begin{psgraph}(0,0)(-4,-2)(4,2){8cm}{!}
> \psgrid[gridcolor=lightgray,subgriddiv=1,gridlabels=0]
> \end{psgraph}
>
> \end{document}



More information about the PSTricks mailing list