changeloglabels v3

Versione 1.2.0.0 (1,88 KB) da Jeffrey
Alters log labels to linear (10^1.45 to 28..). Remakes for zoom/pan. Automatically runs.
654 download
Aggiornato 22 set 2009

Visualizza la licenza

The function will change all the axes that have log labels (10^XX) to linear labels while still maintaining the log spacing. It will remake the labels when the zoom in/out and pan functions are used.

This is particularly useful for frequency plots.

Update: This function no longer needs to be actively called. Place the following commands in you startup file:

set(0,'DefaultFigureCreateFcn','set(zoom,''ActionPostCallback'',''changeloglabels'');set(pan,''ActionPostCallback'',''changeloglabels'')')
set(0,'DefaultAxesCreateFcn','proplistener(gca,{''XScale'',''YScale''},''PostSet'',''changeloglabels'')')

Whenever a plot is made with log axes, this code will automatically run.

Note: This usage requires that you have proplistener.m, I.D. 18301

Cita come

Jeffrey (2026). changeloglabels v3 (https://it.mathworks.com/matlabcentral/fileexchange/25384-changeloglabels-v3), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2006b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.2.0.0

Reset labels to auto for when switching back to linear units.

1.0.0.0