Re: [Matplotlib-users] edit EPS

2010-12-28 Thread crwe crwe
Thanks Jae-Joon, but my case was so simple that a direct copy&paste from SVG worked as well. The only trick was recovering the original scale (the SVG plot path is stored in different coordinates), but that was easy too, after reading off positions of the axis scaling ticks from the SVG. In fa

Re: [Matplotlib-users] edit EPS

2010-12-28 Thread Jae-Joon Lee
I would try to recover the data from the plot. I often use g3data but there should other tools. http://www.frantz.fi/software/g3data.php IHTH, -JJ On Wed, Dec 29, 2010 at 9:14 AM, crwe crwe wrote: > Hello, > > I need your help! I have an image, saved in .eps (vector) format. > > Now the imag

Re: [Matplotlib-users] edit EPS

2010-12-28 Thread crwe crwe
Thanks a lot Chris! I converted the EPS to SVG with InkScape like you suggested. It looks like it might be possible to hack out the original data from the resulting text file. That means I wouldn't have to edit anything, but rather just re-plot (using matplotlib :-). > > Is there any way to ed

Re: [Matplotlib-users] hatch can not be saved as eps

2010-12-28 Thread Jae-Joon Lee
Benjamin, Can you post the eps file? With matplotlib from the svn, everything is fine in my system. Regards, -JJ On Thu, Dec 16, 2010 at 12:47 AM, Benjamin Root wrote: > On Wed, Dec 15, 2010 at 6:25 AM, Teng Liu wrote: >> >> Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 201

Re: [Matplotlib-users] hatch can not be saved as eps

2010-12-28 Thread Jae-Joon Lee
On Wed, Dec 15, 2010 at 9:25 PM, Teng Liu wrote: > But it can not be saved as an eps file. Can you elaborate what you mean by this? Does it raise an exception? Or the output is wrong? -JJ -- Learn how Oracle Real Appli

Re: [Matplotlib-users] Drawing a circle around a letter

2010-12-28 Thread Jae-Joon Lee
With bbox parameter, you can draw a box (or a path) around a text. http://matplotlib.sourceforge.net/users/annotations_guide.html#annotating-with-text-with-box There a several box styles, but unfortunately no circle. However, you can create a custom box style. http://matplotlib.sourceforge.net/u

Re: [Matplotlib-users] edit EPS

2010-12-28 Thread Christopher Barker
On 12/28/10 4:14 PM, crwe crwe wrote: > I need your help! I have an image, saved in .eps (vector) format. > > Now the image is just a couple of plots with a legend, saved in colour, but > without special tick marks to differentiate the plots. What I need to do now > is *add the tick marks*. A dia

[Matplotlib-users] edit EPS

2010-12-28 Thread crwe crwe
Hello, I need your help! I have an image, saved in .eps (vector) format. Now the image is just a couple of plots with a legend, saved in colour, but without special tick marks to differentiate the plots. What I need to do now is *add the tick marks*. A diamond to one plot, a little cross for a

Re: [Matplotlib-users] Drawing a circle around a letter

2010-12-28 Thread Paul Ivanov
Nathann Cohen, on 2010-12-26 22:27, wrote: > Hello everybody !!! > > When adding some text to a plot, is there a way to know the actual > size of the letters as they appear, in such a way that I could, for > instance, draw a circle around a 'A', so that the A perfectly fits > inside ("the smalles