Hi folks!
I'd like to set the horizontal postition of the title in my plot to the left corner.
When I plot and do this:
title("This is my awesome title");
yl = get (gca (), 'title');
get(get(gca()).title).horizontalalignment
set (yl, 'horizontalalignment', 'center');
get(get(gca()).title).horizontalalignment
set (yl, 'horizontalalignment', 'left');
get(get(gca()).title).horizontalalignment
the output is
ans = left
ans = center
ans = left
So it seems that the value is set to "left" as default. Even setting it to "center" and to "left" afterwards doesnt have any effetct, the title remains in the center. Do I miss something here?
Thanks!
David