[Matplotlib-users] building matplotlib 1.3 on OS X 10.8.4

2013-08-22 Thread James Boyle
I built MPL 1.3 from source, all seem to go OK but I ran into the problem of not finding libfreetype.6.dylib when importing. On the web, I found references to this problem for builds on OS X. The solutions refer to a file README.osx, which is not present in the 1.3 distribution. The documentatio

Re: [Matplotlib-users] figure save problem

2010-03-11 Thread James Boyle
I have the same problem with nearly identical setup: OS X 10.5.8 - intel matplotlib 99.1.1 python 2.6.1 ipython 0.9.1 numpy-1.3.0 --Jim On Mar 11, 2010, at 1:31 PM, Andre Walker-Loud wrote: > Hi All, > > I am having a problem saving figures produced with matplotlib. Right > now, I am running a

[Matplotlib-users] possible kludge for masked value colors in contourf?

2008-12-31 Thread James Boyle
As far as I can tell, you cannot specify the color that contourf uses for masked values. The examples enclosed with matplotlib ( 0.98.3) specifically comment that this is the case. It appears that contourf just does not plot anything where the masked values occur and the background ( usually

[Matplotlib-users] specifying colors in 'extend' option of contourf

2008-05-07 Thread James Boyle
I cannot get the contourf extended color map ranges to show up in the plot. the extend option of contourf states: extend = 'neither', 'both', 'min', 'max' Unless this is 'neither' (default), contour levels are automatically added to one or both ends of the range so that all da

[Matplotlib-users] colorbar label every level

2008-01-17 Thread James Boyle
I am using the colorbar with a discrete set of intervals, the progression through the levels is not linear. Presently, the colorbar call labels every other level, this looks very nice, but unfortunately in my case one cannot infer the value of the unlabeled levels due to the non-linear scale

[Matplotlib-users] multiple (>2) y-axes

2007-10-05 Thread James Boyle
I wish to plot 3 lines on a single graph - each line requires a separate y scaling but shares a common x. The case for 2 such lines is handled by twinx as in the two_scales.py example. I have not found an example of 3 lines ( or greater). In the case of more than 2 scales the y axis scale wo

[Matplotlib-users] eliminating end labels on axes

2007-08-15 Thread James Boyle
I wish to produce a plot very much like that in the examples - ganged_plots.py. In these type of plots the tick labels on the end points of the y - axis tend to run into each other if nothing is done. In the example -ganged_plots.py, this issue is addressed by judicious use of ylim and defin

Re: [Matplotlib-users] Text line spacing control

2007-07-10 Thread James Boyle
As a coincidence, just today I was trying to figure out how to increase the spacing between the lines in the title of my plot. I too, would like some means to control this. --Jim On Jul 10, 2007, at 10:48 AM, Jianfu Pan wrote: > John, > > Thanks for your prompt response. I think the option ca

[Matplotlib-users] Basemap - coastlines overlay question

2007-05-29 Thread James Boyle
The code at the end of this message is a toy example which shows the problem I am encountering. OS X 10.4.9 basemap 0.9.5 (Numeric 24.2 and Numpy 1.0) python 2.5 I define a map projection using Basemap, and then plot a number of markers at various geographical locations. I would like the map

[Matplotlib-users] color bar label?

2007-04-26 Thread James Boyle
What is the easiest way to put a label on the color bar. I am thinking of putting units either below or next to the bar. I do not see this in the examples or wiki. My first guess is to get hold of the axis for the colorbar and put a label using this - but this seems a bit roundabout. --Jim

Re: [Matplotlib-users] [discrete non-uniform intervals colorbar

2007-04-18 Thread James Boyle
(). However, I have not been able to figure out how to do this for non-uniform intervals. This is a long winded way of saying that getting pcolor and matshow to work may or may not solve my specific problem. Thanks again, --Jim On Apr 18, 2007, at 1:52 AM, Eric Firing wrote: > James Bo

[Matplotlib-users] discrete non-uniform intervals colorbar

2007-04-17 Thread James Boyle
I wish to make a color filled plot with the colors defined for discrete, non-uniform intervals. Something like: 0.0 -0.001 0.001-0.05 0.05-0.2 0.2-0.4 0.4-0.8 0.8-1.0 red blue green magenta yellowcyan with the colorbar labeled app

[Matplotlib-users] Basemap - quiver scaling

2006-08-31 Thread James Boyle
when I call quiver in the Basemap toolkit, the scale keyword has the effect of eliminating all vectors, no matter what value I assign (except None). I am using matplotlib 0.87.3 - Basemap 0.9 In any case the exact effect of the scale parameter is obscure - how does is scale? units/inch, unit

Re: [Matplotlib-users] extend for colorbar

2006-08-22 Thread James Boyle
t is the only example > with pointed ends, and I think it was present as-is in 0.87.3. > > Eric > > James Boyle wrote: >> I am using matplotlib 0.87.3 >> The documentation of colorbar in color.py seems to indicate that one >> should be able to create a color bar with

[Matplotlib-users] extend for colorbar

2006-08-21 Thread James Boyle
I am using matplotlib 0.87.3 The documentation of colorbar in color.py seems to indicate that one should be able to create a color bar with pointed ends, the fill color of the ends corresponding to the over and under colors. I have not been able to get this to work. I have set the colormap.se

[Matplotlib-users] color bar with non-linear spacing

2006-06-29 Thread James Boyle
I am interested in producing a color map and accompanying colorbar with non-linear (arbitrary) spacing. My intent is like the attached color bar in which the increments are monotonic but vary in size. There might be an easy way to do this but it is not apparent to me. --Jim Using Tomcat but

[Matplotlib-users] suggestion for Example plots

2006-06-07 Thread James Boyle
I have always felt that it would be useful to have available a collection of plots corresponding to the code in the examples file as part of the distribution. (for those examples that generate plots, of course) The plot names would be the same as the example code that generated them. It could b