plot.ndive | R Documentation |
Plot the dive curve depending on time and depth. Only represent square profile
## S3 method for class 'ndive' plot( x, ..., dtr_print = FALSE, hour_print = TRUE, line_print = TRUE, deco_print = TRUE, depth_print = TRUE, time_print = TRUE, def_cols = FALSE, cut_inter = 60, legend = FALSE, add = FALSE )
x |
an object of class ndive. |
... |
every argument for the
|
dtr_print |
set to |
hour_print |
set to |
line_print |
set to |
deco_print |
set to |
depth_print |
set to |
time_print |
set to |
def_cols |
set to |
cut_inter |
60 by default above which the plot is cut in x axis to maintain readibility |
legend |
set to |
add |
set to |
Jaunatre Maxime <maxime.jaunatre@yahoo.fr>
plot
, title
and
par
for plot parameter that were omitted
on this documentation
ndive
for every aspect about
ndive object creations.
# Consecutive dives d <- ndive(dive1 = dive(18,11), dive2 = dive(15,40), inter = 1) plot(d, main = 'consec') # Consecutive dives with second impossible d <- ndive(dive1 = dive(35,11), dive2 = dive(30,20), inter = 4) plot(d, def_cols = TRUE, main = 'no_consec') # Successive dive when inter <= cut_inter d <- ndive(dive1 = dive(18,40), dive2 = dive(15,30), inter = 60) plot(d, def_cols = TRUE, main = 'success no cut') # Successive dive when inter > cut_inter d <- ndive(dive1 = dive(20,40), dive2 = dive(20,30), inter = 121) plot(d, def_cols = TRUE, main = 'success cut') # Successive dive with second impossible d <- ndive(dive1 = dive(18,40), dive2 = dive(35,30), inter = 120) plot(d, def_cols = TRUE, main = 'maj_no_success') # Successive dive with second impossible d <- ndive(dive1 = dive(62,11), dive2 = dive(15,30), inter = 120) plot(d, def_cols = TRUE, main = '60_no_sucess') # Different dives d <- ndive(dive1 = dive(18,11), dive2 = dive(47,8), inter = 730) plot(d, def_cols = TRUE, main = 'diff cut')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.