Repository navigation
Visualizing only a section of the atmosphere on a SkewT #2847
|
Hi. This might be impossible / a dumb question, but I figured I'd at least try to see if it was possible. I'm working with data that only covers a small section of the atmosphere. I've been using the SkewT function within Metpy to visualize the data, and have set the y limits so that only the pressure levels that have data are shown, but the plot ends up very squished and hard to read, like so: Is there a way enlarge this so that the SkewT is bigger and easier to read than what it currently is? I don't want to plot the entire SkewT from 1000mb to 100mb, just the section that actually contains data. Am I missing something that can be done to do this? I tried playing with the figure size but that didn't seem to help. |
Replies: 1 comment 1 reply
|
The challenge here is that skewT gets challenging with changing plot shapes.
|

The challenge here is that skewT gets challenging with changing plot shapes.
SkewTin MetPy by default sets a fixed aspect of 80.5 which locks in the ratio of horizontal and vertical plot ranges and keeps things looking "like a skew-T". The knobs you have available:skew.ax.set_xlim(10, 25).skew.ax.set_adjustable('datalim').skew.ax.set_aspect(new_aspect_value)--our default is 80.5. I don't recommend this, though, because it can lead to weird …