[pstricks] computed coordinates

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Sun Mar 28 19:00:47 CEST 2010

Thanks to both you and Herbert for the useful replies.
Maybe someday I'll understand how to compute coordinates.

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/

On Mar 28, 2010, at 12:14, Michael Sharpe wrote:

>
> On Mar 28, 2010, at 6:30 AM, Zbigniew Nitecki wrote:
>
>> I want to draw a series of concentric ellipses with successively larger axes.  The following
>>
>> 			\begin{pspicture}(-3,-2.5)(3,3)
>> 				\multido{\rc=0+0.5}{9}{\psellipse[linecolor=green](\rc,\rc\space 2 div)}
>> 			\end{pspicture}
>>
>> yields the error message
>>
>> ! Illegal unit of measure (pt inserted).
>>                   2
>> l.24 ...pse[linecolor=green](\rc,\rc\space 2 div)}
>>
>> What is missing, since if instead I had written \psellipse(2,1) I would not have gotten this message?
>
> Either of the following will work.
>
> \multido{\rc=0+0.5}{9}{\psellipse[linecolor=green](!\rc\space \rc\space 2 div)}
> \multido{\rc=0+0.5,\rd=0+.25}{9}{\psellipse[linecolor=green](\rc,\rd)}
>
> Michael
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/

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