필터 지우기
필터 지우기

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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by