SHARE
TWEET

Untitled

a guest Jul 16th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % !TeX program = xelatex
  2.  
  3. documentclass{scrartcl}
  4. usepackage{pstricks}
  5. usepackage{pst-plot}
  6. begin{document}
  7.  
  8. begin{pspicture}(-1,-3)(3,2.4)
  9. psaxes[ylabelPos=right](0,0)(3,3.4)
  10. rput(2,1){position ok}
  11. psline[linecolor=red,ylabelPos=right](0,0)(0,-1)(1,-1)
  12. end{pspicture}
  13. %
  14. begin{pspicture}(-1,-3)(3,2.4)
  15. psaxes[yLabels={A,B,C,D},ylabelPos=right](0,0)(3,3.4)
  16. rput(2,1){position not ok}
  17. rput(2,0.5){labels on left side}
  18. psline[linecolor=red](0,0)(0,-1)(1,-1)
  19. end{pspicture}
  20.  
  21. begin{pspicture}(-1,-3)(3,2.4)
  22. psaxes[ylabelPos=right,Oy=-1](0,-1)(3,2.4)
  23. psline[linecolor=red](0,0)(0,-1)(1,-1)
  24. rput(2,1){position ok}
  25. end{pspicture}
  26. %
  27. begin{pspicture}(-1,-3)(3,2.4)
  28. psaxes[yLabels={A,B,C,D},ylabelPos=right](0,-1)(3,2.4)
  29. psline[linecolor=red](0,0)(0,-1)(1,-1)
  30. rput(2,1){position not ok}
  31. rput(2,0.5){labels on left side}
  32. rput(2,0){and shifted down}
  33. end{pspicture}
  34.  
  35. Red Corner for Reference Position
  36. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top