,
Saskia
From: Frederic Andrieu [mailto:fandr...@mango-solutions.com]
Sent: Fri 09/12/2011 12:43
To: Pelt van, Saskia (KNMI)
Cc: r-help@r-project.org; Hiemstra, Paul (KNMI)
Subject: RE: [R] ggplot with geom_tile
Dear Saskia,
If you mean the grid lines around the
NMI)
Sent: Fri 09/12/2011 12:23
To: Pelt van, Saskia (KNMI)
Cc: r-help@r-project.org
Subject: Re: [R] ggplot with geom_tile
Dear Saskia,
Thank you for the reproducible example, that helps a lot. I pasted you
code into R and got a perfectly fine image. You need to provide us with
your sessionInfo()
ggplot(tot, aes(x=temp, y=precip,group=dis))
p+geom_tile(aes(fill=dis)) + scale_fill_gradientn(colours=cols)
###
This creates the plot that I want, but with white horizontal and vertical lines
that I do not need. I have tried different things, but have not found the
solution. Can you help me with t
l2
11 nov 4.1 col2
12 dec 2.3 col2
So the column-names become categories. The dataset is rather large with
many columns and a lengthy date-string. Is there an easy way to do this?
Thank you for your help,
Kind regards,
Saskia van Pelt
__
R-he
till correspond to x.
This means that y corresponds to the x values in plot position, but to the T
value on the x-axis. I want this because the x values have no explanatory
meaning (Gumbel variates), while the T values (return period) have, so I can
use it to communicate what is ha
cales=list(draw=T),main="Seasonal change DJF
MIUB", font.main=4)
map('rivers', xlim=c(minlon,maxlon),ylim= c(minlat,maxlat),
col="blue",add=T)
map('worldHires', xlim = c(minlon, maxlon), ylim = c(minlat, maxlat),
add = T, col =
"darkgrey",wrap=T)
Hi all,
I have used this library to create a (360 day)calendar for my rainfall
data (which is divided over 9 gridcells):
## CODE##
library(udunits)
utInit()
calendar <- att.get.nc(nc,'time','calendar')
T <- var.get.nc(nc,"time")
times.list <- utCalendar(T,"days since
1961-01-01",style='array'
how I can change the 365 day in a 360 day
calendar for the 360-day data that I have (the 360-day calendar has
10799 days for the same 1961-2000 period). Is there anyone who can help
me with this problem?
Thank you in advance.
Kind regards,
Saskia van Pelt
__
8 matches
Mail list logo