labels are hidden behind the plot

2 views (last 30 days)
Soso
Soso on 14 Mar 2021
Edited: Walter Roberson on 14 Mar 2021
I have a problem in plotting my data, the lables are hidden behind the plots, how can I bring the lables to the frond of the plott please?
The code I am using in labelling the month is:
for uu = 2:length(month)
text(month_x_axis(uu),4,month(uu,:),'FontWeight','bold')
end
  3 Comments
Soso
Soso on 14 Mar 2021
  • No it is 2 D plot.
Walter Roberson
Walter Roberson on 14 Mar 2021
Edited: Walter Roberson on 14 Mar 2021
what is class(month)?
Why are you using length(month) as the bound instead of size(month, 1)

Sign in to comment.

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!