Dear Nils,
I think that I've found what you need (example adapted from
http://notes.brooks.nu/2008/03/plotting-on-left-and-right-axis-simulateously-using-matplotlib-and-numpy/
)
import matplotlib.pyplot as plt
import numpy as np
#data to plot
x = np.linspace(0,5,num=100)
y = np.sinc(x)
fig =
Dear Nils,
you can try to play with
i) ax.axis["right", "top", "bottom", "left"] and their methods (see
setup_axis3 here
http://matplotlib.sourceforge.net/examples/axes_grid/demo_floating_axes.html
for an example)
ii) twinx and twiny axes (example
http://matplotlib.sourceforge.net/examples/api/two
Hi all,
I would like to add different xtick labels on the top and
bottom of a figure. The number and position of the xticks
is the same.
How can I do that ?
An example would be appreciated.
Nils
--
Live Security Virtu