Re: [Matplotlib-users] plotting two (x) axes for the same figure

2011-10-13 Thread Gökhan Sever
Hi, Not directly answering your questions but the code below produces what you are trying to achieve: import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid.parasite_axes import SubplotHost plt.close('all') fig1 = plt.figure(figsize=(11, 8.5)) ax1 = SubplotHost(fig1, 111)

[Matplotlib-users] plotting two (x) axes for the same figure

2011-10-12 Thread List Comprehension
Hello, I am interested in plotting two (x) axes for the same figure (one of is just showing linearly transformed values of the other); one of them offset from the plot if possible. For instance, I have the following code: import numpy as np import matplotlib.pyplot as plt import mpl_toolkits.axisa