Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Random range of plot?
조회 수: 1 (최근 30일)
이전 댓글 표시
With respect,
Sir I need to plot this type of graph but I am not able to plot. I am only able to plot simple continuous data plot. Please help me about this.
댓글 수: 1
답변 (1개)
Ameer Hamza
2020년 5월 8일
Check this example
x = [1 15];
y1 = [20 1];
y2 = [19 0.95];
y3 = [18 0.9];
y4 = [7 0.4];
y5 = [6.6 0.38];
y6 = [6.2 0.36];
figure;
ax = axes();
hold(ax);
ax.XScale = 'log';
ax.YScale = 'log';
loglog(x, y1, 'k')
loglog(x, y2, 'b--')
loglog(x, y3, 'r-.')
loglog(x, y4, 'k')
loglog(x, y5, 'b--')
loglog(x, y6, 'r-.')
xlim([1 15]);
ylim([0.1 100]);
box(ax)
ax.TickDir = 'out';
ax.TickLength = [0.02 0.02];
ax.LineWidth = 0.8;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291466/image.png)
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!