Re: [Matplotlib-users] Fwd: Re: Autonomous display of image/plot/figure

2008-07-10 Thread Ryan May
James K. Gruetzner wrote: >>> I'm running Fedora 8, python 2.5.1, and matplotlib 0.91.2-1.fc8 from >>> the yum repository. Backend is set to GTKAgg in my matplotlibrc file. >> (On this list top-posting is frowned upon -- it makes the conversation >> difficult to follow.) > > I understand. Sor

[Matplotlib-users] scale a circle properly (not from shapefile)

2008-07-10 Thread KURT PETERS
I am trying to do something similar to the plot_tissot.py example, but am having some problems. I would like to project a group of circles onto a map projection. Below is the code I developed, which doesn't work because I get the error: ==ERROR File "C:\Python25\Lib\site-packag

[Matplotlib-users] legend text vertical alignment

2008-07-10 Thread Robin
Hi, I have a problem with legends where the vertical spacing is sometimes a bit funny (lines don't seem to be evenly spaced). I am now preparing some figures for publication and this is the last niggle I'd really like to resolve. Is there anything I could do to fix this? A small example is atta

Re: [Matplotlib-users] error with text object properties using matplotlib 0.98.1

2008-07-10 Thread Darren Dale
Hi David, On Thursday 10 July 2008 11:15:37 am David M. Kaplan wrote: > 2) I have noticed that the font used for the xticklabels and the font > used for the xlabel and contour labels appears to be different (example > attached). One appears to be serif and the other sans-serif. This > seems to b

Re: [Matplotlib-users] error with text object properties using matplotlib 0.98.1

2008-07-10 Thread Michael Droettboom
David M. Kaplan wrote: > Hi, > > I just upgraded to matplotlib 0.98.1 on a ubuntu hardy heron system. I > have noticed two problems since the upgrade: > > 1) For any plot, if I try to look at the properties of a text object I > get an error related to FontProperties having no attribute 'items'. S

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Darren Dale
On Thursday 10 July 2008 10:48:01 am you wrote: > Hi Darren, > > I have tried rerunning our code with the change you suggested in the > make_dvi and make_png functions. I am still noticing failures however. I > put these at the bottom of this message. Strangely enough, these errors > don't seem to

[Matplotlib-users] Picker line selection after axes scale change.. possible bug?

2008-07-10 Thread Søren Nielsen
If I do some 2D line plots, I can activate the picker event on each line.. but if I change the scale of the axes using axes.set_xscale('log') / axes.set_yscale('log') and then try to pick the lines, nothing happens. I can't select them on the plot with the log scales, but if I click in the area whe

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Ian Harry
Hi Darren, I have tried rerunning our code with the change you suggested in the make_dvi and make_png functions. I am still noticing failures however. I put these at the bottom of this message. Strangely enough, these errors don't seem to occur when there are a lot of files in my tex.cache directo

Re: [Matplotlib-users] Missing lines after a axes scale change

2008-07-10 Thread Michael Droettboom
Changing the scale shouldn't remove the lines -- but it's possible there is a bug that moves them out of the visible area. Can you provide some standalone code that reproduces this problem? Cheers, Mike Søren Nielsen wrote: > Hi, > > When I change the xscale and yscale my plots go missing... i

[Matplotlib-users] Missing lines after a axes scale change

2008-07-10 Thread Søren Nielsen
Hi, When I change the xscale and yscale my plots go missing... i use axes.set_xscale('linear'), axes.set_yscale('liner) or axes.set_xscale('log'), axes.set_yscale('log') ... I have a button that changes between those two.. but a change removes the 2D lines i have on them... do I need to change so

[Matplotlib-users] Running matplotlib as a separate thread

2008-07-10 Thread dragan savic
Hi everybody! I am new to matplotlib and I have a question. I am running matplotlib from a main program in python as a separate thread. When I first launch matplotlib it works fine. On my second try when the main program is still running I try to execute it again but the plotting window is show

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Darren Dale
Hi Ian, On Thursday 10 July 2008 06:03:54 am Ian Harry wrote: > Hi all, > > Myself and my colleagues use, and have used, matplotlib and it's Tex > capabilities quite extensively to create plots to assist in the > gravitational wave searches we perform. (and it has been a great tool for > us > > :-

Re: [Matplotlib-users] Hiding line plots

2008-07-10 Thread Antonio Gonzalez
Søren Nielsen wrote: > Is there a way I can hide a line plot? I have several line plots, and I > want to make a function to enable or disable a plot.. How do I tell each > line apart and remove/reinsert them? Try this in an interactive session, and see if it helps: ax = figure().add_subplot(11

Re: [Matplotlib-users] Hiding line plots

2008-07-10 Thread Michael Droettboom
When you create the plot, it returns a list of line objects. You can use this object to remove itself from the axes, and add it back it later. Hope this helps:: In [1]: l1 = plot([1,2,3]) In [2]: l2 = plot([4,5,6]) In [4]: l1 Out[4]: [] # Remove the first plot In [6]: l1[0].remove() # Put

[Matplotlib-users] Hiding line plots

2008-07-10 Thread Søren Nielsen
Hi, Is there a way I can hide a line plot? I have several line plots, and I want to make a function to enable or disable a plot.. How do I tell each line apart and remove/reinsert them? Anyone tried this? I was seeking for a line ID of somekind in matplotlib.lines... but didn't see any. Thanks,

Re: [Matplotlib-users] import pylab produces rounding error

2008-07-10 Thread Manuel Metz
Angela Rivera Campos wrote: > Hi, > > I'm quite a newbie on matplotlib. > > I'm trying to get some data from a file. I've got a function that reads > the data from the file and stores it in a tuple as a set of floats. When > I use this without importing pylab it just go well but when I do it >

[Matplotlib-users] import pylab produces rounding error

2008-07-10 Thread Angela Rivera Campos
Hi, I'm quite a newbie on matplotlib. I'm trying to get some data from a file. I've got a function that reads the data from the file and stores it in a tuple as a set of floats. When I use this without importing pylab it just go well but when I do it after importing this module there's a round

Re: [Matplotlib-users] Questions about 3D plotting

2008-07-10 Thread Bryan Cole
On Wed, 2008-07-09 at 18:40 +0200, anirudh vij wrote: > > We have been warning that 3D plotting was unsupported and needed someone to > > volunteer to maintain it for quite a while now. Nobody answered the call, > > and > > 3d capabilities did not survive the transition to the new transforms in >

[Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-10 Thread Ian Harry
Hi all, Myself and my colleagues use, and have used, matplotlib and it's Tex capabilities quite extensively to create plots to assist in the gravitational wave searches we perform. (and it has been a great tool for us :-) ). However recently we have been running into problems when we have started