Hi to all,
I’m interessed in having an interactive plotting window where one of the subplots would be for console output.
For example I would like to print in a subplot (similar to a console
output) the several computed values of a selecetd span from some other
subplot.
Does anyone needed a similar feature?
Thanks in advance for your help.
If I understand what you're asking for, note that the pylab text() method may do what you want:
from pylab import *
subplot(211)
plot([1,3,2])
ax = subplot(212)
text(0.1, 0.9,
'''the quick brown fox
he quick brown fox
e quick brown fox
quick brown fox''',
verticalalignment='top')
ticklabels = ax.get_xticklabels()+ax.get_xticklines()+\
ax.get_yticklabels()+ax.get_yticklines()
setp(ticklabels, visible=False)
show()
I think the fontdict parameter of text() should be used to set the font to a fixed-width font for your application. I haven't looked at how to do this.
Gary R.
Hugo Gamboa wrote:
···
Hi to all,
I'm interessed in having an interactive plotting window where one of the subplots would be for console output.
For example I would like to print in a subplot (similar to a console output) the several computed values of a selecetd span from some other subplot.
Does anyone needed a similar feature?
Thanks in advance for your help.