version 1.149, 2014/06/18 15:51:14
|
version 1.150, 2014/06/18 16:42:35
|
Line 1
|
Line 1
|
/* $Id$ |
/* $Id$ |
$State$ |
$State$ |
$Log$ |
$Log$ |
|
Revision 1.150 2014/06/18 16:42:35 brouard |
|
Summary: If gnuplot is not in the path try on same directory than imach binary (OSX) |
|
Author: brouard |
|
|
Revision 1.149 2014/06/18 15:51:14 brouard |
Revision 1.149 2014/06/18 15:51:14 brouard |
Summary: Some fixes in parameter files errors |
Summary: Some fixes in parameter files errors |
Author: Nicolas Brouard |
Author: Nicolas Brouard |
Line 6663 Interval (in months) between two waves:
|
Line 6667 Interval (in months) between two waves:
|
printf("Starting graphs with: %s\n",plotcmd);fflush(stdout); |
printf("Starting graphs with: %s\n",plotcmd);fflush(stdout); |
|
|
if((outcmd=system(plotcmd)) != 0){ |
if((outcmd=system(plotcmd)) != 0){ |
printf("\n Problem with gnuplot\n"); |
printf("\n Problem with gnuplot command %s\n"plotcmd); |
|
printf("\n Trying on same directory\n"); |
|
sprintf(plotcmd,"./gnuplot %s", optionfilegnuplot); |
|
if((outcmd=system(plotcmd)) != 0) |
|
printf("\n Still a problem with gnuplot command %s\n", plotcmd); |
} |
} |
printf(" Wait..."); |
printf(" Wait..."); |
while (z[0] != 'q') { |
while (z[0] != 'q') { |