Plot sensor_depth_below_surface_m coloured by depth_flag
adcp_plot_depth_flags.RdPlot sensor_depth_below_surface_m coloured by depth_flag
Arguments
- dat
Data frame of ACDP data in long format, including
depth_flagcolumn, as exported fromadcp_flag_data().- plotly_friendly
Logical argument. If
TRUE, the legend will be plotted whenplotly::ggplotlyis called onp. Default isFALSE, which makes the legend look better in a static figure.