To make it easier for us to help you, please provide some meaningful
portion of your code to reproduce that graphic and the version of Octave
you are using. General advice: please look at the manual . If you
create the legend by
[hleg, hleg_obj, hplot, labels] = legend (...)
You might be able to get() and set() certain properties of the legend
object to your needs.
You can do this with the position property. It takes an array as an argument, with the first two arguments being the position and the last two being the width and height of the legend. Therefore, you can make the legend narrower by a factor of e.g. 0.75 by calling
In reply to this post by Octave - General mailing list
>I want to restrict the area of the legend
>Not the text of the legend
Luca, you cannot assume that people work for you. This list is made of
people who like to help others working on Octave. You should be
grateful for that and do your homework before asking.
You should tell us what you did (with code), what you want to do (with
examples, if possible) and what you did try and fail. Without that, you
are asking us to do your work for you. This is not what this list is
Do you have code for reproducing your case? Have you read the manual?
What pages exactly? What have you understood? What have you tried?
Francesco Potortì (ricercatore) Voice: +39.050.621.3058
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(gate 20, 1st floor, room C71) Web: http://fly.isti.cnr.it