Re: Plotting a super ellipse
- To: mathgroup at smc.vnet.net
- Subject: [mg55121] Re: Plotting a super ellipse
- From: Peter Pein <petsie at arcor.de>
- Date: Sun, 13 Mar 2005 04:57:39 -0500 (EST)
- References: <d0u71l$kno$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
JC wrote:
> I am trying to get Mathematica to plot a super ellipse. The formula
> is (x^2.5/1) + (y^2.5/1.25^2.5) = 20.
>
> I am getting error messages such as the "not a list of real numbers"
> or "protected symbols"
>
> Can some one help me out or point me in the right direction to find
> the help?
>
> I should mention I am brand new to Mathematica, I downloaded the trial
> version yesterday. I have read through the tutorials and tried
> googling for help but I am coming up blank.
>
Hi JC,
use ImplicitPlot to plot implicitely ;-) and Abs[] to avoid imaginary
Parts (e.g. (-1)^(2.5))
ImplicitPlot[Abs[(x^2.5) + (y^2.5/1.25^2.5)] == 20., {x, -4, 4}, {y, -5, 5}]
--
Peter Pein
Berlin