- If you just want to see x axis from -0.1 to 0.1 then you can call xlim([-0.1 0.1]) function for instance. similarly yaxis can be ylim([-0.1 0.1])
- If your data is in micrometer and you want to plot in cm, you should just scale your data to the units and then call the plotting function. For instance instead of plot(x,y) you would call plot(x*1e-4,y*1e-4)
- If you want your Droplet Diameter colorbar to go from 30 to 70 for instance, then you can call caxis([30 70]), which will remove the difference for points below 30 and points above 70 though.
how to fix the scale in the output window
조회 수: 1 (최근 30일)
이전 댓글 표시
I have created a plot in matlab but don't know how to fix the scale on the axes. I want to scale axes in centimeters and attahced picture for reference. Thanks in advance
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1617928/image.png)
댓글 수: 0
채택된 답변
Aquatris
2024년 2월 15일
편집: Aquatris
2024년 2월 15일
You need to be more specific for a better answer but here is my attempt:
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!