| Top |
int graphyx (const double *y,const double *x,int n,const char *yname,const char *xname,PRN *prn);
Generates a simple ascii scatter-plot of y
against x
and
prints the plot to prn
.
int textplot (const int *list,const DATASET *dset,gretlopt opt,PRN *prn);
Produces, using ascii graphics, either a scatter plot of
the first k-1 series in list
against the kth, or (if opt
includes OPT_S) a time-series plot (or more generally
a plot by observation).
In the case of a scatter plot, OPT_T (tall) can be used to
request the use of 40 rows rather than the default of 20.
In the case of a plot by observation OPT_O (one-scale)
can be used to force the use of a single scale (otherwise
the series may be scaled to fit).