Holger Vogt
764a651b73
Add a note that wrs2p currently is limited to two ports only.
4 years ago
Holger Vogt
129893b399
S-parameters: Replace S11 by S_1_1 etc. to avoid ambiguity
when more than 10 ports are measured.
Update to S-parameter script and command wr2sp
4 years ago
Holger Vogt
c09839b209
Enable math characters in vector (node) names for commands
write and print
Replace ft_getpnames() by ft_getpnames_quotes().
4 years ago
Holger Vogt
4a6fff05b6
typo
5 years ago
Holger Vogt
d06ff2abab
New variable 'plainwrite' added. Allows 'write' with node names
containing characters like + - /. Function are the disabled.
This replaces the automatic selection of this mode by compat flags,
which is not transparent enough to the user.
5 years ago
Holger Vogt
b76ac6be1c
Add writing all vectors if compat mode eg or ki is selected.
5 years ago
Holger Vogt
c90230b43f
If the compatibility flags ki or eg are set, the 'write' command
will not use function parsing and evaluation, but simply plot
the listed vectors. vec1 vs vec2 is also not supported.
This option is useful if node names vs+ or /mynode are used and
have to be written into a raw file, as may be used by KiCad or EAGLE.
5 years ago
Holger Vogt
0cf6b89eb3
during removing the plot 'const', also delete the hash table
6 years ago
Holger Vogt
e0f5181bee
Correct comment
6 years ago
Holger Vogt
8a1eff8e88
Add function 'remzerovec' to remove vectors of length 0
from current plot. Maybe of interest if you have option
savecurrents, write xx all, and ac generates length 0 vectors
6 years ago
Jim Monte
1d62ae2d97
type casts
6 years ago
Holger Vogt
7f085144a9
remove all the remains of quote() and strip() that had been
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
6 years ago
Jim Monte
8141a634d7
Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here.
6 years ago
Jim Monte
068df274bf
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
6 years ago
Jim Monte
b677ae1611
The check for the scale vector was not comparing the name in a case-insensitive manner, so unlet Yes would delete the default yes scale vector, for example. That issue was corrected. The code was also made more modular and descriptive regarding the check for the scale vector. Also, the warning now prints the scale vector as it is stored to make clear that vector names are not case sensitive.
6 years ago
Jim Monte
c7b95587de
Fixed compiler warnings regarding type of argument passed
6 years ago
Jim Monte
ea81da2b01
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
7 years ago
Holger Vogt
2a947a933e
bug 253: Do not delete the scale vector of the current plot
7 years ago
dwarning
5590406acf
The 'j' variable is assigned values twice successively.
Obviously the first assigment is waste because 'j' has the meaning of row count.
8 years ago
Holger Vogt
934656f6e8
fix memory leak: before killing a plot, remove its hash table entry
8 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
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
h_vogt
e6034b0e95
postcoms.c, change command `setplot'
`setplot'
print a list of plots available
`setplot <plotname>'
make <plotname> the current plot
`setplot new'
create a new plot
10 years ago
rlar
9d32a0a5a9
simplify complex assignments
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
h_vogt
1cd8bbf744
frontend/postcoms.c, add variable `width' to command "print line ..."
10 years ago
rlar
254be00842
src/frontend/postcoms.c, cleanup, unused variable `appendwrite'
12 years ago
Jim Holmes
85ae073471
src/frontend/postcoms.c, bugfix, write/save an xspice `event' node
In function EVTfindvec() XSPICE can create
a `dvec' with a non NULL `v_scale' slot.
This special scale with name "step"
differs from the current plot `pl_scale' slot
and triggered ancient buggy code here.
12 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
rlar
15606cf281
com_print(), fix a memory leak
14 years ago
rlar
31fa48cf17
com_write(), com_write_sparam(), fix a big memory leak
14 years ago
rlar
7a65ea0318
com_write_sparam(), cleanup storage more thoroughly (`wl_sparam')
14 years ago
rlar
124f0f4727
com_write(), com_write_sparam(), com_cross(), cleanup storage more thoroughly
14 years ago
rlar
a891e7dc9c
com_print(), cleanup storage more thoroughly
14 years ago
rlar
35c0e9eca3
variable rename, unify the source
checked for object file invariance
14 years ago
rlar
f95aaaafc1
com_print(), com_cross(), use for(;;) loops
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
811bf5664a
destroy `const' plot in com_quit()
14 years ago
rlar
7a5eeb2d9c
drop a superfluous cast
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
d4ced47e8e
drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
has been unreliable.
14 years ago
rlar
0825c10471
bug fix, print complex yet real valued frequency
when printing a complex frequency vector, yet with real value
some left over nonsens was printed instead of the actual real value.
this bug was introduced in commit:
Date: Thu Jan 15 21:08:09 2009 +0000
Improvements in vector derivative computation and new functions to
compute group delay and moving average. From espice (A. Roldan).
14 years ago
rlar
86ea7c5290
NG_IGNORE something
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
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
8e7adac18e
bug fix, avoid $curplot (plot_names) being assembled from negative numbers
15 years ago