Closed apretto closed 6 years ago
Do you mind dropping in a quick screenshot here?
I'm a little concerned about bloating things a little bit much (I don't think we'd need multiple color schemes, for example... maybe just a -c
option), but I'm not totally :-1: on this yet either. Would be interested to hear what others think on this.
:+1: came here to see if anyone had added this
:+1: Added this to my JavaScript port.
@apretto I was inspired by your commit and subsequently fattened up the color features in my PR: https://github.com/holman/spark/pull/94
can we make the color range configurable (perhaps as start and end values in HSV)? I'd like it to go from green to red for example.
@neuhaus See my PR and branch for the requested feature: https://github.com/holman/spark/pull/94
echo 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 | ./spark -p 52,88,160,166,172,178,148,82
I'm fine with closing this PR and going with @abrist's implementation (#94).
@apretto Thank you so much for your time, work, and inspiration!
Closing this PR finally.
This PR adds a command line option "-c fire" to output the graph colored in fire (smallest tick is yellow, largest is red).
Adding additional palettes should be easy: just add a colon-separated string to the
ticks_style
array and a option statement for thecase
of thec
parameter setting the correct index in the variabletick_style