Change log labels v2
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 (2025). Change log labels v2 (https://www.mathworks.com/matlabcentral/fileexchange/23269-change-log-labels-v2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Axis Labels >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Log Plots >
Tags
Acknowledgements
Inspired by: Change Log Labels
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.