X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fcartesian.h;h=0874b9cc61d4d8f507188a00f07c44ca614176cf;hb=f7db18ef6a7e50bda368cf9a9288db58446f04c2;hp=40e3f71455f5886813eee2d3e63e04d55b3fe095;hpb=eccddce2d2e67e7ddcdbd93d969ef4c5b6efdb28;p=pspp-builds.git diff --git a/src/output/charts/cartesian.h b/src/output/charts/cartesian.h index 40e3f714..0874b9cc 100644 --- a/src/output/charts/cartesian.h +++ b/src/output/charts/cartesian.h @@ -27,16 +27,19 @@ enum CHART_DIM }; +void chart_vector_start (struct chart *ch, const char *name); +void chart_vector (struct chart *ch, double x, double y); +void chart_vector_end (struct chart *ch); /* Plot a data point */ -void chart_datum(struct chart *ch, int dataset UNUSED, double x, double y); +void chart_datum (struct chart *ch, int dataset UNUSED, double x, double y); /* Draw a line with slope SLOPE and intercept INTERCEPT. between the points limit1 and limit2. If lim_dim is CHART_DIM_Y then the limit{1,2} are on the y axis otherwise the x axis */ -void chart_line(struct chart *ch, double slope, double intercept, +void chart_line (struct chart *ch, double slope, double intercept, double limit1, double limit2, enum CHART_DIM lim_dim);