2 x axis log scale and 1 y axis
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Khaled aL Qattawi
il 2 Giu 2022
Modificato: Khaled aL Qattawi
il 2 Giu 2022
i wanna plot like the attached graph, please someone help me write the code of this.
0 Commenti
Risposta accettata
Chunru
il 2 Giu 2022
% generate some data
dollarlost = logspace(4, 12, 81);
p3 = 1e5./dollarlost;
p2 = 1e4./dollarlost;
p1 = 1e3./dollarlost;
loglog(dollarlost, p1, 'g-', dollarlost, p2, 'b--', dollarlost, p3, 'r:')
grid on
ylim([1e-7, 1])
2 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!