This is a very useful submission. I'm sorry that I submitted 1 star above, I tried to cancel but couldn't. I think it happened when I refreshed my browser. If someone knows how to cancel it, please by all means do. I meant to give 5 stars.
I just want to say that I made a minor extension to this script. It should appear under my name, it's a very trivial extension: I have Introduced a distinction between offsets for the horizontal axis offset_x and vertical axis offset_y. This is useful if your x-axis and y-axis do not cross at the origin. This extension gives you independent control of the offset for the x-axis labels and y-axis labels. If you're interested it should soon appear under my name. I don't have the reference now as I only just uploaded it. Thanks again to Alexander.
Very nice. I've wanted a way to do this for a long time.
Two improvements would be nice: (1) Add support for doing only Y ticks. (2) Check for an axis label and reposition it correctly so that it does not overlap with the new tick labels.
To be able to use Y-ticks only one should replace 2 strings around #225 with
======================================
%find out if we have to use the LaTex interpreter
all_ticks = [tickx ticky];
temp = all_ticks{1};
======================================
it's also a bit unexpected that
offsety>0 means 'left' ...
Very nice. I've wanted a way to do this for a long time.
Two improvements would be nice: (1) Add support for doing only Y ticks. (2) Check for an axis label and reposition it correctly so that it does not overlap with the new tick labels.
3
05 Jun 2011
Format Tick Labels (Extended)
Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes.
Exactly what i was looking for...
However, 2 tiny suggestions:
To be able to use Y-ticks only one should replace 2 strings around #225 with
======================================
%find out if we have to use the LaTex interpreter
all_ticks = [tickx ticky];
temp = all_ticks{1};
======================================
it's also a bit unexpected that
offsety>0 means 'left' ...