MATLAB: Move y and x label to the end of the label

label;

per default the name for the x and y label are in the middle of the label itself, but I would like to see them at the end of the label.
is there any chance I could have an arrow at the end of the label?
how can I add a dotted line which goes through y=7 and has the same lenght as hte x-axis?

Best Answer

For the dotted line:
xlim = get(gca,'XLim');
h = line(xlim,[7 7]);
set(h,'LineStyle',':')
Related Question