Skip to content

Commit 2539b9c

Browse files
authored
Update plot.jl
1 parent c68be80 commit 2539b9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/plot.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ path constraints, and dual variables over time, depending on the user’s choice
11861186
11871187
# Arguments
11881188
1189-
- `sol::CTModels.Solution`: The optimal control solution to visualize. Typically the result of solving a problem using CTDirect.jl or CTKnitro.jl.
1189+
- `sol::CTModels.Solution`: The optimal control solution to visualize. Typically the result after solving a problem.
11901190
- `description::Symbol...`: A variable number of symbols indicating which components to include in the plot. Common values include:
11911191
- `:state` – plot the state trajectory.
11921192
- `:costate` – plot the costate (adjoint) variables.
@@ -1215,7 +1215,7 @@ If no symbols are provided, a default set is used based on the problem and style
12151215
12161216
## Style Options (Optional)
12171217
1218-
All style-related keyword arguments can be either a `NamedTuple` of plotting attributes or a `Symbol` referring to a predefined style. These allow you to customize color, line style, markers, etc.
1218+
All style-related keyword arguments can be either a `NamedTuple` of plotting attributes or the `Symbol` `:none` referring to not plot the associated element. These allow you to customize color, line style, markers, etc.
12191219
12201220
- `state_style`: Plot style for state components.
12211221
- `costate_style`: Plot style for costate components.
@@ -1225,7 +1225,7 @@ All style-related keyword arguments can be either a `NamedTuple` of plotting att
12251225
12261226
## Bounds Decorations (Optional)
12271227
1228-
Use these options to show bounds on the plots if applicable and defined in the model.
1228+
Use these options to show bounds on the plots if applicable and defined in the model. If set to `:none` then it is not shown on the plots.
12291229
12301230
- `state_bounds_style`: Style for state variable bounds.
12311231
- `control_bounds_style`: Style for control bounds.

0 commit comments

Comments
 (0)