[R] need help with a time series plotting problem

vibhava vibhavasrivastava at gmail.com
Sat Dec 24 15:24:20 CET 2011


thanks for the reply. here is subset of the data that i want to plot:
	date	usgs700	
1	10/1/2000	0.050970325			
2	10/2/2000	0.041059428			
3	10/3/2000	0.032564374			
4	10/4/2000	0.02775051
.
.
.
.
.

4014	9/27/2011	0	
4015	9/28/2011	0	
4016	9/29/2011	0	
4017	9/30/2011	0	

my script again is:

setwd("J:/Rstuff/flow")
flow=read.delim("flow.dat",header=TRUE,sep="\t")
plot(flow$usgs1500~as.Date(flow$date,
"%m/%d/%y"),type="l",xlab="date",ylab="daily discharge (m3/s)
",main="USGS1500",yaxs="i", xaxs="i",)


i wish to plot all this data as a single time series but my program is doing
some weird stuff and the x-axis has labels Jan-dec and the long term series
is broken and plotted on yearly basis.

regards

vibhava

--
View this message in context: http://r.789695.n4.nabble.com/need-help-with-a-time-series-plotting-problem-tp4230672p4231285.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list