cuikplotpath.c File Reference

Detailed Description


Plots a 3d projection of an atlas generated with cuikatlas.

See Also

Definition in file cuikplotpath.c.


int main (int argc, char **arg)
 Main body of the cuikplotpath application. More...

Function Documentation

int main ( int  argc,
char **  arg 

Main body of the cuikplotpath application.


  • cuikplotpath problem_name [path_name] xID yID zID


  • problem_name is used to load the .world and .atlas files necessary to generate the .cgl plot.
  • path_name [optional] The file with the path to plot. If not given the path filename is assumed to be problem_name_path.sol .
  • xID yID zID are the identifier of the variables on which to project. These are indices of system variables, numbered consecutively and without considering dummy ones (these are the ones stored, for instance, in the solution path files).

The problem_name and path_name (if given) are without extension (if given it is removed).

argcNumber of elements in the command line that starts the application (i.e., the cuikplotpath command itself and its arguments).
argStrings with the arguments.
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 71 of file cuikplotpath.c.

References ClosePlot3d(), CreateFileName(), CS_WD_DELETE, CS_WD_GET_SYSTEM_VARS, CS_WD_INIT, DeleteFileName(), DeleteParameters(), DeleteSamples(), Error(), FALSE, GetFileFullName(), InitParametersFromFile(), InitPlot3d(), LoadSamples(), PARAM_EXT, PLOT3D_EXT, PlotSamples(), and SOL_EXT.