[pstricks] Superellipse

Johan Ekh ekh.johan at gmail.com
Thu Aug 13 09:29:05 CEST 2009


Thank you!
Silly me...
//Johan

On Thu, Aug 13, 2009 at 12:25 AM, Michael Sharpe <mchl.sharpe at gmail.com>wrote:

>
> \parametricplot[algebraic,linecolor=red]{0}{3.141592}{4*(cos(t))^(0.5)|3*(sin(t))^(0.5)}
>
> leads to a PostScript error because you are attempting to take the square
> root of a negative quantity. It will works over the range 0,pi/2.
>
> Michael
>
>
> On Aug 12, 2009, at 3:02 PM, Johan Ekh wrote:
>
>  Hi all (again...),
>> one more question.
>>
>> I try to plot a part of a superellipse. When I use the code below it
>> works,
>>
>>
>> \parametricplot[linecolor=red]{0}{3.141592}{4*(cos(t))^(1.0)|3*(sin(t))^(1.0)}
>>
>> but when I change the exponent to something else the 1, e.g.
>>
>>
>> \parametricplot[linecolor=red]{0}{3.141592}{4*(cos(t))^(0.5)|3*(sin(t))^(0.5)}
>>
>> it does not work. LaTeX runs without error but when I create a pdf with
>> dvipdf
>> it halts at the figure. Same result if I use \psLame in pst-func.
>>
>> If I look at the dvi-file, it does not contain the figure but it does not
>> halt at the figure.
>> Everything before and after the figure is produced.
>>
>> Has anyone a solution to this?
>>
>
> _______________________________________________
> 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/20090813/1d228f8f/attachment.html>


More information about the PSTricks mailing list