plot with 3 different lines and a set of points
이전 댓글 표시
Hi. I want to plot in one logarithmic graph 3 different lines and a set of points. I have the part of the code down below to be more specific about my problem. As you can see, the x axis is logarithmic but the y axis is not. I dont understand what is wrong about my code. If you have any answers, please help me.
Thank you!


댓글 수: 2
Mathieu NOE
2024년 4월 23일
the y axe is indeed in log scale , but the y range is not very wide , so you may have seen it as a linear scale , but is not
otherwise your "lines" would not appear as straight lines
답변 (1개)
Les Beckham
2024년 4월 23일
0 개 추천
The y axis is logarithmic. It's just not very obvious due to the limited range of your y data. Note the difference in the spacing between 240 and 260 vs. the spacing between 400 and 420, for example.
카테고리
도움말 센터 및 File 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!