From: John H. <jdh...@ac...> - 2005-03-11 17:19:03
|
>>>>> "Wendell" == Wendell Cropper <wcr...@uf...> writes: Wendell> Hi, Following the examples I have embedded a matplotlib Wendell> plot in a Tk canvas. I can't get the plot title and Wendell> xlabel to be added. I can use Tk to create text on the Wendell> canvas, but that isn't a very good solution. Could Wendell> someone show me a simple example? If you post your code, we can show you the problem Hint: where ax is an Axes or Subplot instance returned from fig.add_axes or fig.add_subplot use one of ax.set_title ax.set_xlabel ax.set_ylabel ax.text See http://matplotlib.sf.net/matplotlib.axes.html JDH |