|
From: John H. <jd...@gm...> - 2011-09-16 17:33:42
|
Yes, it is possible. Everything that is possible in the pyplot
interface is available in the API (the pyplot interface is a thin
wrapper). Most plotting methods from pyplot like plot, semilogx,
imshow, scatter, etc, are axes instances
ax = fig.add_subplot(111)
ax.imshow(...)
and the title, xlabel, ylabel, etc, have associated "set_*" methods.
ax.set_xlabel('some labe').
All of the examples in the API directory follow this pattern
http://matplotlib.sourceforge.net/examples/api/index.html
and you may want to take a look at the artist tutorial for a deeper
understanding
http://matplotlib.sourceforge.net/users/artists.html
On Fri, Sep 16, 2011 at 8:44 AM, Keith Hughitt <kei...@gm...> wrote:
> Is it not possible to use imshow() in a Qt application then?
>
|