plot specific points on matlab loglog plot

8 ビュー (過去 30 日間)
Benjamin Cowen
Benjamin Cowen 2016 年 2 月 5 日
回答済み: Walter Roberson 2016 年 2 月 6 日
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 2 月 6 日
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]);

カテゴリ

Help Center および File ExchangeLog Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by