labels are hidden behind the plot

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

is it a 3d plot?
  • No it is 2 D plot.
what is class(month)?
Why are you using length(month) as the bound instead of size(month, 1)

Sign in to comment.

Answers (0)

Asked:

on 14 Mar 2021

Edited:

on 14 Mar 2021

Community Treasure Hunt

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

Start Hunting!