[pstricks] rotated vector in pstricks

Juergen Gilg gilg at acrotex.net
Sun Jun 2 22:51:27 CEST 2013


Dear Ziggy,

what about:

\rput{45}(0,0.5){\psline(0,0)(0.25,0)}

In the "(...)" PSTricks wants the coordinates -- seperated by a COMMA...

Hope this helps.

Regards,

Jürgen

Am 02.06.2013 22:44, schrieb Nitecki, Zbigniew H.:
> If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing
> \rput{45}(0.05){\psline(0,0)(0.25,0)}
> ?
> I am getting the error message
> ./Parallel.tex:477: Missing number, treated as zero.
> <to be read again>
>                     \relax
> l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)}
>
> If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is.
>
> Zbigniew Nitecki
> Department of Mathematics
> Tufts University
> Medford, MA 02155
>
> telephones:
> Office    (617)627-3843
> Dept.    (617)627-3234
> Dept. fax    (617)627-3966
> http://www.tufts.edu/~znitecki/
>
>
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>

-- 
Jürgen Gilg
Austr. 59
70376 Stuttgart

tel   0711 59 27 88
email gilg at acrotex.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20130602/978a36ae/attachment.html>


More information about the PSTricks mailing list