Skip to content
Prev 302285 / 398503 Next

How to adjust legend in a plot?

Hi,

It would be useful to have more information and a reproducible example.
For instance :
1. Why such margin at the left side ?
2. Why do you have the same problem when you plot the legend at the 
bottom ? Have you tried to define the exact (x,y) location ?
3. Why do you say cex doesn't affect you x-labels ?

Regards,

Eloi
These are not all positions. Tried to define the exact location (x,y)
What is "data". Please provide a fully reproducible example.
What are your x-labels ? Why cex doesn't affect it ? Please provide the 
code you used.
Yes you can plot your graph and the legend in 2 different plot using
par(mfrow=(2,1))
#plot first graph
#plot legend
but the overall size of the graph would be smaller and you just said you 
don't want to reduce the bar width....

We cannot help you without a fully reproducible example and explanations 
of the (very picky) limitations you want.

Regards,

Eloi
On 12-08-02 09:22 PM, Manish Gupta wrote: