plot
int plot;
ctx->opts.plot = !0;
if (!ctx->opts.plot)
int plot;
ctx->opts.plot = !0;
if (!ctx->opts.plot)
struct ploticus_plot *plot;
if (!(plot = calloc(1, sizeof(*plot))))
plot->params = params;
plot->type = type;
if (asprintf(&plot->path, "%s-%d-%s", ctx->basepath, type,
if (asprintf(&datapath, "%s.data", plot->path) < 0)
if (plot_type_initializers[type](plot))
if (!(plot->fp = fopen(datapath, "w"))) {
ctx->plots[ctx->nr_plots] = plot;
free(plot->path);
free(plot);
struct ploticus_plot *plot;
plot = ctx->plots[id];
assert(plot != NULL);
fprintf(plot->fp, "%lf\n", val);
struct ploticus_plot *plot;
plot = ctx->plots[id];
assert(plot != NULL);
fprintf(plot->fp, "%lf %lf\n", x, y);
ploticus_run(struct ploticus_plot *plot)
nr_params = prop_dictionary_count(plot->params);
if (!(it = prop_dictionary_iterator(plot->params)))
pl_argv[2] = plot_prefabs[plot->type];
"%s.svg", plot->path) < 0)
val = prop_dictionary_get_keysym(plot->params, key);
ploticus_plot_generate(struct ploticus_plot *plot)
fclose(plot->fp);
ploticus_run(plot);
ploticus_new_plot_hist(struct ploticus_plot *plot)
prop_dictionary_t params = plot->params;
ploticus_new_plot_line(struct ploticus_plot *plot)
prop_dictionary_t params = plot->params;
static struct plot plot;
struct plot *pl;
pl = &plot;
struct plot *pl;
pl = &plot;
struct plot *pl;
pl = &plot;
struct plot *pl;
pl = &plot;