Code covered by the BSD License  

Highlights from
Change Log Labels

2.0

2.0 | 2 ratings Rate this file 2 Downloads (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 submission has inspired the following:
Change log labels v2
MATLAB release MATLAB 7.4 (R2007a)
Other requirements None
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
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.

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

06 Aug 2009 Jeffrey

Itamar, your problem is not clear, include code.

Please login to add a comment or rating.
Updates
20 Jan 2009

Fixed bug in case function is called multiple times.

Tag Activity for this File
Tag Applied By Date/Time
log axis Jeffrey 19 Jan 2009 10:41:18
log labels Jeffrey 19 Jan 2009 10:41:18
log Jeffrey 19 Jan 2009 10:41:18
display Jeffrey 19 Jan 2009 10:41:18
plot Jeffrey 19 Jan 2009 10:41:18
frequency Jeffrey 19 Jan 2009 10:41:18

Contact us at files@mathworks.com