[matplotlib-devel] two problems with zorder

2010-03-21 Thread Phillip M. Feldman
I have two zorder-related complaints: (1) The default zorder is not reasonable. If I plot a bar chart and then overlay a scatter diagram, the scatter diagram symbols are behind the bars. If I reverse the order, i.e., I generate the scatter diagram first, the scatter diagram symbols are still be

Re: [matplotlib-devel] missing projections

2010-02-17 Thread Phillip M. Feldman
This sounds great. Thanks! So far I haven't figured out how to use it. I downloaded the matplotlib SVN and installed it, but was not able to find "nsper_demo.py". Phillip Jeff Whitaker wrote: > Phillip M. Feldman wrote: >> Jeff Whitaker wrote: >>> Phillip M.

[matplotlib-devel] need a way to control color of labels

2010-01-25 Thread Dr. Phillip M. Feldman
When labeling the lines of latitude and longitude on a map, it appears that there is currently no way to control the color of the labels. It would be great if a keyword could be added to enable this. http://matplotlib.sourceforge.net/basemap/doc/html/api/basemap_api.html#mpl_toolkits.basemap.Bas

Re: [matplotlib-devel] with projection=aeqd, width has no effect

2010-01-25 Thread Phillip M. Feldman
Jeff Whitaker wrote: > Dr. Phillip M. Feldman wrote: >> When I generate a map with the aeqd projection, the width parameter >> has no >> effect. This looks like a bug. >> > Philip: I don't see this. Here's an example, does this fail for you? > >

[matplotlib-devel] with projection=aeqd, width has no effect

2010-01-24 Thread Dr. Phillip M. Feldman
When I generate a map with the aeqd projection, the width parameter has no effect. This looks like a bug. -- View this message in context: http://old.nabble.com/with-projection%3Daeqd%2C-width-has-no-effect-tp27302405p27302405.html Sent from the matplotlib - devel mailing list archive at Nabble

Re: [matplotlib-devel] missing projections

2010-01-24 Thread Phillip M. Feldman
Andrew Straw wrote: > Jeff Whitaker wrote: > >> Dr. Phillip M. Feldman wrote: >> >> >>> Basemap offers many projections, but is missing two of the most useful ones: >>> >>> - For satellite applications, it would be helpful to have a &qu

Re: [matplotlib-devel] [Matplotlib-users] strange error when attempting to generate a map using 'geos' projection

2010-01-24 Thread Phillip M. Feldman
Jeff Whitaker wrote: > Dr. Phillip M. Feldman wrote: >> Jeff Whitaker wrote: >> >>> >>> Philip: That's an error from the proj4 c library saying that it >>> didn't like one of the parameters you used to define the >>> projection. S

Re: [matplotlib-devel] missing projections

2010-01-24 Thread Dr. Phillip M. Feldman
If and when you have time on your hands, a projection that is rarely used but quite interesting is Guyou's Doubly-Periodic Projection. (See the first and third figures in http://www.members.shaw.ca/quadibloc/maps/mcf0703.htm). This projection puts the worst distortion at four points in the ocean

[matplotlib-devel] missing projections

2010-01-24 Thread Dr. Phillip M. Feldman
Basemap offers many projections, but is missing two of the most useful ones: - For satellite applications, it would be helpful to have a "camera" projection, i.e., a projection that shows the Earth as viewed from a specified point in space. This would be a generalization of the current geostatio

Re: [matplotlib-devel] proposed change to colors.py

2009-10-09 Thread Phillip M. Feldman
;smooth variation"? If so, how would I implement something like this? Thanks! Phillip Eric Firing wrote: > Phillip M. Feldman wrote: >> Eric and Reinier- >> >> It seems to me that continuous (piecewise-linear) colormaps could >> work in much the same fashion. One

Re: [matplotlib-devel] proposed change to colors.py

2009-10-09 Thread Phillip M. Feldman
p; if there is one more color than boundaries, the calling program wants a discrete colormap). If this function had optional arguments to specify the `under` and `over` colors, that would be even better. Phillip Phillip M. Feldman wrote: > Eric and Reinier- > > It seems to me t

Re: [matplotlib-devel] proposed change to colors.py

2009-10-09 Thread Phillip M. Feldman
Eric and Reinier- It seems to me that continuous (piecewise-linear) colormaps could work in much the same fashion. One would specify n boundary colors and n thresholds (for continuous colormaps, I believe that the number of thresholds and colors must be the same), and for any value between two

Re: [matplotlib-devel] proposed change to colors.py

2009-10-09 Thread Phillip M. Feldman
Eric Firing wrote: > Phillip M. Feldman wrote: >> Hello Eric- >> >> I'd like to understand the reason why you object to >> piecewise-constant colormaps. I have found these to be useful for >> some types of plots. > > It is a crude and indirect way o

Re: [matplotlib-devel] proposed change to colors.py

2009-10-05 Thread Phillip M. Feldman
pace. Or that such an alias be created. > > Eric > >> >> x = np.arange(100) >> y = x.reshape((5,20)) >> plt.imshow(y, cmap=stop) >> plt.show() >> >> Beside that, I think in no part of MPL we depend on scipy explicitly, >> so it would b

Re: [matplotlib-devel] proposed change to colors.py

2009-10-03 Thread Dr. Phillip M. Feldman
"Create patch" worked. Thanks! The output is attached. http://www.nabble.com/file/p25734649/colors.py.diff colors.py.diff > From: Dr. Phillip M. Feldman [mailto:pfeld...@verizon.net] > Sent: Thursday, October 01, 2009 20:45 > > Unfortunately, I'm on a Windows sy

Re: [matplotlib-devel] proposed change to colors.py

2009-10-01 Thread Dr. Phillip M. Feldman
Hello Ryan- Unfortunately, I'm on a Windows system, and it appears that I must use SVN's GUI interface, which does not provide a mechanism for saving the diff to a file. Phillip svn diff > filename Ryan -- View this message in context: http://www.nabble.com/proposed-change-to-colors.py-tp2

[matplotlib-devel] proposed change to colors.py

2009-09-30 Thread Dr. Phillip M. Feldman
I've added three function defs at the end of colors.py. The revised colors.py is attached. (I haven't been able to figure out how to make SVN save the diff to a file). http://www.nabble.com/file/p25691605/colors.py colors.py -- View this message in context: http://www.nabble.com/proposed-chan

Re: [matplotlib-devel] [Matplotlib-users] new interface functions for LinearSegmentedColormap

2009-09-29 Thread Phillip M. Feldman
documented function (which may not even do what I need). If you agree that my functions provide a better interface, then I hope that you and John Hunter can get them incorporated into matplotlib. Yours, Phillip Eric Firing wrote: > Dr. Phillip M. Feldman wrote: >> After experimenting w

[matplotlib-devel] new interface functions for LinearSegmentedColormap

2009-09-29 Thread Dr. Phillip M. Feldman
After experimenting with colormaps for a while, I was able to make both discrete (piecewise-constant) and continuous (piecewise-linear) colormaps work. Although colormaps can be created directly using LinearSegmentedColormap from the matplotlib.colors package, this is a tedious and error-prone pro