Displaying 20 results from an estimated 4000 matches similar to: "how to plot monthly mean data showing missing months"
2008 Aug 14
2
how to over-plot another variable on axis-4
Hello R Users,
I am using R on Windows,
I am ploting CO2 (350,380) variying with year(1993,2003)
I want to over-plot rainfall (10,250) varying with year(1993,2003) on axis-4
axis-1=year(1993,2003),
axis-2=CO2(350,380)
axis-3=None
axis-4=rainfall(10,250)
Kindly help how to over-plot another variable on axis-4.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2005 Jan 14
1
how to produce 2-d color plots in R
Hello 'R' Users,
I am very new on 'R', so excuse me if I ask something wrong.
I have ASCII data and the colums of the data are looks like :-
!-------------------------
time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2model
--
-
--
!----------------------------
Each column has data value. Now I want to produce 2-d color maps,
for example the plot should look like :-
on
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
Dear R Users,
I am using R on windows.
how to use 'points' function to plot two curves with errbar
I am doing like:
x.val <- as.integer(names(co2mean))
errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1,
xlab=NA,ylab=NA)# obs error bar
lines(x.val, co2mean, col=1, lwd=2)
errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3,
co2tm3.month.mean -
2005 Apr 01
3
plot axis appearance problem
Hello,
When I plot any data with simple plot command in
R, for example :-
plot(time,co2,ylim=c(350,380),xlim=c(1993,2003),xlab=NA,ylab=NA,type="p",col=5)
Then the first value of x-axis(350) and
y-axis(1993) never starts from origin, always they
sifted from the origin. Is there any command that
I can correct this in the ploted figure and both
the axis values start from origin.
2013 Feb 22
3
Help xyplot
Hi Mackay and anybody
(a) Is it possible to select randomly (let say five grids) and plot?
(b) Is it possible to plot five nearest grid in one figure?
The original question and improved codes:
#I am ploting gridded time series data. I would like the actual lat
#and lon value appear on the graph-if possible inside the graph as
#numbers. If there is also more elegant ways to plot the graphs I
2008 Jan 22
1
error bar position setting
Hi,
I am using R on Windows XP.
I am using 'arrows' funtion to plot the variance as error bar, BUT error
bar goes only one side of the data point, I need to plot the error bar on
both side of the data point (plot is attached), I am using following
commands to plot,
plot(file3$lat,file3$STotwoKm,pch=21,cex=2.5,ylim=c(-0.2,2.5),xlim=c(-50,50),xlab=NA,ylab=NA,
col=1,
2013 Feb 20
2
xyplot help
I am ploting gridded time series data. I would like the actual lat and lon value appear on the graph-if possible inside the graph as numbers. If there is also more elegant ways to plot the graphs I will appreciate more suggestions.
#################################
library(ggplot2)
library(lattice)
month <- c("Jan", "Feb", "Mar", "Apr", "May",
2010 Sep 30
2
time in year, month, day, hour ?
Dear R Users,
I did not get any reply on my question so I am re-asking.
This time I am giving sample data:
1 60.3162 -13.5993 -0.4353 46.0938 0.1877 -0.194E-07
2 60.3713 -13.5992 -0.4423 46.1241 0.2057 -0.231E-06
3 60.3430 -13.5981 -1.6163 44.9048 0.2237 -0.270E-06
4 60.3227 -13.5970 -2.6258 43.8785 0.2213
2013 Apr 06
2
How to plot several years data with date information by months?
Hi, all
I have a medium sized data, 6 years. Each observation is a case with a date variable, such as '2004-08-02'.
Some of the months didn't occur a case.
I want to plot the 6 years data by month, and the Y_axis is the freqency of cases for each month, meaning 12*6=72 bars or points in the figure.
I though of a method, 1st, using the months function, then ploting. But I need to
2011 Aug 09
1
monthly boxplot
I'm trying to make a monthly boxplot using this:
boxplot(varmeasure ~ vardates)
vardates = [1] 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010
10/1/2010
[8] 10/1/2010 10/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010
....
varmeasure = [1] 0.0 26.0 0.2 -0.2 -1.2 -0.8 0.0 4.4 -0.6
-0.2 14.4 -0.2
[13] 4.8 4.0 2.8 3.2 3.8 3.2 -11.4 0.2 0.4
2004 Nov 12
2
whether R can import netcdf file format data ?
Hello R Users,
Whether 'R' can import Netcdf format data files ??
Any package in 'R' that can help me on this front ??
Many thanks in advance,
Regards,
Yogesh
--
===========================================
Yogesh K. Tiwari,
Max-Planck Institute for Biogeochemistry,
Postfach 10 01 64, D-07701 Jena,
Germany
Office : +49 3641 576376
Fax : +49 3641 577300
Home : +49
2005 Oct 25
1
how to increase the font size of axis data
Hello R Users,
I am a new user to R.
When we make a simple plot then how to
increase the font size of the data at the
each axis.
Many thanks,
Kind regards,
Yogesh
--
===========================================
Yogesh Tiwari,
Max-Planck Institute for Biogeochemistry,
Hans-Knoell Strasse 10,
D-07745 Jena,
Germany
Office : 0049 3641 576 376
Home : 0049 3641 223 163
Fax : 0049 3641
2008 Sep 24
2
climatological standard deviation- (question re-posted)
Sorry for re-posting the question, I did not get any reply.
Kindly reply please if any one can.
###
Hello R users,
I have a montly time series over a several year period.
It's easy to compute a monthly climatology (12 values), Now, I would like to
calculate the corresponding standard deviation, ie the 12 values
calculated from the january values, february values, etc.
What's the best way
2011 Feb 22
2
Calculate a mean for several months for several years
Hello everyone,
I have a dataset with 3 colums (Year, Month, MeanTemp). Now I would like to
calculate the average of the mean temperature for the summer months (Juli,
August, September) for each of the 20 years.
I'm sure it's somehow possible with a loop, but all I tried so far didn't
worked and by the time I spent looking for a solution I would have even be
faster doing this in
2012 Apr 02
2
how to read netcdf file in R
Dear R Users,
I am using R 2.14.1 on windows
How to read netcdf files in R ?
Which packeges do we need to install for this,
and what commands are used for reading netcdf files.
Thanks,
Best Regards,
Yogesh Tiwari
--
Yogesh K. Tiwari (Dr.rer.nat),
Scientist,
Centre for Climate Change Research,
Indian Institute of Tropical Meteorology,
Homi Bhabha Road,
Pashan,
Pune-411008
INDIA
Phone:
2009 May 21
1
Need help on ploting Histograms
this is the command i made for a normal distribution, but when i try to plot
the histograms, i dont know why the bars don't stick on the line...
nsamples<-1000
sampsize<-15
Samples<-matrix(rnorm(nsamples*sampsize,0,1),nrow=nsamples)
a<-apply(Samples,1,var)
NC14<-a*14
x<-0:40
plot(x,dchisq(x,14),type='h')
hist(NC14,freq=F,add=T)
--
View this message in context:
2007 Feb 19
1
need help in reading TOMS observed ASCII data file
Hello R Users,
I am new to R.
I have two data sets i) TOMS aerosol optical depth(AOD) and ii) TOMS
ozone(O3).
>
> AOD data is on 1x1 grid and O3 data is on 5x5 grid.
>
> First I want to read AOD and O3 as it is and then I want to regrid AOD on
> 5x5 grid as O3.
>
> Reading is first problem.
>
> FIRST PROBLEM READING AOD:
>
> AOD data is in following format:
>
2009 Aug 20
4
expanding 1:12 months to Jan:Dec
Dear R users
I would like to do some spreadsheet style expansion of dates. For
example, I would need to obtain a vector of months. I approached in an
obviously wrong way:
> paste(01:12)
[1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12"
> as.Date(paste(01:12),
2008 Sep 24
1
climatological standard deviation
Hello R users,
I have a montly time series over a several year period.
It's easy to compute a monthly climatology (12 values), Now, I would like to
calculate the corresponding standard deviation, ie the 12 values
calculated from the january values, february values, etc.
What's the best way for such a calculation ?
Regards,
Yogesh
--
Yogesh K. Tiwari (Dr.rer.nat),
Scientist,
Indian
2008 Jul 16
1
date to decimal date conversion
Hello R Users,
I want to convert date (yr, mo, day, hr, min, sec) to decimal date,
for example:
Date (in six columns):
yr mo dy hr min sec
1993 02 13 05 52 00
Converted to Decimal date :
1993.3542
How to write a small code in R so I can convert six column date to decimal
date
Many thanks,
Yogesh
--
Yogesh K. Tiwari (Dr.rer.nat),
Scientist,
Indian Institute