[pstricks] scaling and \rput

Hans Henrik Sievertsen hhsievertsen at gmail.com
Thu Sep 10 09:09:01 CEST 2009


Hi,
*\documentclass{article}
 \usepackage{pst-plot, pst-grad, pstricks}
\usepackage{graphicx}
 \begin{document}
\begin{figure}
\resizebox{0.3\linewidth}{!}
{
\begin{pspicture}(0,-3.67)(6.92,3.67)
\psline[linewidth=0.04cm](0.0,3.55)(5.28,-3.65)
\psline[linewidth=0.04cm](0.34,-2.41)(6.9,3.65)
\rput(3.7814062,3.275){test}
\rput(5.001406,0.175){test}
\end{pspicture}
}
\end{figure}
\begin{figure}
\begin{pspicture}(0,-3.67)(6.92,3.67)
\psline[linewidth=0.04cm](0.0,3.55)(5.28,-3.65)
\psline[linewidth=0.04cm](0.34,-2.41)(6.9,3.65)
\rput(3.7814062,3.275){test}
\rput(5.001406,0.175){test}
\end{pspicture}
\end{figure}
\end{document}*


Attached the output. I've tried several ways and orders of including the
packages. When I use pstricks-add all rput are on exactly the same place...

thanks
Hans

2009/9/10 Herbert Voss <Herbert.Voss at fu-berlin.de>

> Hans Henrik Sievertsen schrieb:
>
> > When I want to rescale my pstricks pictures (either by \rescale or
> > \resizebox)...it works fine, except that everything I put with \rput
> isn't
> > rescaled? I don't understand why?
>
> example please, because everything inside of \resizebox is scaled!
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090910/b32e5f8d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.dvi
Type: application/x-dvi
Size: 1716 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090910/b32e5f8d/attachment.dvi>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.log
Type: text/x-log
Size: 5595 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090910/b32e5f8d/attachment.bin>


More information about the PSTricks mailing list