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 Kommentare

Walter Roberson
Walter Roberson am 14 Mär. 2021
is it a 3d plot?
Soso
Soso am 14 Mär. 2021
  • No it is 2 D plot.
Walter Roberson
Walter Roberson am 14 Mär. 2021
Bearbeitet: Walter Roberson am 14 Mär. 2021
what is class(month)?
Why are you using length(month) as the bound instead of size(month, 1)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 14 Mär. 2021

Bearbeitet:

am 14 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by