On Wed, Jul 14, 2010 at 1:32 AM, Ian Bentley ian.bent...@gmail.com wrote:
I've got a couple of more changes that I want to make to my plot, and I
can't figure things out. Thanks for all the help.
I'm using this R script
library(ggplot2)
library(lattice)
# Generate 50 data sets of size 100
Hi Dennis,
Thanks for the quick reply.
Once I removed solid = TRUE, which was giving errors, the code is accepted
fine.
It's strange though, no legend appears. Even when I try something simple
like:
p + scale_shape_manual(values=1:3)
No legend appears. I can't find any similar problems on
Ggplot will only produce legends based on factors. Integers are not factors.
Ian Bentley ian.bent...@gmail.com wrote:
Hi Dennis,
Thanks for the quick reply.
Once I removed solid = TRUE, which was giving errors, the code is accepted
fine.
It's strange though, no legend appears. Even when I try
Hi all,
Maybe I missed some crucial context (I did not follow the example all
the way through). But of course ggplot will make legends based on
integers. For example:
dat - data.frame(x=sample(1:10, 100, replace=TRUE),
y=sample(1:10, 100, replace=TRUE),
I've got a couple of more changes that I want to make to my plot, and I
can't figure things out. Thanks for all the help.
I'm using this R script
library(ggplot2)
library(lattice)
# Generate 50 data sets of size 100 and assign them to a list object
low - 1
n - 50
#Load data from file
for(i in
Hi Ian,
Have a look at the examples in http://had.co.nz/ggplot2/geom_tile.html
for some ideas on how to do this with ggplot2.
Hadley
On Sat, Jul 10, 2010 at 8:10 PM, Ian Bentley ian.bent...@gmail.com wrote:
Hi all,
Thanks for the really great help I've received on this board in the past.
I
Hi all,
Thanks for the really great help I've received on this board in the past.
I have a very particular graph that I'm trying to plot, and I'm not really
sure how to do it. I think I should be able to use ggplot for this, but I'm
not really sure how.
I have a data.frame which contains fifty
7 matches
Mail list logo