[pstricks] some questions on pst-solide3d

Juergen Gilg gilg at acrotex.net
Fri Jan 9 18:55:12 CET 2009


Dear Zbigniew,

try out this one:

\multido{\rv=0+20}{18}{%
\psSolid[object=vecteur,
linecolor=red,
args= \rv\space Sin \rv\space 2 mul Cos neg
\rv\space Sin \rv\space 2 mul Sin neg
\rv\space Cos
](\rv\space 2 mul Cos 2 mul, \rv\space 2 mul Sin 2 mul, 0)
}

This should work -- however doesn't look as expected...

Regards,

Juergen

Zbigniew Nitecki wrote:
> Thanks again, and sorry, one more question (I guess the short term was 
> shorter than expected :-):  can one use \multido within \pstsolides3d? 
>  I want to put some vectors along the centerline that I drew on the 
> Moebius band, perpendicular to the band.   So I need for multiple 
> values of \rv to place a vector with arguments (-sin \rv\cos 2\rv, 
> -sin \rv\sin 2\rv, cos\rv) at location
> (2 cos 2\rv, 2 sin 2\rv,0).  The addition to my previous code of
> *************************************************
> \multido{\rv=0+20}{18}{%
> \psProjection[object=vecteur,
> linecolor=red,
> args= \rv\space Sin \rv\space 2 mul Cos neg %
> \rv\space Sin \rv\space 2 mul Sin neg %
> \rv Cos%
> ](\rv 2 mul Cos 2 mul, \rv 2 mul Sin 2 mul, 0)
> }
> **********************************************************
> (also with \space after the \rv in the location, or with ! inside the 
> parentheses) crashes.
> Am I still doing something stupid with \space or !, or does \multido 
> not apply here (and if so, is there something that does?), or does 
> \psProjection only work with vecteurs that have two arguments?  or...?
>
>
> 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/ <http://www.tufts.edu/%7Eznitecki/>
>
> On Jan 9, 2009, at 11:45, Juergen Gilg wrote:
>
>> Dear Zbigniew,
>>
>>> 1. Is it possible to generate a dashed line?
>> I tested: linestyle=dashed which doesn't work within that macro. So i 
>> think you need to be tricky to get dashed lines. I do not remember if 
>> that is possible. Maybe Jean-Paul knows the solution. I think with 
>> direct codejps it is possible, however i am not sure.
>>> 2. Does the order of settings inside the [ ] matter?
>> These are normal _keyword_ - _keyvalue_ pairs -- the order shouldn't  
>> matter.
>>
>> Regards,
>>
>> Juergen
>>>
>>> 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/ <http://www.tufts.edu/%7Eznitecki/>
>>>
>>> On Jan 9, 2009, at 11:05, Juergen Gilg wrote:
>>>
>>>> \psSolid[object=courbe,
>>>> range= 0 pi,
>>>> linewidth=0.75\pslinewidth,
>>>> linecolor=blue,
>>>> function=centercircle,
>>>> ngrid=1,r=0]
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> PSTricks mailing list
>>> PSTricks at tug.org
>>> http://tug.org/mailman/listinfo/pstricks
>>>   
>>
>> -- 
>>  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
>>     
>> _______________________________________________
>> PSTricks mailing list
>> PSTricks at tug.org <mailto:PSTricks at tug.org>
>> http://tug.org/mailman/listinfo/pstricks
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>   

-- 
 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/20090109/deb4c788/attachment.html 


More information about the PSTricks mailing list