Holger Vogt
7b9d1fb74a
enable variable 'nolegend' for gnuplot
5 years ago
Holger Vogt
a77b529928
set the locale to "C" locally, if shared ngspice
5 years ago
Holger Vogt
ba1945d685
enable flags xdelta, ydelta for gnuplot command
6 years ago
Jim Monte
3a72b8e562
const qualifier, graph removed from SetColor,
6 years ago
Holger Vogt
1398ee7aa0
set the proper preprocessor flag __MINGW32__
6 years ago
Holger Vogt
e53632c368
When plotting arrays of curves, plot lines only in the direction
of (in absolute terms) growing x values.
Example: MOS output characteristics.
In the rare case of plotting versus varying x directions
(e.g. example memristor.sp), one has to add the flag
'retraceplot' to the plot command.
6 years ago
Holger Vogt
1919cf5c94
replace variable 'gridwidth' by 'xgridwidth'
6 years ago
Holger Vogt
8d986e50cc
remove the remains of the old xgraph program
that has not been supported for many years
6 years ago
Holger Vogt
18f1e896f8
allow independent linewidth and gridwidth settings from within the .control section
6 years ago
Holger Vogt
3d009fef22
Variables xbrushwidth and gridwidth (to be set e.g. in
.spiceinit) allow setting separately the linewidths of the
graph (xbrushwidth) and the grid (gridwidth).
8 years ago
h_vogt
dbd0a5743a
Enable utf-8 and UNICODE for string handling.
preprocessor flag EXT_ASC resets handling to old behaviour.
Add utf-16 wide char to all Windows string i/o.
Add translation between utf-8 and utf-16.
Add angle to fcn DevDrawText.
9 years ago
Jim Monte
57ffe1769f
Fixed "phantom vector" issue with plots and crash when plots are resized. See bugs #419 and #423 for details. Also several parameters were changed from char * to const char * in the plotting functions.
6 years ago
Holger Vogt
05f02f3662
On Linux: allow calling gnuplot without invoking a terminal.
Reported by Terry Pilling
6 years ago
Holger Vogt
31db4228f5
fix a typo, correct writing to files under Linux
7 years ago
Holger Vogt
52584312c3
delete the plt and data files after writing eps or png
(only if gnuplot_terminal is set to eps/quit of png/quit)
7 years ago
Holger Vogt
8efa08602a
no plotting, only saving to file
if gnuplot_terminal is eps/quit or png/quit
7 years ago
Holger Vogt
601dfbd781
sprintf -> snprintf: prevent buffer overflow
7 years ago
Holger Vogt
ec4625eda6
redo gnuplot_terminal: Do not save eps/png automatically
none 1: do not print an eps or png file (default)
png 2: print png file, keep command window open
png/quit 3: print png file, quit command window
eps 4: print eps file, keep command window open
eps/quit 5: print eps file, quit command window
7 years ago
Holger Vogt
2344e3d012
patch no. 30 by astx:
don't show command window if gnuplot_terminal is set to png/quit
7 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
h_vogt
c8cd763314
gnuplot.c, add 'noretraceplot' to prevent retracing of the graph if plotting against a vector which is not the original scale vector ('plot vec1 vs vec2')
10 years ago
rlar
91c60c28df
whitespace change, avoid gcc warnings due to missleading indentation
9 years ago
h_vogt
b3827f6488
gnuplot.c, correct the setting of limits in log plots
9 years ago
h_vogt
e5d70d0821
gnuplot.c, bug fix, allow gnuplot with MINGW
9 years ago
h_vogt
c0d5d054ab
gnuplot.c, ft_gnuplot(), suppress generating the .eps and .png file
when the given output file name starts with "np_"
10 years ago
h_vogt
42ac9a2859
gnuplot.c, ft_writesimple(), upgrade command 'wrdata'
- remove a bug to allow printing of vectors with differing scale lengths
- add option 'numdgt' to specify the width of the numbers printed
- add variable wr_singlescale
use 'set wr_singlescale' to print the scale vector only once
(vectors need to have equal scale lengths)
- add variable wr_vecnames
use 'set wr_vecnames' to print the vector names to the first row
10 years ago
h_vogt
fef2e1439d
gnuplot.c, ft_writesimple(), command 'wrdata', use the given filename literally
10 years ago
rlar
299849c0db
plotting/gnuplot.c, ft_gnuplot(), bug fix, allow plotting a family of curves
in the vein of plotcurv.c, ft_graf()
10 years ago
rlar
39fdeb0c9a
src/frontend/plotting/gnuplot.c, enforce "noenhanced text" mode
Contrary to older versions gnuplot 5 uses "enhanced text mode" per default.
The strings which we pass to gnuplot don't have "latex" semantics,
thus consistently enforce "noenhanced text mode".
Add a function quote_gnuplot_string() to escape and quote strings
in such a way that they will arrive in gnuplot unmodified.
11 years ago
h_vogt
bd1b4a2162
gnuplot.c: enable correct terminal for non MINGW/MSVC
12 years ago
dwarning
6abd2e2c0c
gnuplot.c: allow png terminal by gnuplot_terminal variable
14 years ago
h_vogt
3ca1235602
gnuplot.c: improve scaling of y axis
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
h_vogt
0ea3e30805
wrdata now prints complex variables and recognizes 'appendwrite'
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
rlar
0aa1c09d73
consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
16 years ago
dwarning
532a13fd08
missing LF on end
16 years ago
h_vogt
4068f498c6
command wrdata
16 years ago
h_vogt
f34a09b540
gnuplot update
16 years ago
h_vogt
b500f3e32c
calling gnuplot via xterm
16 years ago
h_vogt
46e6df66ce
gnuplot enhancements (for Windows)
16 years ago
h_vogt
c1f06ba5c4
patch by R. Larice
16 years ago
dwarning
07e06cf701
initialize local variables
17 years ago