44 for (db = dbiplot; db; db = db->
db_next) {
80 double xlims[2], ylims[2];
89 fprintf(
cp_err,
"Entering iplot, len = %d\n\r", len);
96 if (len ==
IPOINTMIN || !db->db_graphid) {
106 db->db_iteration = 0;
108 if (db->db_iteration == -1)
113 db->db_iteration = -1;
117 if (
eq(db->db_nodename2,
"graf")) {
120 db->db_iteration = -1;
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) {
177 graph =
gr_init(dl0,(
char*)&gr);
179 db->db_graphid = graph->
graphid;
181 db->db_iteration = -1;
188 if (db->db_iteration == -1)
191 if (
eq(db->db_nodename2,
"graf")) {
194 db->db_iteration = -1;
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) {
336 for (dc = db; dc; dc = dc->
db_also) {
339 for (wl = wl0; wl; wl = wl->
wl_next) {
378 for (db = db->db_next; db; db = db->db_next) {
400 struct dbcomm *db, *prev, *next;
408 for (db = dbiplot; db; db = db->
db_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",
struct graph::@3 datawindow
void gr_iplot(struct plot *plot)
struct wordlist * wl_prev
struct dvec * vec_fromplot()
struct wordlist * wl_next
static struct dvlist * get_dvecs()