Rank: 189 based on 286 downloads (last 30 days) and 1 file submitted
photo

Alexander Hayes

E-mail
Lat/Long
34.1391410827637, 118.125549316406

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Alexander
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Aug 2007 Screenshot Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes annotation, axes, tick label, latex, figure, plot 286 22
  • 4.86667
4.9 | 17 ratings
Comments and Ratings on Alexander's Files View all
Updated File Comment by Comments Rating
04 Feb 2012 Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes Bret

Worked first time!

19 Aug 2011 Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes Lucila
29 Jul 2011 Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes Patrick

To get it to work with log axes I replaced

lim(1)-offset*(lim(2)-lim(1))

with

10^(log10(lim(1))-offset*(log10(lim(2))-log10(lim(1))));

17 Jul 2011 Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes Cheng, Jay

I am working on 3D plots. How to add tickz......... please.

14 Jul 2011 Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes Namaka

Thanks for the file!

But I found a small bug:
If I make my tick labels beforehand then use this version of the function:
format_tick(h,tickx,ticky,[],[],[],[],offset);
It re-assigns my tick labels to the default.

I did a quick-fix by copying the lines tickposx = get(h,'XTick'); and
'set(h,'XTickLabel',tickposx);' (located around line 134), and pasting them into the preceding if-statement. then I deleted the extra 'set(h,'XTickLabel',tickposx); '. However, beware! This fix may have introduced other errors that I haven't caught...

Top Tags Applied by Alexander
annotation, axes, customization, figure, plot
Files Tagged by Alexander
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Aug 2007 Screenshot Format Tick Labels Replace Tick Label with Specified Formattable Objects. Author: Alexander Hayes annotation, axes, tick label, latex, figure, plot 286 22
  • 4.86667
4.9 | 17 ratings

Contact us at files@mathworks.com