Try x.^2.

On Tuesday, May 24, 2016 at 12:48:49 AM UTC+8, Henri Girard wrote:
>
> Hi,
> I don't know why this plot doesn't work ? 
> It tells me the domain is wrong ?
> I don't understand why ?
> Any help ?
> Regards
> Henri
>
>
> using Plots
> x=linspace(-2,2)
> f(x) =  sqrt(4-x^2)
> g(x) = -sqrt(4-x^2)
> h(x) = sqrt(-x^2+2*x)
> k(x) = -sqrt(-x^2-2*x)
> plot([g,f,h,k],-2,2,aspect_ratio=1)
>

Reply via email to