View source: R/plot_relative_truth_and_sensor_plotly.R
plot_relative_truth_and_sensor_plotly | R Documentation |
This figure shows the bearing and range of targets and/or tracks relative to the sensor system (ownship).
plot_relative_truth_and_sensor_plotly(
scenario,
offset = 1,
textSize = 3,
useDefaultColors = FALSE,
plotWhich = "both",
legendOnly = FALSE
)
scenario |
must contain either or both: targetOwnshipDistance, trackOwnshipDistance |
offset |
(default = 1) amount to offset labels (in degrees) |
textSize |
(default = 3) size of label text |
useDefaultColors |
(default=FALSE) if you DO have platformInfo filled in, but want to ignore the colors and use defaults, set this to true |
plotWhich |
(default = 'both') also accepts 'sensor' or 'truth'. Plots only truth-ownship or track-ownship or plots both. |
legendOnly |
(boolean, default = FALSE) Initially populates plot with only the legend. Data can be turned on by selecting the data from the legend. Good for plots with a large number of traces |
plotly object
plot_relative_truth_and_sensor_plotly(example1_scenario, offset = 1, textSize = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.