[pstricks] Missing grid line
Poul Riis
Poul.Riis at skolekom.dk
Sun Jan 13 18:22:19 CET 2013
I think I have asked this question a couple of years ago but I still don't
understand why there is one vertical and one horizontal grid line missing
on the last figure resulting from the tex-file below (where I draw the
frame manually) but not on the first one (where the frame is drawn by
setting axesstyle=frame).
Poul Riis
\documentclass[a4paper,12pt]{article}
\usepackage[x11names]{xcolor}
\usepackage{pstricks-add}
\usepackage{geometry}
\pagestyle{empty} \topmargin=-3cm \textwidth=20cm
\textheight=29.5cm \hoffset=-2.65cm \tolerance=5000 \hbadness=5000
\pretolerance=2500
\parindent = 0em
\begin{document}
\psset{unit=10cm}
\begin{pspicture}(-1,-1.4)(1,1.4)
\psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=none,xticksize=-1.4 1.4,
yticksize=-1 1,subticks=5,
xsubticksize=1,ysubticksize=1,tickcolor=Green4,subtickcolor=LightSalmon4,axesstyle=frame]{->}(0,0)(-1,-1.4)(1.0,1.4)
\psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=all,xticksize=-0.3mm
0mm,yticksize=-0.3mm 0mm]{->}(0,0)(-1,-1.4)(1,1.4)
\end{pspicture}
\begin{pspicture}(-1,-1.4)(1,1.4)
\psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=none,xticksize=-1.4 1.4,
yticksize=-1 1,subticks=5,
xsubticksize=1,ysubticksize=1,tickcolor=Green4,subtickcolor=LightSalmon4]{->}(0,0)(-1,-1.4)(1.0,1.4)
\psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=all,xticksize=-0.3mm
0mm,yticksize=-0.3mm 0mm]{->}(0,0)(-1,-1.4)(1,1.4)
\psline[linewidth=0.4pt,linecolor=Green4](-1,1.4)(1,1.4)(1,-1.4)(-1,-1.4)(-1,1.4)
\end{pspicture}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20130113/47592e09/attachment.html>
More information about the PSTricks
mailing list