Plotting two(function) curve in same figure?how?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mary Jon
el 15 de Nov. de 2013
Comentada: Md Nafiul Islam
el 21 de Dic. de 2017
can Iam plotting two(function) curve in one figure?how? y1=function y2=function x=1:1:40
plot(x,y1) plot(x,y2)
in same figure? how?
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 15 de Nov. de 2013
Editada: Azzi Abdelmalek
el 15 de Nov. de 2013
plot(x,y1)
hold on
plot(x,y2)
%or
plot(x,y1,x,y2)
%or
plotyy(x,y1,x,y2)
3 comentarios
Azzi Abdelmalek
el 15 de Nov. de 2013
Editada: Azzi Abdelmalek
el 15 de Nov. de 2013
figure
hold on
plot(x,y1)
plot(x,y2)
plot(x,y3)
%and so on
hold off
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!