On Dec 17, 2019, at 07:50, Nicholas Jankowski <address@hidden> wrote:
On Tue, Dec 17, 2019 at 8:33 AM oxy via Help list for GNU Octave <address@hidden
is it possible to use plot annotations positioned like that?
annotation ('textbox', 'southeast', 'string', 'hello world')
text('textbox', 'location', 'southeast', 'string', 'hello world')
Those commands do not work, but i think you see what i mean
(wanna use coordinate locations).
It adds too much code to extract the values of `axis` and calculate
the proper positions for my text.
the position names "north", "south", etc., I believe are limited in use to legend objects, where it is specified as a name/value pair, eg., "location", "northeast".
looking at the help text for both text and annotation:
they require specified coordinate positions.
Checking for compatibility, it appears that the behavior is the same in Matlab. if you have ideas for extending those functions to provide additional capability without breaking compatibility, feel free to share with the group, although since the code to extract and calculate positions not overly complicated, priority might be low.
Have you considered changing the text object‘s ”units” to “normalized” and appropriately modifying the ”horizontalalignment” and “verticalalignment” properties?