X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fnp-plot-cairo.c;h=e9a1e07033fbf02296458fd8c69ab90004d8aaa6;hb=aad0ae4913ecd01ccc954f8828623ad5da35cd1b;hp=334284ba8f857c20db90cb1ff561051a9ec9793d;hpb=bf4006fb1f0554d72dc5c3c136cca9caa7491700;p=pspp diff --git a/src/output/charts/np-plot-cairo.c b/src/output/charts/np-plot-cairo.c index 334284ba8f..e9a1e07033 100644 --- a/src/output/charts/np-plot-cairo.c +++ b/src/output/charts/np-plot-cairo.c @@ -39,8 +39,8 @@ np_plot_chart_draw (const struct chart_item *chart_item, cairo_t *cr, xrchart_write_ylabel (cr, geom, _("Expected Normal")); xrchart_write_xscale (cr, geom, npp->x_lower - npp->slack, - npp->x_upper + npp->slack, 5); - xrchart_write_yscale (cr, geom, npp->y_first, npp->y_last, 5); + npp->x_upper + npp->slack); + xrchart_write_yscale (cr, geom, npp->y_first, npp->y_last); data = casereader_clone (npp->data); for (; (c = casereader_read (data)) != NULL; case_unref (c)) @@ -64,8 +64,8 @@ dnp_plot_chart_draw (const struct chart_item *chart_item, cairo_t *cr, xrchart_write_title (cr, geom, _("Detrended Normal Q-Q Plot of %s"), chart_item->title); xrchart_write_xlabel (cr, geom, _("Observed Value")); xrchart_write_ylabel (cr, geom, _("Dev from Normal")); - xrchart_write_xscale (cr, geom, dnpp->y_min, dnpp->y_max, 5); - xrchart_write_yscale (cr, geom, dnpp->dns_min, dnpp->dns_max, 5); + xrchart_write_xscale (cr, geom, dnpp->y_min, dnpp->y_max); + xrchart_write_yscale (cr, geom, dnpp->dns_min, dnpp->dns_max); data = casereader_clone (dnpp->data); for (; (c = casereader_read (data)) != NULL; case_unref (c))