Displaying 20 results from an estimated 1000 matches similar to: "plot axis appearance problem"
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
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
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
2009 Feb 10
1
harmonic function fiting? how to do
Dear R Users,
I have a CO2 time series. I want to fit this series seasonal cycle and trend
with fourth harmonic function,
and then compute residuals.
I am doing something like:
file<-read.csv("co2data.csv")
names(file)
attach(file)
fit<-lm(co2~1+time+I(time^2)+sin(2*pi*time)+cos(2*pi*time)+sin(4*pi*time)+cos(4*pi*time)+
2009 Jul 24
1
how to calculate growth rate of a variable
Dear R Users,
If a variable, say CO2(ppm), is varying with time. Then how to calculate CO2
(ppm) growth rate /a-1
I have CO2 time series (1991-2000), as:
time, year, month, day, hour, min, sec, lat, long, height, CO2
1991.476722 1991 6 24 0 5 0 -38.93 145.15 4270 353.680
1991.476741 1991 6 24 0 15 0 -39.20 145.22 4270 353.950
1991.476747 1991 6 24 0 18 0 -39.43 145.28 4270 353.510
2011 Feb 15
1
how to plot average line of a var at y-axis
Dear R Users,
I have a time series of CO2 (1993-2002)
x-axis as time
y-axis as CO2
I would like to over plot a CO2 average line at y-axis on the time series
plot.
How to do it.
Kindly help,
Thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2007 Sep 02
1
how to sub-sample a variable on another file coordinates
Hello 'R' Users,
I have a monthly mean CO2 necdf data file defined on 1x1 lat by lon
coordinate. I want to sub-sample this variable CO2 on the coordinates
of another ASCII data file. The coordinates of another ASCII data file are
as:
-24.01 152.06 -18.58 150.19 -13.46 148.35 -8.29 147.03 -3.14 146.19 1.53
145.59 7.08 145.33 12.25 145.02 17.46 144.31 22.44 142.35 27.53 141.26 33.04
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 -
2007 Sep 04
1
interpolation
Hello R Users,
I am new to R and I have simple problem for R users.
I have CO2 observations defined on time axis(yr,mo,day,hr,min,sec). (DATA
ATTACHED HERE)
First I want to convert time axis as one axis as 'hour' on regular interval
as 1 hour. Say 00 hrs to 24hrs(jan1), 25hrs to 48hrs(jan2) and so on.
Then I want to interpolate CO2 at every hour.
Kindly anybody can help,
Many thanks,
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:
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
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
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
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:
>
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
2007 Aug 07
1
how to convert decimal date to its equivalent date format(YYYY.mm.dd.hr.min.sec)
Hello R Users,
How to convert decimal date to date as YYYY.mm.dd.hr.min.sec
For example, I have decimal date in one column , and want to convert and
write it in equivalent date(YYYY.mm.dd.hr.min.sec) in another next six
columns.
1979.000000
1979.020833
1979.041667
1979.062500
Is it possible in R ?
Kindly help,
Regards,
Yogesh
--
Dr. Yogesh K. Tiwari,
Scientist,
Indian Institute
2007 Sep 04
3
how to do interpolation
Hello R Users,
How to make a variable equidistance with time i.e. how to interpolate a
variable if it is not sampled at equal time interval.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2010 Dec 21
4
how to control ticks
Hi,
I want 12 ticks at axis 1 and want to write Jan-Dec on each.
something like:
axis(1, at=1:12, labels=c('J','F','M','A','M','J','J','A','S','O','N','D'))
I could omit default ticks but now how to control ticks.
plot(file$time, file$ch4*1000, ylim=c(1500,1700), xaxt='n', xlab= NA,
2010 Jul 22
2
how to write legend of a plot
Dear R Users,
If we issue simple plot command in R we don't get legend of the plot
automatically.
For example, following lines plots two curves, but to write a legend of
these two curves there is no simple command. I checked with ?legend but
it seems bit complicated for me. Does anyone know how to get a legend in a
simple way for following R plot.
Thanks, Yogesh
>plot (x,y,