On Jan 18, 2013, at 9:49 AM, Dominic Roye wrote:
> Hello,
>
> I would like to generate isolines of temperature for the 24 hours by the 12
> month. Something like hier:
> http://www.diercke.de/bilder/omeda/800/12351E.jpg.
>
> On the x-axis are the month and on the y-axis the 24 hours, than as contour
> lines the temperature.
>
> My data are:
>
> 'data.frame': 288 obs. of 3 variables:
> $ Group.1: num 0 1 2 3 4 5 6 7 8 9 ...
> $ Group.2: num 1 1 1 1 1 1 1 1 1 1 ...
> $ x : num 6.99 6.66 6.36 6.1 5.94 ...
>
Perhaps:
require(lattice)
levelplot(x ~ Group.2 + Group.1, data =dfrm)
>
> Group 1: hour
> Group 2: month
> x: temperature ?C
>
> Have anybody an idea? I have tried without success the
> command filled.contour().
I believe filled contour would have required the z argument to be a matrix, i.e.
you owuld haveneeded to recast the data in wide format.
--
David Winsemius
Alameda, CA, USA