Adding a Secondary Axis with a Different Scale.

Hi gang,

I have a plot of logarithmic values against inverse temperature (1/T) in Kelvin, and I’m trying to add T in celsius as a secondary axis. The catch is I want the secondary axis ticks to line up with the data points rather than the primary axis ticks.

I’ve tried using ax.secondary_xaxis and ax.twiny() but can’t find any solutions. Is this even possible?