[R] Plot area reduction

Jim Lemon jim at bitwrit.com.au
Thu Sep 10 13:45:04 CEST 2009


On 09/10/2009 08:10 PM, rajesh j wrote:
> Hi,
>
> I need my plot to occupy a thin strip-like area but the plot area in R is a
> square so when I save it and reduce its height to a strip in my document the
> font in the graph looks flattened. Is there someway i can do this in R
> itself?..so that my plot is a strip but the font looks normal
>
>    
Hi Rajesh,
Just start the device with the aspect you want:

x11(height=2)

OR

png(myplot.png",height=150)

Jim




More information about the R-help mailing list