Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % !TeX program = xelatex
- documentclass{scrartcl}
- usepackage{pstricks}
- usepackage{pst-plot}
- begin{document}
- begin{pspicture}(-1,-3)(3,2.4)
- psaxes[ylabelPos=right](0,0)(3,3.4)
- rput(2,1){position ok}
- psline[linecolor=red,ylabelPos=right](0,0)(0,-1)(1,-1)
- end{pspicture}
- %
- begin{pspicture}(-1,-3)(3,2.4)
- psaxes[yLabels={A,B,C,D},ylabelPos=right](0,0)(3,3.4)
- rput(2,1){position not ok}
- rput(2,0.5){labels on left side}
- psline[linecolor=red](0,0)(0,-1)(1,-1)
- end{pspicture}
- begin{pspicture}(-1,-3)(3,2.4)
- psaxes[ylabelPos=right,Oy=-1](0,-1)(3,2.4)
- psline[linecolor=red](0,0)(0,-1)(1,-1)
- rput(2,1){position ok}
- end{pspicture}
- %
- begin{pspicture}(-1,-3)(3,2.4)
- psaxes[yLabels={A,B,C,D},ylabelPos=right](0,-1)(3,2.4)
- psline[linecolor=red](0,0)(0,-1)(1,-1)
- rput(2,1){position not ok}
- rput(2,0.5){labels on left side}
- rput(2,0){and shifted down}
- end{pspicture}
- Red Corner for Reference Position
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement