calling gnuplot via xterm
This commit is contained in:
parent
2c5ed4f83e
commit
b500f3e32c
|
|
@ -1,3 +1,7 @@
|
||||||
|
2010-01-01 Holger Vogt
|
||||||
|
* spinit.in: Small update
|
||||||
|
gnuplot.c: calling gnuplot via xterm
|
||||||
|
|
||||||
2009-12-31 Holger Vogt
|
2009-12-31 Holger Vogt
|
||||||
* measure.c, resource.c, mesaload.c: small patches by R. Larice
|
* measure.c, resource.c, mesaload.c: small patches by R. Larice
|
||||||
graf.c, plotit.c: gnuplot updates, point chars updated
|
graf.c, plotit.c: gnuplot updates, point chars updated
|
||||||
|
|
|
||||||
|
|
@ -209,11 +209,10 @@ ft_gnuplot(double *xlims, double *ylims, char *filename, char *title, char *xlab
|
||||||
(void) fclose( file_data );
|
(void) fclose( file_data );
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||||
// (void) sprintf( buf, "wgnuplot %s -", filename_plt );
|
|
||||||
(void) sprintf( buf, "start /B wgnuplot %s -" , filename_plt );
|
(void) sprintf( buf, "start /B wgnuplot %s -" , filename_plt );
|
||||||
_flushall();
|
_flushall();
|
||||||
#else
|
#else
|
||||||
(void) sprintf( buf, "gnuplot %s - &", filename_plt );
|
(void) sprintf( buf, "xterm -e gnuplot %s - &", filename_plt );
|
||||||
#endif
|
#endif
|
||||||
err = system( buf );
|
err = system( buf );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,17 @@ alias exit quit
|
||||||
alias acct rusage all
|
alias acct rusage all
|
||||||
set x11lineararcs
|
set x11lineararcs
|
||||||
*set rndseed=12
|
*set rndseed=12
|
||||||
|
** ascii rawfile **
|
||||||
*set filetype=ascii
|
*set filetype=ascii
|
||||||
|
** frontend debug output **
|
||||||
|
*set ngdebug
|
||||||
|
** no asking after quit **
|
||||||
|
*set noaskquit
|
||||||
|
|
||||||
*unset brief
|
|
||||||
|
|
||||||
strcmp __flag $program "ngspice"
|
strcmp __flag $program "ngspice"
|
||||||
if $__flag = 0
|
if $__flag = 0
|
||||||
|
|
||||||
*set numparams
|
|
||||||
|
|
||||||
* For SPICE2 POLYs, edit the below line to point to the location
|
* For SPICE2 POLYs, edit the below line to point to the location
|
||||||
* of your codemodel.
|
* of your codemodel.
|
||||||
@XSPICEINIT@ codemodel @prefix@/lib/spice/spice2poly.cm
|
@XSPICEINIT@ codemodel @prefix@/lib/spice/spice2poly.cm
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue