labels are hidden behind the plot

3 vues (au cours des 30 derniers jours)
Soso
Soso le 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 commentaires
Soso
Soso le 14 Mar 2021
  • No it is 2 D plot.
Walter Roberson
Walter Roberson le 14 Mar 2021
Modifié(e) : Walter Roberson le 14 Mar 2021
what is class(month)?
Why are you using length(month) as the bound instead of size(month, 1)

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by