|
From: <PH...@Ge...> - 2009-11-23 17:03:42
|
From: Sahar [mailto:sa...@cm...]
Sent: Monday, November 23, 2009 7:20 AM
To: mat...@li...
Subject: [Matplotlib-users] add table to axes
> Hi,
>
> I'm trying to add some notes in a table to a plot, and I don't
> know how to use the "'matplotlib.pyplot.table" command.
> I really don't want to use ax.text(...) with different x,y
> values...
> Any suggestions? Example to table command, insert LaTex tables...
I think the LaTeX root might be a good one. Set your usetex to True in rcParams and make a separate file (table.tex).
Then use:
>>> figure.figtext(fig_x, fig_y, r'\input{table.tex}')
I haven't tested this, but it seems like it should work. I'd be curious to hear how it goes.
-paul h
|