Displaying 1 result from an estimated 1 matches for "plottimeserie".
Did you mean:
plot3timeseries
2011 Sep 28
1
generic argument passing to plot function
Hello I am trying to write a function that would plot timeseries easily...
I aim at plotting two time-series on 2 different y axis sharing the same
x-axis
I succeded in doing so:
plotTimeSerie(x,y,y2,[a lot of other args]){
...
plot()
axis.POSIXct(side=1) #here I build the x-axis
points() #here I plot the first time serie related to y-axis
...
axis(side=2,[some args])
text(side=2,text="",[some args]) #here I build the y-left axis and annotate
with text
...
points() #here I plo...