Displaying 2 results from an estimated 2 matches for "roosevelt_temp".
2012 Feb 29
2
Contour plot
Hi, I would like to make a contour plot with the data below, x-axis= Day
(increasing order, day number is out of 365 days of a year), y-axis= Depth
(varies), and z=pH. I tried to use filled.contour function, but not sure the
proper way to ordinate my z results into a matrix with different x and y
length. After that, if I attempted to plot the data, the x and y values are
not in ascending
2012 Mar 01
1
Contour plot- repost message
...(pH). So, I used akima to make a matrix (data.interp<-interp(x,y,z,duplicate="mean")) but the results is a square matrix- Not sure if the data is correct. So, any help/suggestion would be great! An example image that I would like to make is here: http://neuer.lab.asu.edu/images/10_data/roosevelt_temp.JPG
Thanks so much!
Leo
Data:
Day Month Depth pH
23 Jan 0 4.9
23 Jan 3 4.93
23 Jan 7 5.05
52 Feb 0 4.93
52 Feb 3 4.92
52 Feb 7 5.54
86 Mar 0 4.93
86 Mar 3 5.09
86 Mar 7 5.32
115 Apr 0 4.92
115 Apr 3 4.88
115 Apr 7 5.385
142 May 0 4.99
142 May 2 4.805
142 May 5 5.31
142 May 7 5.41
169 Jun 0 4.93...