You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/plot.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1186,7 +1186,7 @@ path constraints, and dual variables over time, depending on the user’s choice
1186
1186
1187
1187
# Arguments
1188
1188
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.
1190
1190
- `description::Symbol...`: A variable number of symbols indicating which components to include in the plot. Common values include:
1191
1191
- `:state` – plot the state trajectory.
1192
1192
- `: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
1215
1215
1216
1216
## Style Options (Optional)
1217
1217
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.
1219
1219
1220
1220
- `state_style`: Plot style for state components.
1221
1221
- `costate_style`: Plot style for costate components.
@@ -1225,7 +1225,7 @@ All style-related keyword arguments can be either a `NamedTuple` of plotting att
1225
1225
1226
1226
## Bounds Decorations (Optional)
1227
1227
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.
1229
1229
1230
1230
- `state_bounds_style`: Style for state variable bounds.
1231
1231
- `control_bounds_style`: Style for control bounds.
0 commit comments