From acbec3ae816f410b618210baa30f22ae3d0b902f Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 22 Feb 2020 10:14:25 +0100 Subject: [PATCH] Preliminary 'fix' to a plotting bug (visible return line in an array of curves): Partially undo code added in commit https://sourceforge.net/p/ngspice/ngspice/ci/10415875f46c46d91eb0b35e436cfa16aab0cd8f/ This will need further discussion or updates --- src/frontend/plotting/graf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/plotting/graf.c b/src/frontend/plotting/graf.c index 8e2ab37e6..4727511d8 100644 --- a/src/frontend/plotting/graf.c +++ b/src/frontend/plotting/graf.c @@ -420,7 +420,8 @@ static void gr_start_internal(struct dvec *dv, bool copyvec) } currentgraph->plotdata = link; - +#if 0 + /* FIXME: this piece of code causes bug no. #472 */ /* Add the scale vector to the list of vectors associated with the plot * and use the copy instead of the original scale vector if requested */ { @@ -444,6 +445,7 @@ static void gr_start_internal(struct dvec *dv, bool copyvec) currentgraph->plotdata = link; } } +#endif /* Put the legend entry on the screen. */