#include "spice.h"
#include "ftedefs.h"
#include "ftedebug.h"
#include "plotdefs.h"
Go to the source code of this file.
|
#define | XFACTOR 2 /* How much to expand the X scale during iplot. */ |
|
#define | YFACTOR 1.5 /* How much to expand the Y scale during iplot. */ |
|
#define XFACTOR 2 /* How much to expand the X scale during iplot. */ |
#define YFACTOR 1.5 /* How much to expand the Y scale during iplot. */ |
static struct dvlist* get_dvecs |
( |
| ) |
|
|
static |
Definition at line 322 of file iplot.c.
336 for (dc = db; dc; dc = dc->
db_also) {
339 for (wl = wl0; wl; wl = wl->
wl_next) {
struct wordlist * wl_prev
struct dvec * vec_fromplot()
struct wordlist * wl_next
Definition at line 397 of file iplot.c.
400 struct dbcomm *db, *prev, *next;
451 for (db =
dbiplot; db; prev = db, db = next) {
454 if (db->db_graphid) {
477 if (db->db_graphid) {
484 for ( ; ddv; ddv = ddn) {
493 fprintf(
cp_err,
"Warning: iplot %d was not executed.\n",
void gr_iplot |
( |
struct plot * |
plot | ) |
|
static void iplot |
( |
struct dbcomm * |
db, |
|
|
struct plot * |
pl |
|
) |
| |
|
static |
Definition at line 66 of file iplot.c.
80 double xlims[2], ylims[2];
89 fprintf(
cp_err,
"Entering iplot, len = %d\n\r", len);
129 for (j = 0, dl = dl0; dl; j++, dl = dl->
dl_next) {
132 if (ylims[0] > ylims[1]) {
137 if (lims[0] < ylims[0]) ylims[0] = lims[0];
138 if (lims[1] > ylims[1]) ylims[1] = lims[1];
140 if (ylims[0] == ylims[1]) {
147 "iplot: after %d, xlims = %G, %G, ylims = %G, %G\n\r",
155 if (dl->dl_dvec->v_type != yt) {
175 gr.commandline =
"iplot";
177 graph =
gr_init(dl0,(
char*)&gr);
203 fprintf(
cp_err,
"x = %G\n\r", dy);
213 while (dy < currentgraph->datawindow.xmin) {
216 fprintf(
cp_err,
"resize: xlo %G -> %G\n\r",
237 fprintf(
cp_err,
"resize: xhi %G -> %G\n\r",
254 for (dl = dl0; dl; dl = dl->
dl_next) {
259 fprintf(
cp_err,
"y = %G\n\r", dy);
261 while (dy < currentgraph->datawindow.ymin) {
264 fprintf(
cp_err,
"resize: ylo %G -> %G\n\r",
282 fprintf(
cp_err,
"resize: yhi %G -> %G\n\r",
302 for (dl = dl0; dl; dl = dl->
dl_next) {
struct graph::@3 datawindow
static struct dvlist * get_dvecs()