New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool that can re-normalize line plots (timeseries) relative to each other in various ways #58
Comments
The idea is interesting... but I think it can be developed, for instance, using Bokeh inside a Flask application... I don't know if all those specific features belongs to the Bokeh... @bryevdv, what do you think about that? |
i definitely see the value, I think this is something that could go into the bokeh.charts api, it might be a timeseries plot construction widget of some sort |
Hey everybody, I'm literally wresting with the problem this was intended to To me, I think "renormalize this curve relative to another" (with a few Arguably this is an "advanced" tool that isn't shown by default, but I Thanks!
On Fri, Apr 11, 2014 at 4:19 PM, Damián Avila notifications@github.comwrote:
|
@hhuuggoo, yes I was thinking in a sort of widget too... @jrhastings, having played (and still playing) with cointegrated models, I know you are asking for pretty natural tools in the time series analysis area... but advanced for common users. Your ideas are very interesting so I make some noise to contrast ideas 😉 |
I agree some of this could go in the |
Suppose you have 2 or more timeseries and want to plot them as separate lines in a multi-line plot. This works great if the dynamic ranges of each input are similar but can be visually dominated by a single line if that line has a much wider range.
Often a caller to a multi-line plotting API needs to normalize the inputs to make them "fit together". Fortunately, there is a very intuitive/canonical set of normalizations the user might try and several of them are "guaranteed to work" (at least visually).
It would be cool to provide a Bokeh tool (i.e. button like zoom/pan) that could select (or cycle thru?) the normalizations dynamically without the user/programmer needing an expensive break in the workflow. The operations are pretty cheap to compute so this can probably be done from javascript directly.
Here's a set of normalizations:
This first set uses a common y-axis.
Alternatively, we can use a separate y-axis for each timeseries. This is similar in spirit to dividing by stddev but has the possible advantage that the user can still read off the raw values. Unfortunately it only works for a small set (2 or maybe 3).
So if there are only a few series you can use separate y-axes and:
I think this would be pretty useful as a Bokeh tool that could be added to basically any multi-line plot.
The text was updated successfully, but these errors were encountered: