Description Usage Arguments Details Value See Also Examples

Plot line traces of estimated tide levels against time.

1 2 3 4 |

`x` |
An object of class |

`from` |
Time and date from which to plot. Should be a POSIXct object or something which can be converted to a POSIXct object. If no time zone is given then UTC is assumed. |

`to` |
Time and date up to which to plot. Should be a POSIXct object or something which can be converted to a POSIXct object. If no time zone is given then UTC is assumed. |

`by` |
The time interval in hours between calculated tidal
predictions. If |

`split` |
If |

`which` |
If |

`msl` |
Add the mean sea-level to the plots? A time-varying mean sea-level will be used if this has been implemented for the tidal object. |

`xlab,ylab` |
Graphical parameters. |

`main,ask` |
Graphical parameters. |

`...` |
Other parameters to be passed through to plotting functions. |

Note that nodal corrections and time-varying mean sea-levels will be used if and only if they were implemented for the tidal object. The longitude formulas will also be the same as those used for the tidal object.

The dates/times plotted on the x-axis correspond to the time zone
used for the `from`

object.

A list of times and predictions is returned invisibly.

1 2 3 4 5 6 7 8 | ```
hfit1 <- ftide(Hillarys$SeaLevel, Hillarys$DateTime, hc60)
hfit2 <- ftide(Hillarys$Sea, Hillarys$Date, hc7, smsl=TRUE)
t1 <- as.POSIXct("2012-12-31 23:00", tz = "UTC")
t2 <- as.POSIXct("2013-01-02 14:00", tz = "UTC")
plot(hfit1, t1, t2)
plot(hfit2, t1, t2, split = TRUE)
plot(hfit2, t1, t2, split = TRUE, which = c("M2","S2"))
plot(hfit2, t1, t2, which = "M2", msl = FALSE)
``` |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.