Go to the documentation of this file.
61 int main( int argc, char **arg)
68 unsigned int dim_x,dim_y;
69 double min_x,max_x,min_y,max_y;
77 fprintf(stderr, "Use:\n");
78 fprintf(stderr, " cuikplot <filename> dimx dimy <plotname>\n");
79 fprintf(stderr, " <filename> the input .sol file\n");
80 fprintf(stderr, " dimx dimy the two dimensions to be plotted (numbered from 1)\n");
81 fprintf(stderr, " <plotname> the output .fig file\n");
91 Error( "Input file can not be opened");
93 dim_x=( unsigned int)atoi(arg[2]);
94 dim_y=( unsigned int)atoi(arg[3]);
97 if ((dim_x==0)||(dim_y==0))
98 Error( "Dimensions are numbered from 1\n");
101 Error( "Plotting dimensions must be different\n");
111 sprintf(nx, "V%u",dim_x);
112 sprintf(ny, "V%u",dim_y);
113 PlotAxis(nx,-3,3,ny,-3,3,0.5,&plot);
145 return(EXIT_SUCCESS);
|
Follow us!