Commit Graph

7314 Commits

Author SHA1 Message Date
Holger Vogt 8f90a65cba Plotting with feh in macOS failes with --magick-timeout,
so replace it by --conversion-timeout, which does not do
in Linux or Cygwin.
2021-03-17 12:11:01 +01:00
Holger Vogt dcb421d438 Remove memory leaks in the SVG code 2021-03-16 20:54:06 +01:00
Holger Vogt bbf9f6a1d1 Free tmalloced Cfg.strings[i] 2021-03-16 15:12:49 +01:00
Holger Vogt 844a3038fb 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.
2021-03-16 13:55:18 +01:00
Holger Vogt 4291b582c1 more examples 2021-03-16 11:04:26 +01:00
Holger Vogt 951a0af6ff Add a second call to svg_intopts 2021-03-16 11:04:17 +01:00
Holger Vogt 09d932cc14 Shift colorID evaluation to a place after svg_stropts is read.
Remove unused.
2021-03-16 11:04:06 +01:00
Holger Vogt 1ec7212d41 Update to plotfiles
Plotting with gnuplot, png, svg and PostScript files
2021-03-10 21:15:05 +01:00
Holger Vogt d2266cbf5b 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
2021-03-10 15:59:19 +01:00
Holger Vogt 93186794d1 clarify call to gnuplot on Linux/Cygwin 2021-03-10 15:57:08 +01:00
Holger Vogt a98c23385c enable variable 'nolegend' for gnuplot 2021-03-09 23:09:12 +01:00
Holger Vogt 5bf2422caa Another SVG example input file 2021-03-07 22:13:08 +01:00
Holger Vogt 47f8bc1589 PostScript example input file 2021-03-07 22:06:07 +01:00
Holger Vogt ec4be5141b 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).
2021-03-07 22:03:04 +01:00
Holger Vogt b5bf9e5d9c remove unused 2021-03-07 15:58:04 +01:00
Holger Vogt 3c9c5322cb enable svg also for console app on Windows 2021-03-07 15:57:43 +01:00
Holger Vogt 25c560570c updates for Cygwin/Linux fonts and font size 2021-03-03 20:42:03 +01:00
Holger Vogt 0a9a65313e remove unused args 2021-03-02 18:15:33 +01:00
Holger Vogt 7ac77e818e 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.
2021-03-02 18:11:07 +01:00
Holger Vogt 05e3c9a988 correct description 2021-03-02 18:08:36 +01:00
Holger Vogt 9eed75b192 WinGUI: Make the text output from com_hardcopy available immediately
by call to function UpdateMainText.

Enable color for postscript output.
2021-03-02 12:15:23 +01:00
Holger Vogt 2c23c9c528 use feh for plotting *.svg in Cygwin 2021-03-01 00:33:39 +01:00
Holger Vogt 0a0b31e36e examples for creating svg output and plotting 2021-02-28 19:57:23 +01:00
Holger Vogt cf6a190c76 Separate color and b&w
b&w in the plot window is not(yet) supported.
2021-02-28 19:34:51 +01:00
Holger Vogt 2257e40703 Select black&white, if appropriate
Return colorID to previous values after hardcopying.
2021-02-28 17:04:43 +01:00
Holger Vogt b9c0617439 svg hardcopy example 2021-02-28 08:21:30 +01:00
Holger Vogt 4ba84ec931 use colorN as for normal plots
color0 is background
svg_intops and svg_stropts may set all parameters
2021-02-28 08:21:13 +01:00
Holger Vogt a34aeaa242 modified from Giles Atkinson's patch:
use hardcopy entries to set variables
maybe overridden by stropts and intopts list variables
2021-02-28 08:20:57 +01:00
Holger Vogt 3b4e6ea123 separate svg and postscript handling 2021-02-28 08:20:42 +01:00
Holger Vogt 286570c746 separate svg and postscript
suitable text placement for svg
2021-02-28 08:20:21 +01:00
Holger Vogt 982464d590 add generation of svg graphics file
based on patch no. 97 by Giles Atkinson
2021-02-28 08:20:01 +01:00
Holger Vogt a81d75914d Revert "This version will leads to speedup of 5 - 7% with VS2019, Windows 10,"
This reverts commit 49acf17352.
2021-02-28 07:56:56 +01:00
Holger Vogt 50bfe4851c Update for ngspice-34
Should have been updated for the 34 release, but somehow
got lost in beween.
2021-02-22 16:49:10 +01:00
Holger Vogt 596cba1354 cmpp is no longer distributed
remove man entry
2021-02-20 18:44:34 +01:00
Holger Vogt f600f0599e Rename the ngspice version information offered in sharedspice.h 2021-02-12 10:06:44 +01:00
Holger Vogt 174cf26593 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.
2021-02-12 10:05:53 +01:00
Holger Vogt 3a4c746ea4 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.
2021-02-11 13:35:47 +01:00
Holger Vogt 49f26b7d9b remove obsolete parameter 2021-02-11 10:53:25 +01:00
Holger Vogt dd5c5044e8 enable parameter 'gain'
patch provided by  Bohdan Tkhir
2021-02-10 20:48:35 +01:00
Holger Vogt ff6c44392c Re-enable compiling ngsconvert again
Capability to compile ngsconvert is extremely sensitive to changes in
associated files as found in makefile.am and may esily be
broken again next time. Requires manual tweaking.
2021-02-09 17:20:26 +01:00
Holger Vogt 49acf17352 This version will leads to speedup of 5 - 7% with VS2019, Windows 10,
8 threads on 8 cores, iscas85Circuits\85\c7552\c7552_ann.net.
2021-02-06 10:21:11 +01:00
Holger Vogt 87fe83a31a Revert "This version will laeds to speedup of 5 - 7% with VS2019, Windows 10."
This reverts commit 215b3c513c.
2021-02-06 10:13:45 +01:00
Holger Vogt 215b3c513c This version will laeds to speedup of 5 - 7% with VS2019, Windows 10.
It is useful (necessary?) to have the loop index private,
it might not crash, but happpen that not all are set to 0.
The local ElementPtr  pElement does not sacrifice speed,
but removes a compiler warning.
2021-02-06 10:11:17 +01:00
dwarning 7bb590f249 New trial: OpenMP to spClear to parallelize the loop 2021-02-05 18:32:45 +01:00
Holger Vogt f15aaebc9f Revert "OpenMP to spClear to parallelize the loop."
This reverts commit d171530b33.
2021-02-04 22:12:45 +01:00
Holger Vogt 6bb95d686c We now have ngspice-34+ 2021-02-04 22:09:09 +01:00
Holger Vogt 64580ef47a Move version info from sharedspice.c to sharedspice.h 2021-02-04 22:08:48 +01:00
Holger Vogt d171530b33 OpenMP to spClear to parallelize the loop.
Just temporarily because it crahes ReleaseOmp
in VS2019
2021-02-04 21:52:25 +01:00
Holger Vogt 70d669a42b remove config.h from dist and install 2021-02-04 17:08:00 +01:00
Holger Vogt 0579dac2d4 remove obsolete command 2021-02-03 08:50:08 +01:00