From 29179938c76a60861c317da08806089f00535cef Mon Sep 17 00:00:00 2001 From: dwarning Date: Wed, 16 Mar 2011 21:28:10 +0000 Subject: [PATCH] x-axis label for misc. sweep types --- ChangeLog | 7 ++++++- src/frontend/plotting/plotit.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d0918ce4..428e3ffa2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ +2011-03-16 Dietmar Warning + * plotit.c: fix the wrong x-axis label for temp-sweep and res-sweep by + using macros SV_XXX for vector types + 2011-03-13 Dietmar Warning - * analysis.h, typedefs.h, misc. bXtemp.c: skip printout in bsimtemp for sens analysis + * analysis.h, typedefs.h, misc. bXtemp.c: skip printout in bsimtemp for + sens analysis * bsim2/bsim2def.h: int for XPARTS flag in ancient debug usage 2011-03-10 Dietmar Warning diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index a4bc1af1e..300113017 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -644,8 +644,8 @@ 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 */ - if(!strcmp(vecs->v_scale->v_name,"temp-sweep")) vecs->v_scale->v_type=14; - if(!strcmp(vecs->v_scale->v_name,"res-sweep")) vecs->v_scale->v_type=15; + if(!strcmp(vecs->v_scale->v_name,"temp-sweep")) vecs->v_scale->v_type=SV_TEMP; /* simulation_types in sim.h */ + if(!strcmp(vecs->v_scale->v_name,"res-sweep")) vecs->v_scale->v_type=SV_RES; /* See if the log flag is set anywhere... */ if (!gfound) {