I'm trying to make a Skew-T LogP plot, an important plot in meteorology, using matplotlib (mainly to help convert people away from much more horrible solutions). You can see one here:

and more cartoonish:

(Pay attention only to the lower part with the bold red and green lines). I'm pretty sure matplotlib can't currently do this, but it shouldn't be too hard. The crux of the plot is that you plot temperature as a function of pressure, with pressure reversed and logarithmically spaced on the Y-axis (ie. high pressure at the bottom) and temperature plotted skewed along the X axis. That is, the lines of constant temperature intersect the bottom at 45 degree angles. I know matplotlib can do log axes, so how hard would it be for me to create a transform that can handle the 45 degree skew of the temperature?




Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma