plot specific points on matlab loglog plot

6 Ansichten (letzte 30 Tage)
Benjamin Cowen
Benjamin Cowen am 5 Feb. 2016
Beantwortet: Walter Roberson am 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?

Antworten (1)

Walter Roberson
Walter Roberson am 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]);

Kategorien

Mehr zu Log Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by