[pstricks] Not resorting to my calculator

Juergen Gilg gilg at acrotex.net
Sun Dec 14 19:53:55 CET 2008


Hi David,

> \psset{xunit=(2/Pi)in,yunit=0.5in}
>   

here a small example -- coming from the pstricks-add package:

\documentclass{article}
\usepackage{pstricks}
\usepackage{pstricks-add}
\makeatletter
\let\pstdivide\pst at divide
\makeatother
\begin{document}
\begin{pspicture}(0,0)(5,4)
\pstdivide{2in}{3.1415in}{\mydef}
\psset{xunit=\mydef in,yunit=0.5 in}
\psaxes(0,0)(0,0)(5,3)
\end{pspicture}

\begin{pspicture}(0,0)(3,4)
\psset{xunit=1 in,yunit=0.5 in}
\psaxes(0,0)(0,0)(5,3)
\end{pspicture}
\end{document}

Regards,

Juergen



-- 
 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
-------------------------------------
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net
 Websites  www.acrotex.net
           www.brueckenkurs-physik.de
           www.gilligan-online.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20081214/28e78221/attachment.html 


More information about the PSTricks mailing list