Skip to content
Prev 359237 / 398502 Next

specify size of box around legend

Duncan Murdoch <murdoch.duncan at gmail.com> writes:
Thanks - that works.

May I suggest to change the documentation from:

--8<---------------cut here---------------start------------->8---
text.width: the width of the legend text in x (?"user"?) coordinates.
          (Should be positive even for a reversed x axis.)  Defaults to
          the proper value computed by ?strwidth(legend)?.
--8<---------------cut here---------------end--------------->8---

to

--8<---------------cut here---------------start------------->8---
text.width: the width of the legend text in x (?"user"?) coordinates.
          (Should be positive even for a reversed x axis.)  If set,
         it is used to compute the width of the legend box. Defaults to
          the proper value computed by ?strwidth(legend)?.
--8<---------------cut here---------------end--------------->8---

to make this clear?
True - but no other parameter to achieve this? Equivalent to text.widht?


Thanks

Rainer