Re: [Matplotlib-users] Width of tick lines

2007-08-21 Thread Torsten Hahn
Am 21.08.2007 um 10:30 schrieb Eric Firing: Torsten Hahn wrote: Hello, I am looking for an way to set the width of the tick lines in a plot. I have not found any rc parameter for this. Good point; it does seem to be a gap in the configurability. Would be nice to have sopmething added

Re: [Matplotlib-users] Width of tick lines

2007-08-21 Thread John Hunter
On 8/21/07, Torsten Hahn [EMAIL PROTECTED] wrote: The problem is, that there only the major ticklines are returned by ax.get_xticklines(). How do i access (and modify) the minor ticklines? In [80]: for tick in ax.xaxis.get_major_ticks(): print tick.tick1line, tick.tick2line :

Re: [Matplotlib-users] matplotlib and interactive use

2007-08-21 Thread Wolfgang Kerzendorf
That server sounds like a good idea. At the moment I have a different problem: If I close the window sometimes the script does not continue. Is there any function that I can call which closes pylab and continues with the script? Also, how can I halt the script after the first issue of show().

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Michael Droettboom
Andrew, I believe this bug was recently discussed on matplotlib-devel and is likely related to recent changes in the font manager cache. http://www.mail-archive.com/[EMAIL PROTECTED]/msg01531.html I believe it's being looked into, but I haven't seen a resolution (unless I missed it). Cheers,

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Andrew Jaffe
Michael Droettboom wrote: Andrew, I believe this bug was recently discussed on matplotlib-devel and is likely related to recent changes in the font manager cache. http://www.mail-archive.com/[EMAIL PROTECTED]/msg01531.html I believe it's being looked into, but I haven't seen a

Re: [Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-21 Thread Jouni K . Seppänen
Darren Dale [EMAIL PROTECTED] writes: The testgs.eps (for test with ghostscript) does not convert to pdf using either apple preview or adobe distiller (the adobe log is included) It does however convert successfully with epstopdf so there is some subtle difference. I'm sorry, I have no

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Eric Firing
Andrew Jaffe wrote: Michael Droettboom wrote: Andrew, I believe this bug was recently discussed on matplotlib-devel and is likely related to recent changes in the font manager cache. http://www.mail-archive.com/[EMAIL PROTECTED]/msg01531.html I believe it's being looked into, but I

Re: [Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-21 Thread Darren Dale
On Tuesday 21 August 2007 12:46:05 pm Jouni K. Seppänen wrote: Darren Dale [EMAIL PROTECTED] writes: The testgs.eps (for test with ghostscript) does not convert to pdf using either apple preview or adobe distiller (the adobe log is included) It does however convert successfully with

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Jouni K . Seppänen
Eric Firing [EMAIL PROTECTED] writes: My guess is that this problem has been lurking all along, but was only triggered when I changed font_manager to look for *all* system fonts instead of only truetype, Another data point: a recent svn version of matplotlib segfaults on my OS X system,

Re: [Matplotlib-users] plotting images side by side

2007-08-21 Thread Mark Bakker
I use TkAgg on win32, and saw the line on screen and in png and eps files. I tried nudging it, but that didn't work either. So I tried the following overlap and still saw the line: a = ones((10,10)) imshow(a,extent=(0.0,11.0,0.0,10.0)) imshow(a,extent=(10.0,20.0,0.0,10.0)) axis((0,20,0,10)) So I

Re: [Matplotlib-users] plotting images side by side

2007-08-21 Thread Mark Bakker
After further anlysis, I still get the light colored lined at x=10 when I zoom-in interactively on that line (still using TkAgg). Have you tried zooming-in? I tried to zoom in on my eps and png files with the overlap, and they look fine. That's all. I can live with it just fine, but it is odd.

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Jouni K . Seppänen
Jouni K. Seppänen [EMAIL PROTECTED] writes: Another data point: a recent svn version of matplotlib segfaults on my OS X system, and ktrace suggests it occurs while it is reading CharcoalCY.dfont. Looks like a freetype bug: the following code segfaults when linked against libfreetype.6.3.10

Re: [Matplotlib-users] HOW TO: have multiple plot windows open at the same time?

2007-08-21 Thread Angus McMorland
On 22/08/07, Geoffrey Zhu [EMAIL PROTECTED] wrote: On 8/20/07, Angus McMorland [EMAIL PROTECTED] wrote: On 21/08/07, Geoffrey Zhu [EMAIL PROTECTED] wrote: Hi Everyone, I just started to use pylab, and there are two issues I can't figure out a way to get around. 1. show() does

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Jouni K . Seppänen
Eric Firing [EMAIL PROTECTED] writes: I think that the problem is occurring in the last line. This remains to be verified. It looks like *.afm files are being found, but when createFontDict tries to parse them it doesn't find what it expects. The cause of the problem is a combination of

[Matplotlib-users] Store your data in a eps or ps file ?

2007-08-21 Thread Lingyun Yang
Hi, Is there any way to store the data of the plot into a ps or eps file ? sometimes I don't want to store both the data file and eps plot, but worried if someday later I need the specific numbers. Do I have to manipulate the ps file ? I know it's ascii, but is it dangerous ? Thanks.

Re: [Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-21 Thread Samuel M. Smith
When I diff the ghostscript generated eps which does not distill and the ps which does. There is not much difference. I know next to nothing about postscript but the differences have to do with the prolog and trailer and nothing else. %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 14 188 591 593

[Matplotlib-users] script stuck after show()

2007-08-21 Thread Wolfgang Kerzendorf
The script I am writing gets sometimes stuck after show(). Of course show() halts the script but when I close the window I want it to continue. Is there a sure way to kill off the pylab thread and continue like with a key press event on ESC and then calling a stop routine of the thread. Thanks

Re: [Matplotlib-users] matplotlib svn bug: Found an unknown keyword in AFM header...?

2007-08-21 Thread Jouni K . Seppänen
Andrew Jaffe [EMAIL PROTECTED] writes: I admit I don't understand the problems or the speccific code involved, but I *think* it may be that the OSX-specific code isn't restricted to afm files. Hence I wonder if the following is a fix: -for f in OSXInstalledFonts(): +