Message-ID: <16518.030416@eimb.ru>
Date: 2003-04-16T08:26:11Z
From: Vladimir Eremeev
Subject: troubles with displaying legend on the plot
In-Reply-To: <3E9D0BD1.1080608@nac.spb.ru>
Dear colleagues,
Thank you, I've already realized that...
Is is possible to place the legend outside a plot in any other way
except using lattice package?
BTW, maybe it would be useful to place this question in FAQ?
I've searched the mail archive. The question about placing the legend
outside a plot already have arose...
Wednesday, April 16, 2003, 11:52:49, you wrote:
???> Hi! It seems, that y-coord of your legend (1979,0), (0,0) located
???> outside your coordinate system.
???> par(usr=c(1979,2002,20,90),mar=c(7, 4, 4, 2) + 0.1)
???> You can use par('usr') to determine extremes of your coordinates
???> for automatic legend placing. Or you can
???> legend(locator(1),[other options])
???> to place legend on your plot interactively.
???> Notice, that the y-coord has its 0 in the _bottom_ of figure region.
--
Best regards
Wladimir Eremeev mailto:wl at eimb.ru
==========================================================================
Research Scientist Leninsky Prospect 33,
Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071,
Institute of Ecology, Phone: (095) 135-9972;
Russian Academy of Sciences Fax: (095) 954-5534