Matlab/Octave: the file OUTPUT/output_view.m can be executed by typing output_view in a Matlab or Octave user’s interface (we advise to first set the current Matlab’s directory to OUTPUT/). Some parameters are given below:
For the first figure:
level_set : a level set value.
PLOT_CONTOUR ∈ {0,1}: if set to 1, will plot contours of the output with level_set value.
PLOT_REACHABLE ∈ {0,1}: if set to 1, will plot the 2d set of points where output value is ≤level_set).
This plot is based on the output value which is in the file VF.dat for DIM=2, and a priori in the file coupe.dat for DIM>2.
For the second figure:
PLOT_3d ∈ {0,1}: set this parameter to 1 in order to obtain a 3d plot of the result (or of coupe.dat if available).
PLOT_TMIN ∈ {0,1}: (default is 0). Set this parameter to 1 in order to obtain a 3d graph of the minimal time (to reach a target). Will then use output topt.dat, and will draw several contour plots ranging from 0 to T (plotting topt.dat is only working for DIM=2).
For a third figure:
PLOT_3d_EX ∈ {0,1}: set this parameter to 1 in order to obtain a 3d graph of the exact value (or of coupeex.dat if available).
Also for the figures above,
∙AXIS_EQUAL ∈ {0,1}: if set to 1, will make "axis equal".
∙TRAJECTORY ∈ {0,1}: if set to 1, will plot for each trajectory the first two components (x1,x2) (on the first figure).
∙SUPPLEMENT_TRAJECTORY ∈ {0,1}: if set to 1, will furthermore draw the trajectories (and controls) in separated graphs.
Paraview:
(obsolete) This option is only working for some 2d/3d cases.
Launch "paraview", then load the files in VTK/*.