Holger Vogt
e2cf397b6d
Restrict the limit for exp function (linear growth when exponent
is larger than 14, commit [93a76d]) to the PSPICE compatibility
mode.
5 years ago
Holger Vogt
8da2f3c16d
unify the evaluation of '.options scale=xx'
.option in a netlist will override 'options'
from spinit, .spiceinit or a script
'.options scalm=xx' yields a warning, it is not supported.
5 years ago
dwarning
8a04d049ab
Correct scaling for area and pj geometry scaled diode (level=3)
5 years ago
dwarning
a7cf70e615
Introduce element parameter handling for geometry scaled diode (level=3)
5 years ago
dwarning
56c8a24dd7
Correct parameter handling for geometry scaled diode (level=3)
5 years ago
dwarning
2a55f50192
First attempt for geometry scaled diode (level=3)
5 years ago
Holger Vogt
4bee26b8b9
Remove unused prototype
5 years ago
Holger Vogt
7064df7f3b
Define a preprocessor flag HAS_NG_BOOL
5 years ago
Holger Vogt
f6ba097b9c
Replace BOOL by NG_BOOL
Avoid clashes in environments where BOOL my be used differently.
NG_BOOL is typedefed to int, as ngspice uses int for boolean variables.
5 years ago
Holger Vogt
ded0f79c01
Avoid type 'bool', as ist is a built-in type in C++, not
equaling 'int' which ngspice is using.
Change bool to BOOL and ad a
typedef int BOOL;
5 years ago
Holger Vogt
4dcc243aaf
Add missing references to svg.c
5 years ago
Holger Vogt
0a0479916c
linking with readline failed
after OS upgrade to Big Sur
Install readline from Homebrew
Edit configure flag with link to new readline:
--with-readline=/usr/local/opt
5 years ago
Holger Vogt
5abd8057e6
remove deprecated storage class
5 years ago
Holger Vogt
9311674499
re-enable PostScript/SVG to file by pushbutton
on the ngspice plot window, avoid crash due to double freeing.
5 years ago
Holger Vogt
e1ae8c7495
remove memory leak
5 years ago
Holger Vogt
5b3007e06a
Plotting with feh in macOS failes with --magick-timeout,
so replace it by --conversion-timeout, which does not do
in Linux or Cygwin.
5 years ago
Holger Vogt
9f6d550837
Remove memory leaks in the SVG code
5 years ago
Holger Vogt
74a615d5af
Free tmalloced Cfg.strings[i]
5 years ago
Holger Vogt
02b4f06f2d
variables like color1 may override thie svg_intopts and svg_stropts.
Unsetting the variables will reset to the default.
Malloced colors and cfg.strings will be freed again.
Examples do show more of the options.
5 years ago
Holger Vogt
4b6aa6df6e
more examples
5 years ago
Holger Vogt
bdf50382ac
Add a second call to svg_intopts
5 years ago
Holger Vogt
4303534f91
Shift colorID evaluation to a place after svg_stropts is read.
Remove unused.
5 years ago
Holger Vogt
914604bfab
Update to plotfiles
Plotting with gnuplot, png, svg and PostScript files
5 years ago
Holger Vogt
6443135892
libtool versioning added for Linux shared ngspice.
And commented out immediately, because not compatible
to KiCad, which is linking to libngsice.so.0.0.0
5 years ago
Holger Vogt
1ba168ff30
clarify call to gnuplot on Linux/Cygwin
5 years ago
Holger Vogt
7b9d1fb74a
enable variable 'nolegend' for gnuplot
5 years ago
Holger Vogt
9a82e5061a
Another SVG example input file
5 years ago
Holger Vogt
c7a3fc4401
PostScript example input file
5 years ago
Holger Vogt
f61ea3aa96
if 'set nounits' is given, plotting of the units is suppressed
(they may be added manually to the y and x labels for SI conformity).
5 years ago
Holger Vogt
736d42a5b0
remove unused
5 years ago
Holger Vogt
43f3fceb75
enable svg also for console app on Windows
5 years ago
Holger Vogt
2f2db20305
updates for Cygwin/Linux fonts and font size
5 years ago
Holger Vogt
f31ae08f0b
remove unused args
5 years ago
Holger Vogt
1607b3a21f
X11: Add a button for writing an SVG file to the plot window.
Update button texts.
Add a function hardcopySVG to write the SVG file, called by
clicking the SVG button.
5 years ago
Holger Vogt
43c44a8ca9
correct description
5 years ago
Holger Vogt
1f54a6add3
WinGUI: Make the text output from com_hardcopy available immediately
by call to function UpdateMainText.
Enable color for postscript output.
5 years ago
Holger Vogt
dec865cb30
use feh for plotting *.svg in Cygwin
5 years ago
Holger Vogt
ddf8336bdb
examples for creating svg output and plotting
5 years ago
Holger Vogt
683ef77955
Separate color and b&w
b&w in the plot window is not(yet) supported.
5 years ago
Holger Vogt
6d388e1679
Select black&white, if appropriate
Return colorID to previous values after hardcopying.
5 years ago
Holger Vogt
c24d68104f
svg hardcopy example
6 years ago
Holger Vogt
391822b558
use colorN as for normal plots
color0 is background
svg_intops and svg_stropts may set all parameters
6 years ago
Holger Vogt
bc678baaca
modified from Giles Atkinson's patch:
use hardcopy entries to set variables
maybe overridden by stropts and intopts list variables
6 years ago
Holger Vogt
6b4d2a9241
separate svg and postscript handling
6 years ago
Holger Vogt
dacd727d87
separate svg and postscript
suitable text placement for svg
6 years ago
Holger Vogt
87b59d22a5
add generation of svg graphics file
based on patch no. 97 by Giles Atkinson
6 years ago
Holger Vogt
598751eb8d
Update for ngspice-34
Should have been updated for the 34 release, but somehow
got lost in beween.
5 years ago
Holger Vogt
254c223284
cmpp is no longer distributed
remove man entry
5 years ago
Holger Vogt
b86c85f85b
Safeguard against usage of --with-readline or --with-editline
Some package maintainers have erroneously used the above ./configure
flags during compiling libngspice-0.so. This has led to an unresolved
symbol history_file with ngspice-34.
5 years ago
Holger Vogt
8076e2b4cf
Check for double '{{ }}', replace the inner '{', '}' by '(', ')'
in .model lines, if compat mode ps is set. Enables use of some On-Semi
power transistor models.
5 years ago