[pstricks] Problems with uput and origin

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Sat Feb 26 21:57:25 CET 2005


Manuel Toniato wrote:

> Yesterday in an Italian ML on latex, I have been adviced to use pstricks to draw all the graphs in my thesis.
> So I began to use pstricks and I'm enthusiastic about this package.
> However, I have some problems using uput* after changing origin.

yes, this seems to be a bit buggy. However, I do not really understand
why you need the origin option here. You can put all PSTricks
objects with \rput.

Herbert


\documentclass[12pt]{article}
\usepackage{pstricks}
\usepackage{pst-plot}%
\parindent=0pt
\begin{document}

\psset{unit=5pt,dotsize=1pt,griddots=1,subgriddiv=0,gridlabels=0}
\begin{pspicture}(-15,-15)(15,15)
\psgrid(0,0)(-15,-15)(15,15)
\rput(5,5){
   \psaxes[labels=none,ticks=none]{->}(0,0)(-15,-15)(15,15)
   \uput*{5pt}[0](15,0){x}
   \uput*{5pt}[90](0,15){y}
}
\end{pspicture}

\begin{pspicture}(-15,-15)(15,15)
\psgrid(0,0)(-15,-15)(15,15)
\psaxes[labels=none,ticks=none]{->}(0,0)(-15,-15)(15,15)
\uput*{5pt}[0](15,0){x}
\uput*{5pt}[90](0,15){y}
\end{pspicture}
%
\end{document}

-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list