plot_format_setup: Function to set up plot formats.

View source: R/trajectory_visualization_helpers.R

plot_format_setupR Documentation

Function to set up plot formats.

Description

Intended for internal use only.

Usage

plot_format_setup(
  plotting_df,
  attribute_input,
  attribute_type,
  attribute_name,
  user_show_legend
)

Arguments

plotting_df

DF for plotting, either trips or features

attribute_input

The user input value for the attribute (e.g., outline_input = veh_outline)

attribute_type

The type of attribute being constructed (e.g., "outline")

attribute_name

The name of the attribute (e.g., "veh_outline")

user_show_legend

Boolean, user input for if legend should be shown.

Value

List with: 1) new plotting_df, 2) show_legend, 3) attribute_by, and 4) attribute_vals


transittraj documentation built on Nov. 2, 2026, 1:10 a.m.