|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Set title to left corner doesnt workHi 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 |
|
|
Re: Set title to left corner doesnt workOn Aug 12, 2009, at 7:46 AM, bat_boy wrote:
> 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 Hi David, The functionality you're looking for is not yet supported by Octave. As a work around you can try ... text (0, 1.05, "This is my left aligned title", "horizontalalignment", "left", "units", "normalized") Ben _______________________________________________ Bug-octave mailing list Bug-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: Set title to left corner doesnt workHi Ben!
THANKS SO MUCH!!! That's exactly what I was looking for :) :) :) Cheers, David
|
| Free embeddable forum powered by Nabble | Forum Help |