Code covered by the BSD License  

Highlights from
Change Log Labels

2.0

2.0 | 2 ratings Rate this file 1 Download (last 30 days) File Size: 2.07 KB File ID: #22705

Change Log Labels

by Jeffrey

 

17 Jan 2009 (Updated 20 Jan 2009)

Alters log labels of to linear labels (10^1.45 to 28.18). Remakes when zoom and pan are used.

| Watch this File

File Information
Description

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.

Acknowledgements

This file inspired Changeloglabels V3 and Change Log Labels V2.

MATLAB release MATLAB 7.4 (R2007a)
Other requirements None
Tags for This File  
Everyone's Tags
display, frequency, log, log axis, log labels, plot
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
06 Aug 2009 Jeffrey

Itamar, your problem is not clear, include code.

06 Aug 2009 Itamar

Hi, very nice idea and could be very helpfull to me.
Well written, good help but more examples are missing. Easy to readand understand commants.
My only problem is that i can not use it to change a log10 transform with the ksdensity function (statistics toolbox).
Can you solve it please?
Thanks,
Geta

25 Feb 2009 Daniel Armyr

Great little utility. Simple clean and it seems to work well.
A feature request: Matlab sometimes returns cell arrays of axis handles. It would be nice if the script could check it it is given an array or a cell array and act accordingly.

Updates
20 Jan 2009

Fixed bug in case function is called multiple times.

Contact us