Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

cuikplot.c File Reference

Main body of the cuikplot application. More...

#include "boolean.h"
#include "plot.h"
#include "box.h"
#include "defines.h"
#include "filename.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.

Functions

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

Detailed Description

A utility to generate 2d plots of boxes. The output is in xfig format.

See also:
cuikplot3d.c

Definition in file cuikplot.c.


Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikplot application.

Use:

  • cuikplot solution_name dimx dimy plot_name

where

  • solution_name is the file with the solutions to be ploted
  • dimx, dimy are the two dimensions to be plotted (numbered from 1)
  • plot_name is the output .fig file.
Parameters:
argc Number of elements in the command line that starts the application (i.e., the cuikplot command itself and its arguments).
arg Strings with the arguments.
Returns:
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 44 of file cuikplot.c.

References ClosePlot(), CreateFileName(), DeleteBox(), DeleteFileName(), Error(), GetBoxInterval(), GetFileFullName(), InitPlot(), LowerLimit(), PLOT2D_EXT, PlotAxis(), PlotRectangle(), ReadBox(), SetOrigin(), SOL_EXT, and UpperLimit().

Here is the call graph for this function: