plot_sensor_and_truth_data_with_altitude: Plot both sensor and truth data with altitude

View source: R/plot_sensor_and_truth_data_with_altitude.R

plot_sensor_and_truth_data_with_altitudeR Documentation

Plot both sensor and truth data with altitude

Description

In data sets with nonzero altitude it may be useful to plot target altitude along with latitude and longitude. The central panel of this figure is the same as plot_raw_data(), but includes side panels that show the altitude of tracks and targets.

This figure can be created before any tracks are assigned to targets to ensure that the user has imported the data correctly and to get an overall picture of the test. Because it is a layout of objects it is more difficult to change the text labels than plot_sensor_and_truth_data().

Usage

plot_sensor_and_truth_data_with_altitude(scenario, offset = 0.01, textSize = 3)

Arguments

scenario

MUST contain targetTruth, ownShipTruth, and sensorData

offset

amount to offset labels (in degrees latitude)

textSize

size of label text

Value

layout of ggplots

Examples

plot_sensor_and_truth_data_with_altitude(example1_scenario, offset = 0.01, textSize = 3)

battleVerse/scenarioMaker documentation built on July 16, 2024, 4:21 a.m.