How do I plot two different functions on the same plot?
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
What format do I need to write the code in to plot both of these functions on the same plot?
0 Commenti
Risposta accettata
Torsten
il 11 Mar 2023
Use
hold on
plot(...) % plot first graph
plot(...) % plot second graph
hold off
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!