From 94fa272c9dab6556458730c4ae793c025e387f96 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 27 Oct 2018 12:28:01 +0200 Subject: [PATCH] A hack to repair bug reported by Clyde R. Shappee --- src/frontend/plotting/plotit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index 89307ad92..98336b2ff 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -625,11 +625,13 @@ plotit(wordlist *wl, char *hcopy, char *devname) } /* The following line displays the unit at the time of - temp-sweep and res-sweep. This may not be a so good solution. by H.T */ + temp-sweep, res-sweep, and i-sweep. This may not be a so good solution. by H.T */ if (strcmp(vecs->v_scale->v_name, "temp-sweep") == 0) vecs->v_scale->v_type = SV_TEMP; if (strcmp(vecs->v_scale->v_name, "res-sweep") == 0) vecs->v_scale->v_type = SV_RES; + if (strcmp(vecs->v_scale->v_name, "i-sweep") == 0) + vecs->v_scale->v_type = SV_CURRENT; /* See if the log flag is set anywhere... */ if (!gfound) {