[R] Legend vanishes when placed outside the graph
David Winsemius
dwinsemius at comcast.net
Thu Feb 16 22:56:50 CET 2012
On Feb 16, 2012, at 6:50 AM, David Zastrau wrote:
> Hello everyone,
>
> i’ve got a problem with my diagram’s legend. I know i should be able
> to figure it out by reading the ‘plot’ and ‘legend’ reference.
> However nothing works so it would be kind if anyone could point me
> to the necessary parameters.
>
> The problem is that i’m moving the legend using the ‘inset’-
> parameter so it does not overlap with the graph. However it vanishes
> outside the graph, so I’ve got to set the margin width a little
> bigger.
Have your read what ?par says about "xpd"?
>
> The “topright” etc. parameters also do not work for me because they
> put the legend inside the diagram where it overlaps with the graph.
>
> I would appreciate any help very much!
>
> Best Wishes
>
> Dave
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list