Hi,
Thanks for your help. I have looked at the beginners documentation and
while there are options to configure various aspects of the plot none of
them seem to have the desired effect. I have managed to ensure that the
plot fills the space vertically with no margins, no axes etc (using
mai=c(0,0,0,0)). However, horizontally there remains a margin to the
right that pads the space between the filled.contour and its legend.
I've tried options to par and filled.contour but I can't seem to remove
the legend.
Kind Regards,
James
Simon Pickett wrote:
Hi James,
What you really need to do is to check out the many freely available
pdfs for R beginners. Here is a good place to start
http://cran.r-project.org/other-docs.html
If I am right interpreting what you want, I think you need to create a
blank plot with no axes, axis labels etc. Try
plot(x,y,xlab="",ylab="",xaxt=NULL,yaxt=NULL,type="n")
#blank plot
points(x,y)
type "?par" into R and see how you can set parameters like this up as
the default.
Hope this helps?
Simon.
----- Original Message ----- From: "James Nicolson"
<jlnicolson at gmail.com>
To: <r-help at r-project.org>
Sent: Sunday, February 15, 2009 10:29 PM
Subject: [R] Unadulterated plot
To all,
Apologies if this question has already been asked but I can't find
anything. I can't seem to think of more specific search terms. I want
to display/create a file of a pure plot with a specific height and
width. I want to utilise every single pixel inside the axes. I do not
want to display any margins, legends, axes, titles or spaces around
the edges. Is this possible? Additionally, the plot I am working with
is a filled.contour plot and I can not remove the legend? How can I
do this?
Kind Regards,
James