View source: R/plot_relative_truth_and_sensor.R
plot_relative_truth_and_sensor | 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(
scenario,
offset = 1,
textSize = 3,
hideLegend = FALSE,
useDefaultColors = FALSE,
plotWhich = "both"
)
scenario |
must contain either or both: targetOwnshipDistance, trackOwnshipDistance |
offset |
(default = 1) amount to offset labels (in degrees) |
textSize |
(default = 3) size of label text |
hideLegend |
hides the legend to make the graph easier to read (default=FALSE) |
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. |
ggplot object
plot_relative_truth_and_sensor(example1_scenario, offset = 1, textSize = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.