How to show the whole x axis in my plot for full screen
12 ビュー (過去 30 日間)
古いコメントを表示
Hi
I have an issue, I plot a figure with x axis and y axis. but whne i save the image, the x axis is not shown in the image,
I think it is due to the screen of my labtop, I am using the 14' macbook pro. The issue is solved when I used other screen size, 21' iMac.
How i fix this issue in my macbook pro? is this a bug in MATLAB for this screen size?
my code for axis
xlabel('my axis','FontSize',15),
here is the image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1323935/image.png)
0 件のコメント
回答 (1 件)
Eswaramoorthy
2023 年 3 月 29 日
Hi,
You can use the 'xlim' function to set the limits of the x-axis to the minimum and maximum values of your data.
Refer the documentation for more info:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!