Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-09 Thread Eric Firing
Bryan Fodness wrote: > i have used this command on windows vista with no problem. > > fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r') > > but when i run on fedora 8, i receive the following. [...] > File "/usr/lib/python2.5/site-packages/matplotlib/colors.py", line > 429, in tob

[Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-09 Thread Bryan Fodness
i have used this command on windows vista with no problem. fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r') but when i run on fedora 8, i receive the following. (most recent call last): File "./program.py", line 361, in savefig(outfile) File "/usr/lib/python2.5/site

Re: [Matplotlib-users] using fill, but really need a box

2008-05-09 Thread John Hunter
On Fri, May 9, 2008 at 2:31 PM, Bryan Fodness <[EMAIL PROTECTED]> wrote: > i have been using the fill function to highlight a region on my plot, but > now i do not want it to be filled. i have tried using alpha=0.1, but that > also makes my edgecolor transparent. is there a "box" function that do

[Matplotlib-users] using fill, but really need a box

2008-05-09 Thread Bryan Fodness
i have been using the fill function to highlight a region on my plot, but now i do not want it to be filled. i have tried using alpha=0.1, but that also makes my edgecolor transparent. is there a "box" function that does not fill a region yet still has the outline of the "box". i tried using pat

Re: [Matplotlib-users] How to handle different Figures, created from different instances

2008-05-09 Thread dertom
Hallo, thank you for this huge amount of input. I think, that is what I needed. Have a nice weekend. Regards.. Thomas John Hunter-4 wrote: > > On Thu, May 8, 2008 at 10:10 AM, dertom <[EMAIL PROTECTED]> wrote: > >> Please, can anybody tell me, if there is a solution, to call the show() >

Re: [Matplotlib-users] axes scale factor not showing

2008-05-09 Thread Christopher Brown
Hi John, JH> or you can manually change this with JH> JH> fig.subplots_adjust(bottom=0.2) Aha! I had been using rc('figure.subplot', bottom=0.2), but I was looking for a better way. Thanks! -- Chris - This SF.net email is

Re: [Matplotlib-users] [newb] axes hold question

2008-05-09 Thread John Hunter
On Fri, May 9, 2008 at 9:38 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > I have sets of data to plot on semilogy. I want the minimum y axis set to > some value, say 10e-10. > > I do: > axis([0,1,1e-10,1]) > hold(True) > for (whatever): > semilogy (x, y) > grid() > legend() > show()

[Matplotlib-users] [newb] axes hold question

2008-05-09 Thread Neal Becker
I have sets of data to plot on semilogy. I want the minimum y axis set to some value, say 10e-10. I do: axis([0,1,1e-10,1]) hold(True) for (whatever): semilogy (x, y) grid() legend() show() But the data is not clipped in y from [1e-10..1] as I wanted. What's wrong here?

Re: [Matplotlib-users] How to handle different Figures, created from different instances

2008-05-09 Thread John Hunter
On Thu, May 8, 2008 at 10:10 AM, dertom <[EMAIL PROTECTED]> wrote: > Please, can anybody tell me, if there is a solution, to call the show() > method more than one time,while my main script is running? To do this right, you will probably need to write a tk application and embed matplotlib in it,

Re: [Matplotlib-users] axes scale factor not showing

2008-05-09 Thread John Hunter
On Thu, May 8, 2008 at 11:39 PM, Tim Mitchell <[EMAIL PROTECTED]> wrote: > I can use the axes position to work I guess but that seems rather > unsatisfactory as I'll have to figure out when it's being displayed or > not, font sizing and spacing blah blah blah. > Is there an easier way around this

Re: [Matplotlib-users] Possible to disable wxAgg's smoothing of an image?

2008-05-09 Thread Michael Droettboom
Søren Nielsen wrote: > > Søren Nielsen wrote: > > Also, if I want to use matplotlib.patches on a canvas where I > can actually see individual pixels, is it possible to only > draw on the available pixels showing, and not just make a nice > high resolution line th

Re: [Matplotlib-users] Type 3 fonts

2008-05-09 Thread Michael Droettboom
Jouni K. Seppänen wrote: > Christopher Brown <[EMAIL PROTECTED]> writes: > > >> I have read a little bit online about the difference between types 1 >> and 3, but I can't find a description of which font is which type. So >> what font should I use? >> > > Try setting the pdf.fonttype parame

[Matplotlib-users] Toolbar in QT

2008-05-09 Thread Behnam Kamrani
Hi, First I want to thanks for this amazing Matplotlib. It's fantastic! My newbie question is how I can show the (zoom, pan, etc) toolbar in embedding_in_qt.py example? I have noticed that in animation_blit_qt.py the toolbar is available, but it seems to be done in a different way. Appreciate yo