[R-sig-Geo] Discharge and rainfall time series in one plot

Jim Lemon jim at bitwrit.com.au
Wed Oct 7 12:39:51 CEST 2009


On 10/07/2009 07:40 PM, ageel bushara wrote:
> Dear list members,
> I want to plot discharge time series and rainfall time series in the same plot. The discharge in m3/s in the main y-axis and the time (every 15 minutes having a form 01-07-1997 10:15:00) in the main x-axis. The rainfall (mm) is in the secondary y-axis and the time in the secondary x-axis. How can I do it and which package shall I use.
>    
Hi Ageel,
You can do this with the twoord.plot function in the plotrix package.

Jim



More information about the R-sig-Geo mailing list