I am trying to plot two separate quantities on the same graph using twiny as follows:
fig = figure() ax = fig.add_subplot(111) ax.plot(T, r, \'b-\', T, R, \'
ax.set_title('My Title\n', fontsize="15", color="red") plt.imshow(myfile, origin="upper")
If you put '\n' right after your title string, the plot is drawn just below the title. That might be a fast solution too.
'\n'