How do I plot two different functions on the same plot?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
John
el 11 de Mzo. de 2023
Respondida: Torsten
el 11 de Mzo. de 2023
What format do I need to write the code in to plot both of these functions on the same plot?
0 comentarios
Respuesta aceptada
Torsten
el 11 de Mzo. de 2023
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off
0 comentarios
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.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!