[pstricks] psaxes and % at the end
robert.fischer10 at arcor.de
robert.fischer10 at arcor.de
Thu Aug 13 00:00:54 CEST 2009
Hello All,
I have recognized, that psaxes shifts objects below. Maybe sets a space or something else. Effect is not available, if % is set directly behind complete psaxes statement (or trivial case: using psaxes at the end of the picture).
What could be the effect of % at the end of a ps-statement ?
Example without Shift (node is exactly centered (2,-2))
\documentclass{minimal}
\usepackage{pst-pdf}
\usepackage{pst-3dplot}
\pagestyle{empty}
\begin{document}
\def\MRa{10mm}
\begin{pspicture}(-0.5,-4.5)(3.5,0.5)
\psgrid[gridcolor=gray,subgridcolor=lightgray]
%Axes
\psaxes[arrowinset=0,arrowscale=1.5,labels=none,
ticks=none]{->}(3,-4)[$x$,0][$y$,270]%
%Nodes
\cnode[linestyle=solid](2,-2){\MRa}{MyPointM1}
\end{pspicture}
\end{document}
Example with Shift (node is not centered (2,-2) more (2.1,-2))
\documentclass{minimal}
\usepackage{pst-pdf}
\usepackage{pst-3dplot}
\pagestyle{empty}
\begin{document}
\def\MRa{10mm}
\begin{pspicture}(-0.5,-4.5)(3.5,0.5)
\psgrid[gridcolor=gray,subgridcolor=lightgray]
%Axes
\psaxes[arrowinset=0,arrowscale=1.5,labels=none,
ticks=none]{->}(3,-4)[$x$,0][$y$,270]
%Nodes
\cnode[linestyle=solid](2,-2){\MRa}{MyPointM1}
\end{pspicture}
\end{document}
Best Regards,
Robert.
More information about the PSTricks
mailing list