plot specific points on matlab loglog plot

8 vues (au cours des 30 derniers jours)
Benjamin Cowen
Benjamin Cowen le 5 Fév 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?

Réponses (1)

Walter Roberson
Walter Roberson le 6 Fév 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]);

Catégories

En savoir plus sur Log Plots dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by