Brilliant, that worked perfectly!
Thanks very much,
Sarah
Jae-Joon Lee wrote:
> You need to define your own transform. And the best way is to read
> through the transforms.py. Here is a modified version of your example
> that uses a custom transform.
>
> However, often you may need to use a custo
You need to define your own transform. And the best way is to read
through the transforms.py. Here is a modified version of your example
that uses a custom transform.
However, often you may need to use a custom locator also for this kind
of transform.
HTH,
-JJ
from matplotlib.transforms import
Hi,
I've made a matplotlib plot with frequency on the x-axis, and I would
like to add an additional x-axis at the top that is measured in
wavelength , i.e. wavelength = 3e8 / frequency
Is there anyway to do this transformation automatically in matplotlib?
I tried to give a transformation argu