To assign the xtick
property to itself in MATLAB you can simply use the following one-liner:
main.m35 chars2 lines
This will get the current xtick
value of the current axes object gca
and then set it back to the same property.
gistlibby LogSnag