How to change the side of the label on the Y-Axis of a plot?

1 view (last 30 days)
I've created a plot where the line goes from negative to positive x-values. If I put the Y-Axis in the middle of the plot (through x = 0), the Y-Labels and the line overlap. How can I change the side of the labels from right to left?
  1 Comment
A. Sawas
A. Sawas on 5 Apr 2019
Edited: A. Sawas on 6 Apr 2019
I did not find a setting where you can specifically set the location of the lables. Noticeably, the location of the lables changes with the position of the y-axis.
If the y-axis is more into the left the lables are put on the left side of the axis. Similarly, if the y-axis is more into the right side the lables are put onto the right. It seems that the location of the lables is set internally without giving the option to change it!

Sign in to comment.

Answers (0)

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!