Thats what I want yin/yang, can't I get rid of the line on zéro ? Thanks your model works.
using Plots x=linspace(-2,2,100) f(x) = sqrt(complex(4.-x.^2)) g(x) = -sqrt(complex(4.-x.^2)) h(x) = sqrt(complex(-x.^2.+2*x)) k(x) = -sqrt(complex(-x.^2.-2*x)) plot([real(f(x)),real(h(x)), real(g(x)),real(k(x))],x, aspect_ratio=1,show=true) Le lundi 23 mai 2016 18:48:49 UTC+2, Henri Girard a écrit : > > 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) >
