[pstricks] rotated vector in pstricks

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sun Jun 2 22:44:23 CEST 2013


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/







More information about the PSTricks mailing list