Re: [Matplotlib-users] Endpoint of a text string in a plot?

2011-12-15 Thread Keld Lundgaard
this, to ensure that the plot is tight. Best regards Keld Benjamin Root-2 wrote: > > On Wednesday, December 14, 2011, Keld Lundgaard > wrote: >> >> Hi >> >> How do I get the information about the endpoint of a text element? >> >> Example: >> &

[Matplotlib-users] Endpoint of a text string in a plot?

2011-12-14 Thread Keld Lundgaard
Hi How do I get the information about the endpoint of a text element? Example: import matplotlib.pylab as plt text = plt.text(0.5,0.5,'hi') plt.show() In the dataTrans coordinates, where does the text string ends? I have spent some time now trying to solve this, seemingly simple problem, so

[Matplotlib-users] Resolution in pdf exporting

2011-01-03 Thread Keld Lundgaard
Dear mailing list, I have found that the pdf/eps backend make my plots in a too low resolution (meaning do not uses enough points in the vector description). Is there any way to change this? (simply making the DPI higher does not change the case) Right now I have to save to png and then convert