Skip to content
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

Make skew-T special lines more automatic #112

Open
dopplershift opened this issue Dec 4, 2015 · 3 comments
Open

Make skew-T special lines more automatic #112

dopplershift opened this issue Dec 4, 2015 · 3 comments
Labels
Area: Plots Pertains to producing plots Type: Enhancement Enhancement to existing functionality

Comments

@dopplershift
Copy link
Member

It would be good for the special lines, especially the adiabats, to be more dynamic and properly respond to the plot bounds.

Ideally, these should be handled like gridlines. We would need to interpolate a line in plot coordinates [0, 1] and then do the proper transform and calculation to produce the adiabats. My only concern would be performance.

@dopplershift dopplershift added the Type: Enhancement Enhancement to existing functionality label Dec 4, 2015
@dopplershift dopplershift added the Area: Plots Pertains to producing plots label Jan 26, 2016
@dopplershift
Copy link
Member Author

Another option would be to add an event handler listening for viewlim events and resetting the data for the special lines.

@dopplershift dopplershift modified the milestone: Summer 2017 Mar 10, 2017
@dopplershift dopplershift modified the milestones: 0.6, Fall 2017 Jul 19, 2017
@jrleeman jrleeman modified the milestones: Fall 2017, Winter 2017 Oct 26, 2017
@jrleeman jrleeman modified the milestones: 0.7, Spring 2018 Nov 15, 2017
@dopplershift
Copy link
Member Author

There may be a class in matplotlib that helps:

from mpl_toolkits.axisartist.grid_helper_curvelinear import GridHelperCurveLinear

Not sure if it's good idea or not to use this, but it might at least point the way.

@dopplershift
Copy link
Member Author

To be more explicit, here is an example from Matplotlib's gallery showing how to use this stuff.

Might also be useful (as in the example) to better do Hodograph as the "polar but in a rectangular axes" shows.

@jrleeman jrleeman removed this from the 0.10 milestone Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Plots Pertains to producing plots Type: Enhancement Enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants