Labels out of the box in figures
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
When I try to resize the box figure, using Matlab 2016, the labels go out of the box (See xlabel in the bodeplot bellow). I didn't have this problem in any of the Matlab previous versions. Can I fix this? How should I proceed?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160000/image.png)
Even the axis get cut depending on how I resize the figure (shown in figure bellow).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160002/image.png)
2 commentaires
John Chilleri
le 20 Jan 2017
Modifié(e) : John Chilleri
le 20 Jan 2017
I've had similar encounters, but when I save the figure as an image, it has always included everything.
Réponses (1)
Niels
le 20 Jan 2017
Hi,
you can access the properties of the axis and change the fontsizes (there are lots off/ + multipliers) Axes Properties
read the paragraph about Font Style and the following about Title, Axis Labels, and Legend
you can do it by either the Children prop of the figure or the Parent prop of the plot
Fig1=figure; % then plot something, set label etc
Fig1.Children.FontSize=??? % whatever
or
h=plot(...)
h.Parent.FontSize=???
3 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!