plot specific points on matlab loglog plot

4 views (last 30 days)
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?

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!