Re: [Matplotlib-users] creating colormaps

2008-07-10 Thread Marjolaine Rouault
Thanks Eric, That is much better. I am going to try and implement it now and see how I go. I will let you know. Regards, Marjolaine. Eric Firing [EMAIL PROTECTED] 07/09/08 11:12 PM Marjolaine Rouault wrote: Hi, I don't understand how one creates his own colormap. i am using matplotlib

Re: [Matplotlib-users] debian install

2008-07-10 Thread Sandro Tosi
Hello Ben, On Wed, Jul 9, 2008 at 19:37, Ben Axelrod [EMAIL PROTECTED] wrote: I get errors when I add: deb http://anakonda.altervista.org/debian packages/ deb-src http://anakonda.altervista.org/debian sources/ to my /etc/apt/sources.list. Is this still the preferred method for

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] 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

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 after

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(111)

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 :-) ).

[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

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

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

[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

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 occur

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'. See

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 be

[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

[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

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. Sorry. Each