Sir the data used in function ts.plot() is of the form


          Jan  Feb  Mar  Apr  May  Jun  Jul  Aug  Sep  Oct  Nov
1974 2134 1863 1877 1877 1492 1249 1280 1131 1209 1492 1621
1975 2103 2137 2153 1833 1403 1288 1186 1133 1053 1347 1545
1976 2020 2750 2283 1479 1189 1160 1113  970  999 1208 1467
1977 2240 1634 1722 1801 1246 1162 1087 1013  959 1179 1229
1978 2019 2284 1942 1423 1340 1187 1098 1004  970 1140 1110
1979 2263 1820 1846 1531 1215 1075 1056  975  940 1081 1294


But I have the data series of the form

   YEAR Khanpur
1   1952    52.1
2   1953    22.4
3    1954    26.4
4    1955   132.8
5   1956    71.9
6   1957    10.4
7   1958     9.1
8   1959    49.8

because of which the sacle on x-axis are the numbers 1,2 3,..etc.

Please guid in this regard

Thank you




On 10/1/07, Gabor Grothendieck <ggrothendieck@gmail.com> wrote:
>
> See ?ts.plot
> Also ?plot.zoo and ?xyplot.zoo in the zoo package.
>
> On 10/1/07, amna khan <amnakhan493@gmail.com> wrote:
> > Dear Sir
> >
> > I want to plot the two time series having unequal number of
> observations,
> > say, one series having values from year 1960 to year 2000 and other
> having
> > values from year 1975 to year 2000. How to plot them on a single graph
> > sheet.
> >
> > Regards
> >
> >
> > --
> > AMINA SHAHZADI
> > Department of Statistics
> > GC University Lahore, Pakistan.
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>



-- 
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.

	[[alternative HTML version deleted]]

