A perfect use case for unicode plotting [1] (shameless plug)
A perfect use case for unicode plotting [1] (shameless plug)
http://tamivox.org/dave/boxchar/index.html
Unless I'm wrong about your demo, it seems like you are using some of these? There's a 2x2 pixel grid, and some characters that would be good for bar charts, both horizontal and vertical, and also with negative numbers. That's better than I thought we had, but not a big palette to work with.
Are you aware of any proposals to expand the pixel art capabilities of Unicode? Grids have the problem of requiring 2^(X x Y) characters to represent all states, but diacritical marks don't have that scaling problem. For example it would take 64 characters to represent a 2x3 grid of all on/off states, whereas a 6x8 grid of rectangular diacritical marks would only take 48 glyphs.
Note aware of Unicode expansions, though more and more fonts seem to support the above.
Sparklines in the terminal sounds very cool, did you end up coding something?
Note that one other popular alternative (see for example the Unicode plotting lib for Julia) is using Braille characters, which probably have an even better support across fonts
It seemed to me that the existing tools were about as good as I was going to achieve on my own. I got distracted from my use case and will have to circle back, hopefully soon.
Thanks !
PS: Is the general case of a background image handled by Uniplot, and does Uniplot allow for the idea of taking a PDF, putting the plot data into it, and then creating a new PDF file ?
What uniplot cannot do today is to have multiple vertical axis (like weight and head circumference in your example).
Hope this helps!
P.S.: Regarding your PDF question, for that in fact I think that some plotting library to graphics (rather than the terminal) might be better
Since the data points may be gathered at any time, the possible creation of a combined PDF will allow the medical record to include which chart was used and when, so that folks in the future have a better handle on the history of that child.