How to put them toghever to have only one picture ?
plot h,g,f gives me only the curves not the fill...
Any help
HG

using Plots
function h(x)
    if x<0
        return sqrt(-x^2-2*x)
    else
        return -sqrt(-x^2+2*x)
    end
end;
x=linspace(-2,2)
t=linspace(-pi/3,pi/3)
f(x) = sqrt(4-x^2)
g(x) = -sqrt(4-x^2);
a=plot(h,fill=g, -2,2,aspect_ratio=1)
b=plot(h,fill=f, -2,2,aspect_ratio=1)
d=plot(h,color=:white, -2,2,aspect_ratio=1)
plot([h,g,f], -2,2,aspect_ratio=1)

Reply via email to