MATLAB :  tracciare grafici e salvare l'immagine in formato bitmap



» clear

» x = linspace(0.,3.5, 7);

» y = x .^2 - x;

» z = sin(x);

» title('due grafici nella stessa schermata')

» hold

Current plot held

» plot(x,y)

» plot(x,z)

» text(x(5),y(5),'y = x^2 - x')

» text(x(5),z(5),'y = sin(x)')

» print  -dbitmap   E:\duepgrafici.bmp    -f1


Alba C. Simoncelli - MATLAB (nov. 2002) - pag.16b                              Indice    Pag. Prec.    Pag. Seg.