-
Notifications
You must be signed in to change notification settings - Fork 7
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
Convenience functions for plotting #63
Comments
I added a first draft of these functions here: https://github.com/JuliaDynamics/TransitionsInTimeseries.jl/blob/main/ext/TITVisualizations.jl a new PR needs to document them and add them in the examples in the docs. |
Thanks for starting this, George! I would mainly suggest one modification. I think we should have a plot with I think this fits better than what we have so far (plotting all indicators on one axis), since they can have very different orders of magnitude, which is very inconvenient for visualisation. If you agree, I am happy to make this change in the code and make a PR soon :) |
What about the change metrics? where do you plot those? Or do you suggest that we plot directly the change metrics? |
Since each indicator has a subplot assigned to it, it is easy to add an axis to each of them to visualise the change metric associated with the indicator. Something like: indic_ax = Axis(fig[i, 1], yaxisposition = :left)
chng_ax = Axis(fig[i, 1], yaxisposition = :right) |
So you mean to plot the indicator timeseries and the change metric timeseries in the same panel? Yes, we can do that. |
Is your feature request related to a problem? Please describe.
Plotting of the results is generic. Therefore providing a convenience function for it would cut down the amount of code needed.
Describe the solution you'd like
Rely on CairoMakie and allow something like:
The text was updated successfully, but these errors were encountered: