Lines Matching refs:y1
242 double x1, y1, x2, y2;
258 y1 = y2 - (((v - mindata) / domain) * range);
259 cairo_move_to(cr, x1, y1);
262 cairo_line_to(cr, x2, y1);
271 double *y1, double *x2, double *y2)
280 *y1 = 0.10 * g->ydim;
291 cairo_move_to(cr, offset + *x1, *y1 - offset);
292 cairo_line_to(cr, *x2 + offset, *y1 - offset);
300 cairo_move_to(cr, *x1, *y1);
303 cairo_line_to(cr, *x2, *y1);
304 cairo_line_to(cr, *x1, *y1);
314 double x1, double y1, double x2, double y2,
348 cairo_line_to(cr, tx, y2 + (y2 - y1) * 0.03);
355 cairo_move_to(cr, tx, y1);
370 double x1, double y1, double x2, double y2,
391 ty = y2 - (((tm[i].value) - miny) / (maxy - miny)) * (y2 - y1);
404 /* really ty < y1 || ty > y2, but protect against rounding */
405 if (y1 - ty > 0.01 || ty - y2 > 0.01)
438 double x1, y1, x2, y2;
447 graph_draw_common(bg, cr, &x1, &y1, &x2, &y2);
465 y1 + (y2 - y1) / 2.0, 20.0, "No good data");
469 maxdata = graph_draw_y_ticks(bg, cr, x1, y1, x2, y2, mindata, maxdata, 10, 1);
529 double x1, y1, x2, y2;
539 graph_draw_common(g, cr, &x1, &y1, &x2, &y2);
582 graph_draw_x_ticks(g, cr, x1, y1, x2, y2, gminx, gmaxx, 10, good_data);
583 gmaxy = graph_draw_y_ticks(g, cr, x1, y1, x2, y2, gminy, gmaxy, 10, good_data);
601 ty = y2 - ((gety(j) - gminy) / (gmaxy - gminy)) * (y2 - y1);