Holger Vogt
a5eaac128a
For monotonic plotting find out the majority of increasing or decreasing
...
x-axis values, add a warning to add 'retraceplot' to plot all if more than
10% of the values deviate from the majority.
2022-12-11 15:37:14 +01:00
Giles Atkinson
88481d4bfb
Further change for #578 "Crash while plotting single complex vector".
...
Move the check on vector lengths to ensure all cases are covered.
2022-05-09 10:07:33 +02:00
Holger Vogt
62f326b9d0
Fix a bug from previous commit: min -> MIN
2022-02-07 22:39:27 +01:00
Holger Vogt
640fa7e17b
bug 578 crash when scale is too short
...
Warning message if scale and vector length do not match.
Restrict number of points plotted to the smaller of both.
2022-02-07 15:59:43 +01:00
Holger Vogt
d0da4bebd3
make variable 'dir' local
2021-07-05 14:10:44 +02:00
Holger Vogt
c43c6f6ca4
improve comment
2020-12-22 17:56:18 +01:00
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.
2020-03-15 08:51:14 +01:00
Holger Vogt
09c876550f
prevent string overflow by adding the string length
...
to the cp_getvar parameters. Used only with CP_STRING
2018-07-22 14:57:49 +02:00
h_vogt
d4adb027d2
avoid retrace in output graph by adding label 'noretraceplot'
...
to the plot command, that creates a lin plot trying to avoid retracing
2018-05-18 17:08:27 +02:00
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
2016-07-30 20:58:19 +02:00
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
2012-02-07 19:53:12 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
rlar
55638c8023
various cleanups
2011-04-30 12:29:19 +00:00
h_vogt
f601632453
line 139: test for v_plot
2011-01-18 22:50:59 +00:00
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
2010-11-02 17:07:57 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
15d12df25b
tmalloc usage unification, parenthesize some terms
2010-10-24 13:27:18 +00:00
rlar
a9ca8d7331
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
2010-10-16 15:48:39 +00:00
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
2010-07-17 20:48:20 +00:00
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 .
2010-07-17 15:14:45 +00:00
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
2010-06-27 17:22:11 +00:00
pnenzi
ceecdbf97d
Fixed some issues with smith and polar plots. Patch from espice
...
(A.Roldan)
2009-01-18 16:37:05 +00:00
pnenzi
d735c9a871
Some code cleanup
2001-02-09 08:18:35 +00:00
arno
489fc66afd
src/Makefile.am src/help.c src/main.c
...
src/circuit/Makefile.am src/circuit/ifnewuid.c
src/frontend/Makefile.am src/frontend/aspice.c
src/frontend/circuits.h src/frontend/com_display.c
src/frontend/com_hardcopy.c src/frontend/commands.c
src/frontend/commands.h src/frontend/cpitf.c
src/frontend/debugcom.c src/frontend/device.c
src/frontend/diff.c src/frontend/display.c
src/frontend/dotcards.c src/frontend/fourier.c
src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
src/frontend/misccoms.c src/frontend/mw_coms.c
src/frontend/nutinp.c src/frontend/options.c
src/frontend/outitf.c src/frontend/parse.c
src/frontend/postcoms.c src/frontend/postsc.c
src/frontend/rawfile.c src/frontend/resource.c
src/frontend/runcoms.c src/frontend/runcoms2.c
src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
src/frontend/subckt.c src/frontend/vectors.c
src/frontend/where.c src/frontend/plotting/Makefile.am
src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
src/frontend/plotting/plotcurv.c
src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
src/frontend/plotting/xgraph.c src/include/Makefile.am
src/maths/cmaths/cmath4.c src/misc/terminal.c
src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
src/parser/front.h src/parser/history.c src/parser/history.h
src/parser/modify.c src/parser/var2.c src/parser/var2.h
src/parser/variable.c: Refactoring of frontend code.
* src/include/ftehelp.h src/include/variable.h: Moved into
frontend directory.
* src/include/cpdefs.h src/include/cpextern.h
src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00
arno
bf66221efc
* src/frontend/Makefile.am src/frontend/plotting/Makefile.am
...
src/frontend/plotting/plotcurv.c
src/frontend/plotting/plotcurv.h
src/frontend/plotcurv.c src/frontend/plotcurv.h: Moved
plotting related files into plotting subdirectory.
2000-06-15 21:42:01 +00:00