Está en la página 1de 1

Academic License

>> x=[-10:0.2:10];y=sin(x);

>> subplot(3,2,1),plot(x,y,'r+'),title('graficao 1');

Warning: MATLAB has disabled some advanced graphics

rendering features by switching to software OpenGL. For

more information, click here.

>> a=[-10:0.2:10];b=cos(a);

>> subplot(3,2,2),plot(a,b,'b-'),title('grafica 2');

>> c=[-10:0.2:10];d=tan(c);

>> subplot(3,2,3),plot(c,d,'k 0'),title('grafica 3');

Error using plot

Error in color/linetype argument.

>> subplot(3,2,3),plot(c,d,'k o'),title('grafica 3');

>> e=[-10:0.2:10];f=cot(e);

>> subplot(3,2,4),plot(e,f,'g *'),title('grafica 5');

>> subplot(3,2,5),plot(a,b,'b-',x,y,'r +'),title('grafica 6');

>> subplot(3,2,6),plot(c,d,'k o',e,f,'g *'),titl

También podría gustarte