How I can adjust this x axis label incase of very small values of plot?

1 view (last 30 days)
Hi,
Due to small range of x axis values, the label is appearing as shown in the figure below. I have also attached the data. How can I sort it out?

Answers (2)

Karan Kannoujiya
Karan Kannoujiya on 3 Jul 2022
Hi Nisaar,
You can go through this link to set axis size and aspect ratio
You can also go through this link to set the Font size of labels
I hope it helps
  3 Comments
Nisar Ahmed
Nisar Ahmed on 3 Jul 2022
The x axis ticks are in the downward direction in the left hand side figure (circled) while on the roght hand figures WHY the x axix ticks are in the upward direction? Is it possible to have downward direction (right side fig)?

Sign in to comment.


Image Analyst
Image Analyst on 4 Jul 2022
Try using xticks and xticklabels
Also see the attached demo that shows you how to change virtually everything on an axes (colors, sizes, etc.)

Community Treasure Hunt

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

Start Hunting!

Translated by