From 5fc9f7b367b111f8cff475f949b5361c59afa0ce Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 13 Sep 2020 14:40:18 -0400 Subject: [PATCH] plot: update man page #627 --- doc/man/man3/notcurses_plot.3.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/man/man3/notcurses_plot.3.md b/doc/man/man3/notcurses_plot.3.md index 939d5e0de..1e1424b50 100644 --- a/doc/man/man3/notcurses_plot.3.md +++ b/doc/man/man3/notcurses_plot.3.md @@ -24,14 +24,18 @@ typedef struct ncplot_options { uint64_t minchannels; // styling used for labels (NCPLOT_OPTION_LABELTICKSD) uint16_t legendstyle; - // number of "pixels" per row x column + // pass NCBLIT_DEFAULT maps to NCBLIT_8x1 (assuming + // UTF8) or NCBLIT_1x1 (in an ASCII environment) ncblitter_e gridtype; - // independent variable is a contiguous range + // independent variable can either be a contiguous range, + // or a finite set of keys. for a time range, say the + // previous hour sampled with second resolution, the + // independent variable would be the range [0..3600): 3600. + // if rangex is 0, it is dynamically set to the number + // of columns. int rangex; - bool labelaxisd; // label dependent axis - bool exponentially; // is dependent exponential? - bool vertical_indep; // vertical independent variable const char* title; // optional title + uint64_t flags; // bitfield over NCPLOT_OPTION_* } ncplot_options; ```