plot specific points on matlab loglog plot

8 visualizzazioni (ultimi 30 giorni)
Benjamin Cowen
Benjamin Cowen il 5 Feb 2016
Risposto: Walter Roberson il 6 Feb 2016
How would I plot these points on a matlab loglog plot?
n = 10^21, T = 10000
n = 10^18, T = 10
n = 10^27, T = 1000
n = 10^36, T = 10
n = 10^32, T = 10^5
I would like to plot these on a loglog plot where n goes from 10^16 to 10^38 and T goes from 1 - 10^5
Is this possible?

Risposte (1)

Walter Roberson
Walter Roberson il 6 Feb 2016
nT = [10^21, 10000;
10^18, 10;
10^27, 1000;
10^36, 10;
10^32, 10^5];
loglog(nT(:,1), nT(:,2), '*');
xlim([10^6, 10^38]);
ylim([1, 10^5]);

Categorie

Scopri di più su Log 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!

Translated by