Change log labels v2
Version 1.1.0.0 (2.31 KB) by
Daniel Armyr
Alters log labels of to linear labels (10^1.45 to 28.18). Remakes when zoom and pan are used.
User sends in an array of axes handles, and 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.
This updated version does some more intelligent preprocessing if the input arguments to allow simpler syntax.
Cite As
Daniel Armyr (2026). Change log labels v2 (https://uk.mathworks.com/matlabcentral/fileexchange/23269-change-log-labels-v2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Axis Labels >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Log Plots >
Find more on Axis Labels in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Change Log Labels
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
