From: Shane D. <sdawalt@do...> - 2008-01-28 02:27:41
Kudos to you folks for building ngspice. It's really cool. I think
it works better in some respects than the commercial software.
But I stumbled on to a problem. First, my set-up:
Running ngspice-17 under cygwin,
Compiled with "configure --with-x --without-windows".
Now, my problem: I was running a transient analysis using iplot on a
few nodes. When I tried to zoom in on one of these interactive plots, I
was presented with a continuously scrolling ngspice tty display with
error messages saying that "xlimit" and "ylimit" were not transient
analysis nodes nor were various floating point numbers. (All of these
statements were true of course.)
I started digging and found that zoomin() in frontend/plotting/x11.c
is apparently creating a command that is then parsed to generate the
appropriate sized plot. Such a command (I printed from within the
zoomin function) is shown below.
iplot time xlimit 9.133333e-02 1.260000e-01 ylimit -7.857143e-01
However, I don't see support for this command syntax in breakp.c under
the com_iplot() handler function. But the "plot" command apparently
supports the "xlimit" and "ylimit" keywords. So either this is an
incomplete feature, I'm not looking at the proper code, or there's a
And why would this one command generated by zoomin() be parsed
multiple times until the zoomed plot is destroyed?