mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-07 13:20:05 +02:00
calling gnuplot via xterm
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-01-01 Holger Vogt
|
||||
* spinit.in: Small update
|
||||
gnuplot.c: calling gnuplot via xterm
|
||||
|
||||
2009-12-31 Holger Vogt
|
||||
* measure.c, resource.c, mesaload.c: small patches by R. Larice
|
||||
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 );
|
||||
|
||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||
// (void) sprintf( buf, "wgnuplot %s -", filename_plt );
|
||||
(void) sprintf( buf, "start /B wgnuplot %s -" , filename_plt );
|
||||
_flushall();
|
||||
#else
|
||||
(void) sprintf( buf, "gnuplot %s - &", filename_plt );
|
||||
(void) sprintf( buf, "xterm -e gnuplot %s - &", filename_plt );
|
||||
#endif
|
||||
err = system( buf );
|
||||
|
||||
|
||||
+5
-3
@@ -3,15 +3,17 @@ alias exit quit
|
||||
alias acct rusage all
|
||||
set x11lineararcs
|
||||
*set rndseed=12
|
||||
** ascii rawfile **
|
||||
*set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** no asking after quit **
|
||||
*set noaskquit
|
||||
|
||||
*unset brief
|
||||
|
||||
strcmp __flag $program "ngspice"
|
||||
if $__flag = 0
|
||||
|
||||
*set numparams
|
||||
|
||||
* For SPICE2 POLYs, edit the below line to point to the location
|
||||
* of your codemodel.
|
||||
@XSPICEINIT@ codemodel @prefix@/lib/spice/spice2poly.cm
|
||||
|
||||
Reference in New Issue
Block a user