2 x axis log scale and 1 y axis

2 ビュー (過去 30 日間)
Khaled aL Qattawi
Khaled aL Qattawi 2022 年 6 月 2 日
編集済み: Khaled aL Qattawi 2022 年 6 月 2 日
i wanna plot like the attached graph, please someone help me write the code of this.

採用された回答

Chunru
Chunru 2022 年 6 月 2 日
% generate some data
dollarlost = logspace(4, 12, 81);
p3 = 1e5./dollarlost;
p2 = 1e4./dollarlost;
p1 = 1e3./dollarlost;
loglog(dollarlost, p1, 'g-', dollarlost, p2, 'b--', dollarlost, p3, 'r:')
grid on
ylim([1e-7, 1])
  2 件のコメント
Khaled aL Qattawi
Khaled aL Qattawi 2022 年 6 月 2 日
編集済み: Khaled aL Qattawi 2022 年 6 月 2 日
that is perfect, but would i add the top x axis ???? love loss?? @Chunru
Khaled aL Qattawi
Khaled aL Qattawi 2022 年 6 月 2 日
編集済み: Khaled aL Qattawi 2022 年 6 月 2 日
thank you so much for this, i really appreciate it. @Chunru

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by