Hi Glenn,
I think it may be your column names. When I substitute the following for
the last three sections of your example, I get a plot that looks correct.
Obviously I have just made up the colors.
colnames(BO.Vector) <- c("LoanAge", "minus05", "minus04", "minus03",
"minus02", "minus01")
plot(BO.
I can't reproduce the problem with your code. I just get an error because
cbbPalette is not available. Omitting the scale_colour_manual() form your
code give a sensible plot.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwa
All,
I am doing something wrong but I don't see what. When I plot in ggplot all the
lines are on top of one another but the data is not. Any help is appreciated.
Thanks,
Glenn
# I use this function to generate data
Burnout <- function(beta1 = numeric(),
beta
extracted from a given body of data.
~ John Tukey
> -Oorspronkelijk bericht-
> Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> Namens Bruce Rex
> Verzonden: donderdag 28 juli 2011 20:42
> Aan: r-help@r-project.org
> Onderwerp: [R] ggplot2 help/s
Hello,
I have written a version of the Kohenen Self Organizing Map (in R) and wish
to use ggplot2 for the visualization. My results are RGB values in a matrix
[x,y,1:3] where x and y comprise the first two dimensions and the third
dimension is the RGB vector.
I am not sure whether to use geom_ti
> The problem is that I want HCount and HProbCount to use custom
> gradients. i.e. a colour for 0-10, next shade for 10-30, next for 30-70
> etc.
Use cut to create factor with those levels, and then scale_fill_manual
to match values to colours.
> Due to some magic done on the data, one uses inter
Hi;
I have created a geom_tile plot which does roughly what I want but I
have a small tweak I cannot sort out.
I have a dataframe binL, binR, HCount, HProbCount where HCount and
HProbCount have values ranging from 1-150. I plot binL and binR on the
axes respectively and create two charts wi
Hi All,
I'm trying following code and would need help with:
1. Flexibility to move legend inside (top, right, left, etc...). Currently
its overlaying with plot's border.
2. Reducing width/height and making it more compact, with small boxes.
# Requires installing and loading "ggplot2" package
p <
You might want to take a look at
http://had.co.nz/ggplot2/
There are many examples of how to use this function. And, there's a book
coming out soon.
hope this helps
david freedman
Edna Bell wrote:
>
> Hi yet again!
>
> Thank you for being patient with me.
>
> Is there a "how to" for ggplot
Hi yet again!
Thank you for being patient with me.
Is there a "how to" for ggplot2, please? I would like to look at it,
but have no idea where to start, please.
Thanks,
Edna Bell
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listi
10 matches
Mail list logo