How do I plot two different functions on the same plot?

14 visualizaciones (últimos 30 días)
John
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?

Respuesta aceptada

Torsten
Torsten el 11 de Mzo. de 2023
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off

Más respuestas (0)

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!

Translated by