[R] Unadulterated plot
Simon Pickett
simon.pickett at bto.org
Mon Feb 16 10:20:13 CET 2009
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
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list