resize_legend

Changes LEGEND fontsize.

Vous suivez désormais cette soumission

Changes LEGEND fontsize while maintaining proper alignment between the legend's text strings and line symbols.

Example: Double the fontsize

hLeg = legend(h,'string1','string2',...);
resize_legend(hLeg, 2);

See graphics snapshot below for a DEMO.

Citation pour cette source

Denis Gilbert (2026). resize_legend (https://fr.mathworks.com/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

MATLAB 7 compatibility change