CCCPaste

Scilab, courbe function

function courbe(N)
    t = linspace(0, 2*%pi, N);
    x = 2 * cos(t);
    y = 2 * sin(t);
    
    x2 = linspace(-2, 2, N);
    y2 = exp(x2)
    
    plot(x, y);
    plot(x2, y2, 'r');
endfunction