Yesterday, baptiste and Juliet resolved me a problem about align two
(or more) plots on a page (http://ggplot2.wik.is/Align_two_plots_on_a_page
). I have upgraded to R 2.9.0 (below I put my new R.Version). Now,
when I plot the image, there is a grey grid on top (see Image
attached). How can I erase that grid?
Thank you,
Angel.
it could be one of several things i suppose:
- visual artifact of the image viewer (such Moiré is typical of images
displayed in pdf viewers) --- but here you seem to use quartz so it
should not happen, i think
- you have set the colour of the tiles to the grey value (or perhaps
NA as grey is the default background). Try to set colour = "your
variable" in addition to fill = "your variable" in the aes() call.
Actually, after testing on a dummy example, it seems that you'd be
better off not specifying colour at all in aes() for some reason that
I don't really understand. Try both, then :). And it may be that the
type of your colour variable matters (factor or numeric?...)
- your data has some weird pattern in it (in which case, try to give a
reproducible example), at least str("your data.frame")
- perhaps something else
I'm guessing it's # 2
HTH,
baptiste
On Sun, May 10, 2009 at 10:06 AM, Angel Berihuete Macías
<an...@alfomega.es> wrote:
> Dear all,
>
> Yesterday, baptiste and Juliet resolved me a problem about align two (or
> more) plots on a page (http://ggplot2.wik.is/Align_two_plots_on_a_page). I
> have upgraded to R 2.9.0 (below I put my new R.Version). Now, when I plot
> the image, there is a grey grid on top (see Image attached). How can I erase
> that grid?
>
> Thank you,
>
> Angel.
>
>
>
> $platform
> [1] "powerpc-apple-darwin8.11.1"
>
> $arch
> [1] "powerpc"
>
> $os
> [1] "darwin8.11.1"
>
> $system
> [1] "powerpc, darwin8.11.1"
>
> $status
> [1] ""
>
> $major
> [1] "2"
>
> $minor
> [1] "9.0"
>
> $year
> [1] "2009"
>
> $month
> [1] "04"
>
> $day
> [1] "17"
>
> $`svn rev`
> [1] "48333"
>
> $language
> [1] "R"
>
> $version.string
> [1] "R version 2.9.0 (2009-04-17)"
>
>
>
>
--
_____________________________
Baptiste Auguié
School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK
Phone: +44 1392 264187
http://newton.ex.ac.uk/research/emag
______________________________
I have not idea what is happening. Somethig about quartz device? I
need your help again.
Thanks,
Angel.