resize_legend

Changes LEGEND fontsize.

Al momento, stai seguendo questo contributo

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.

Cita come

Denis Gilbert (2026). resize_legend (https://it.mathworks.com/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0

MATLAB 7 compatibility change