[Matplotlib-users] basemap install problem for 64-Bit/x86_64 on os-x

2009-02-09 Thread Mike
.dylib, file is not of required architecture of required architecture ld: warning in /usr/local/lib/libgeos_c.dylib, file is not of required architecture ld: warning in /usr/local/lib/libgeos.dylib, file is not of required architecture As al

Re: [Matplotlib-users] Make clear figure used in the powerpoint slides?

2014-04-21 Thread Mike Kaufman
Why not save to PDF? Drops straight into Powerpoint... M On 4/21/14, 4:50 PM, ChaoYue wrote: > OK, I tried but I don't really see the difference between jpg and png by > my eyes in the attached case, maybe for other more complicated plots > there will be real difference. Anyway, thanks to all for

[Matplotlib-users] Draping an image over topography in Basemap

2014-06-11 Thread Hearne, Mike
Is it possible to drape an image over a topography dataset? One example, from a package called GMT, is here: http://gmt.soest.hawaii.edu/doc/5.1.1/gallery/ex32.html If so, does anyone have a sample of how this would be accomplished? Thanks, Mike

Re: [Matplotlib-users] writing subscripts with default matplot font

2014-06-12 Thread Mike Kaufman
use matplotlib's internal latex parsing: text(0.2,0.4,"text$_{\mathrm{subscript}}$") M On 6/12/14, 6:26 AM, Nemanja Savic wrote: > Hi all guys, > > I am not able to find answer on my question: how to write subscripts > using default matplotlib font? > > best, > > -- > Nemanja Savić > > > ---

Re: [Matplotlib-users] modifying a plot from an imported module

2014-06-16 Thread Mike Kaufman
Hi. The short answer is yes. orion:~ % cat A.py from matplotlib.pyplot import * print "A" plot([0,1],[0,1]) draw() orion:~ % cat B.py from matplotlib.pyplot import * import A print "B" plot([0.5,0.75],[0,1]) draw() show() Using ipython: In [2]: run -i B.py A B and the figure shows both pl

Re: [Matplotlib-users] how to draw text label for multi pie donuts

2014-06-19 Thread Mike Kaufman
use annotate() http://matplotlib.org/users/annotations_guide.html#plotting-guide-annotation M On 6/19/14, 12:27 AM, 不坏阿峰 wrote: > thanks to Joe Kington > ‘s help, i > got this pie donuts > i have modified code to generate pie base one t

Re: [Matplotlib-users] avoid duplicate legends

2014-10-20 Thread Hearne, Mike
For your first question: Use the legend "numpoints" keyword. I think if you set it to 1, it should solve that problem. For your second question, I'm not sure, but I'll bet if you poke around in the Legend object returned by the function, you'll find something. On Mon, Oct 20, 2014 at 8:04 AM, To

[Matplotlib-users] accessing axis artist objects for an axes object

2016-09-06 Thread Hearne, Mike
class thereof) that I've experimented with says that the axis attribute is a *method*, not a sequence as I infer from the above example. How do I get the axisartists for a bog-standard Axes instance? Thanks in adva

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
should ask the question addressing the problem I actually have: How do I render the tick (map) labels *inside* a Cartopy map instead of *outside*? Thanks, Mike On Tue, Sep 6, 2016 at 5:03 PM, Thomas Caswell wrote: > ax.xaxis or ax.yaxis > > axes_grid is an alternative to the default

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
you do that by setting a negative tickpad value in the rcParams. > > On Wed, Sep 7, 2016 at 11:28 AM, Hearne, Mike wrote: >> >> Thomas - I hate to be obtuse, but did you mean to imply that the xaxis >> and yaxis properties of an Axes object are AxisArtist objects? >&g

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
e have a test for it) > > for i, tick in enumerate(ax.yaxis.get_major_ticks()): > tick.set_pad(tick.get_pad() - i * 5) > > A bit silly, but it is how you can have labels anywhere you want relative to > the ticks. > > > On Wed, Sep 7, 2016 at 11:47 AM, Hearne, Mi

[Matplotlib-users] SourceForge is telling me that there are no mirrors for the windows installer

2009-07-22 Thread Mike Waters
Is anyone else having this problem? Is there another website that I can try? -mike w. -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https

Re: [Matplotlib-users] SourceForge is telling me that there are no mirrors for the windows installer

2009-07-22 Thread Mike Waters
Never mind I found a mirror at http://www.lfd.uci.edu/~gohlke/download/matplotlib-0.98.5.3.win32-py2.6.zip -mike w. Mike Waters wrote: > Is anyone else having this problem? Is there another website that I can > try? >

[Matplotlib-users] Segmentation fault under Agg

2009-09-23 Thread Mike Nicolls
ation fault on matplotlib versions 0.99.0 (run on OS X 10.5.8) and 0.98.5.2 (run on Fedora 11 and CentOS 5.3). Can others reproduce this issue? Thanks, Mike Nicolls import scipy import matplotlib matplotlib.use('Agg') import pylab if __name__ == '__main__': xdat

[Matplotlib-users] fill_between, legends, and "label" parameter

2009-10-21 Thread Mike Anderson
-- That is, the legend finds the labels when I use fill(), but not when I use fill_between(). Why is that? Mike -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer

Re: [Matplotlib-users] fill_between, legends, and "label" parameter

2009-10-22 Thread Mike Anderson
> If you want to have a legend for PolyCollection, you may use a proxy > artist. > > http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist > Thanks for the link! Although, it seems that legend does not support PolyCollection at all: "Remember that some pyplot comman

Re: [Matplotlib-users] Plotting with times - axis labels and eliding times

2009-10-24 Thread Mike Anderson
# Format x-axis labels I have a full example of plots that have a point every minute over the course of days: http://www.hep.wisc.edu/cms/comp/routerqMonitor/index.html with a link to the full python sc

[Matplotlib-users] matplotlib slow compared to gnuplot?

2009-11-11 Thread Mike Anderson
ttp://www.hep.wisc.edu/cms/comp/routerqMonitor/index.html Any hints at what I can do to speed up my script? Or is it out of my hands because it's all in matplotlib? Thanks for any help, Mike -- Let Crystal Reports

Re: [Matplotlib-users] parsing tab separated files into dictionaries - alternative to genfromtxt?

2009-11-11 Thread Mike Anderson
(): yValues[field] = [nt(row[field])] # Start list of the values in this column else: yValues[field].append(int(row[field])) # Add to list of values in this column -- Mike --

[Matplotlib-users] Color in 3d plots

2009-11-25 Thread Mike Alger
than Z as long as it has the same dimensions surf(X,Y,Z,C) axis([-3 3 -3 3 -10 5]) Is this possible with matplotlib '0.99.1' If so how do i go about doing this is there some sample code? Mike Alger, M.A.Sc ma

Re: [Matplotlib-users] Color in 3d plots

2009-11-25 Thread Mike Alger
omeone else to do the final commit? I have attached the function in question for reference to save others from digging down into their python directories Again thanks for taking your time to help me figure this out Mike Alger < Code> def plot_surface(self, X, Y

[Matplotlib-users] axis on top for barh plot

2009-11-27 Thread Mike Anderson
rUsage.png Also, is it possible to just have grid lines in one direction (say, vertical), I don't think the horizontal grid is necessary. Thanks for any help, Mike PS: Anyone who is interested, my script for making that is here, http://www.hep.wisc.edu/cms/comp/cmsprod

Re: [Matplotlib-users] axis on top for barh plot

2009-11-29 Thread Mike Anderson
color=listColors, height=1.0, align='center') ... for tick in ax1.yaxis.get_major_ticks(): tick.label1.set_fontsize(8) -- Surprising. Mike -- Let Crystal Reports handle the reporting

Re: [Matplotlib-users] Color in 3d plots

2009-11-30 Thread Mike Alger
.add_collection(polyc) self.auto_scale_xyz(X, Y, Z, had_data) return polyc From: Mike Alger [mailto:mal...@ryerson.ca] Sent: November-25-09 8:42 PM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Color in 3d plots I have been looking at th

Re: [Matplotlib-users] Color in 3d plots

2009-12-09 Thread Mike Alger
I had a hunch that was the case but wasn`t entirely sure, and to be honest 3d plot functions have always been a black box for me and i have never really thought about what exactly gets plotted in 3d plot until now Thanks again Reinier i will take a look at the SVN A.S.A.P. Mike -Original

Re: [Matplotlib-users] axis equal

2009-12-09 Thread Mike Alger
Unfortunately i have not found such a function as of yet and the function that sound close to it (aspect) only controls the windows aspect ratio Fortunately there is a quick and dirty work around I have found the following to be useful Assuming you have X Y Z matrices made using meshgrid or som

[Matplotlib-users] contours not contained to map and simular issues

2010-02-25 Thread Mike Bauer
y,self.z, cmap=self.color_scheme,extend=self.extend) No doubt I'm doing something wrong and probably obvious, but I can't figure it out. Suggestions are much appreciated. Mike -- Download In

[Matplotlib-users] Transform problem with fixed aspect ratio

2010-03-04 Thread Mike Kay
n dot. In figure 2, where the aspect ratio is fixed, the subplot does not get placed at the correct location. Have I stumbled onto a subtlety of transforms that I'm not accounting for or is this perhaps a bug? matplotlib version 0.99.1 on linux; numpy 1.2.1 thanks a lot, -mike import

[Matplotlib-users] isolate and locate closed contours

2010-05-19 Thread Mike Bauer
each contour closed or not. I'm guessing the answer might be something like this http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg07915.html Thank you for any ideas.

[Matplotlib-users] memory leak in basemap 0.98?

2008-10-21 Thread Mike Bauer
m the provided examples does this as well, so I don't think it's something I'm doing. Any ideas? Thanks. Mike P.S. Note that I'd like to use python 2.6 for the multiprocessing module (not in use in this script as of yet). My base install of python 2.5 with matplotlib and basem

[Matplotlib-users] Axis lines crossing in them middle of the plot

2008-11-18 Thread Mike Hansen
but it didn't feel like it was the right way to do things. He didn't get any response from the list. --Mike - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Lin

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Mike Hearne
Along similar lines, has anyone figured out a way to have a drop shadow effect for text on a plot? twentypoundtrout <[EMAIL PROTECTED]> 12/01/08 01:43 PM To matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] plot with drop shadow John Hunter-4 wrote: > > On Mo

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Mike Hearne
The long answer is: I have a map with a varying background. I'd like to be able to create a white drop-shadow behind darker text, so that the text can stand out reasonably clearly against most colored backgrounds. The short answer is that my customers want it. --Mike Alan G Isaac &l

[Matplotlib-users] Contour line data

2008-12-03 Thread Mike Hearne
() cs = plt.contour(X, Y, Z) show() How could I, for example, re-draw the lines in the region X [0 1] Y [-1.5 -0.5] as dashed? I could do it, I think, if I had the for all the lines in the plot. --Mike - This SF.Net email is sponsored b

Re: [Matplotlib-users] Contour line data

2008-12-03 Thread Mike Hearne
bjects have a vertices property which looks like the stuff I want. I'll explore this for a while. Anyone who knows more about these objects, feel free to chime in! Thanks, Mike Eric Firing <[EMAIL PROTECTED]> 12/03/08 01:59 PM To Mike Hearne <[EMAIL PROTEC

[Matplotlib-users] error in hexbin normalization

2009-03-20 Thread Mike Bauer
.5/site-packages/matplotlib/cm.py", line 148, in autoscale_None self.norm.autoscale_None(self._A) AttributeError: 'int' object has no attribute 'autoscale_None' I assume this a bug of some sort. Thanks for any ideas. Mike Using:

[Matplotlib-users] Python for Scientists - courses in Germany and US

2012-01-13 Thread Mike Müller
courses, please contact me. Mike Python for Scientists and Engineers (Germany) - A three-day course covering all the basic tools scientists and engineers need. This course requires basic Python knowledge. Date: 19.01.-21.01.2012 Location: Leipzig

[Matplotlib-users] Course "Python for Scientists and Engineers" in Chicago

2012-01-24 Thread Mike Müller
ed Section -- - Extending Python with Other Languages - Unit Testing - Version Control with Mercurial The Details --- The course is hosted by David Beazley (http://www.dabeaz.com). Date: Feb 27 - Mar 2, 2012 Location: Chicago, IL, USA Trainer: Mike Müller Course Language: En

[Matplotlib-users] Matplotlib tutorial at PyCon US

2012-01-25 Thread Mike Müller
Hi, I will be giving a matplotlib and a optimization tutorial at PyCon in March. So please point people to it who would like to have a compact introduction to matplotlib. The optimization tutorial gives an overview over this topic. BTW, the early bird deadline is today. Mike Plotting with

Re: [Matplotlib-users] how to maintain fractional minor tick spacing

2012-03-11 Thread Mike Kaufman
On 3/11/12 8:14 AM, cgraves wrote: > > Hi, here is an example script which places minor ticks with 2 per major tick > (minor tick spacing is "fractional" of major tick spacing with relative > interval of 1/2): > > from pylab import * > fig=figure() > ax=subplot(111) > ax.autoscale(tight=True) > plo

Re: [Matplotlib-users] how to maintain fractional minor tick spacing

2012-03-26 Thread Mike Kaufman
: I believe this is a fairly new feature... > > > Thanks! Great news that AutoMinorLocator has been added and > accomplishes this. Regarding the P.S. I can confirm that the feature > was not in matplotlib 1.0.1 - I had to update to 1.1.0 to use it. > > Best /Chris &

[Matplotlib-users] `patch` command for pyplot?

2012-06-13 Thread Mike Kaufman
I believe that the only way to add a patch is through ax.add_patch() Should there be an associated pyplot patch() command? M -- Live Security Virtual Conference Exclusive live event will cover all the ways today's securit

Re: [Matplotlib-users] Scatter legend woes.

2012-06-13 Thread Mike Kaufman
On 6/13/12 3:23 PM, Steven Boada wrote: > Whoops, I forgot to change the subject. Sorry list. > > List, > > I'm making a scatter plot using a for loop. Here's a simple example.. > > for i in range(10): > x=rand() > y=rand() > scatter(x,y,label='point') > > legend() > show() > > >

Re: [Matplotlib-users] Scatter legend woes.

2012-06-13 Thread Mike Kaufman
On 6/13/12 4:06 PM, Steven Boada wrote: > > Well I am doing a lot more than this simple example shows. Point is that > there are nine different points each with their own legend entry. > > I could put it all out of the for loops, but it is all already written, > and I'd rather just fix the legend a

Re: [Matplotlib-users] Variable wspace and/or hspace?

2012-09-18 Thread Mike Kaufman
On 9/18/12 6:14 PM, Sean Lake wrote: > Hello all, > > I want to adjust the wspace used in a gridspec plot on a cell by cell > basis. Anyone have suggestions for how to do that? I haven't been > able to find an api to do that directly. The other possibility would > be to be able to embed a gridspec

Re: [Matplotlib-users] drawing secondary x axis for months: a better way?

2012-10-08 Thread Mike Kaufman
On 10/8/12 11:03 PM, Paul Tremblay wrote: > I often have to make graphs with time series, with each point being the > start of a week. Below is the result I wish: > > However, in order to make the secondary x axis the the month labels, I > need something like 40 lines of code. My strategy consists

Re: [Matplotlib-users] Options for speeding up matplotlib, spectrogram with log scale axis, etc.

2012-10-09 Thread Mike Kaufman
On 10/9/12 10:03 PM, Jody Klymak wrote: > Hi Eric, > >> The pcolormesh docstring notes that it is >> much faster than pcolor; the pcolor docstring probably should refer >> people to pcolormesh, since matlab users are likely to go straight to >> pcolor without realizing that they should be using p

Re: [Matplotlib-users] rasterized colorbar

2012-10-29 Thread Mike Kaufman
On 10/29/12 1:08 PM, Jody Klymak wrote: > > On Oct 28, 2012, at 17:47 PM, Eric Firing wrote: >> >> cb = colorbar() >> cb.solids.set_rasterized(True) > > > Great! Though I think it'd have taken me a while to figure that one out! I gotta agree. Is this (and the solids object) documented anywhere?

[Matplotlib-users] basemap and imshow at high latitudes

2013-03-11 Thread Hearne, Mike
ports that *are* rectangular. Or perhaps it's something else entirely. Any hints? Thanks, Mike Hearne -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013

[Matplotlib-users] retrieve a value at from projected data at a specific lon/lat?

2010-06-10 Thread Mike Bauer
j is bound by a set of latitudes and longitudes. Thanks for any suggestions. Mike -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental

Re: [Matplotlib-users] color in plot3d

2010-06-14 Thread Mike Alger
][cs]) costmapout=np.array(costmapout) surf.set_array(costmapout) ## do your show plot stuff here!! Mike Alger From: Pablo Angulo [mailto:pablo.ang...@uam.es] Sent: June-11-10 7:04 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] color in

Re: [Matplotlib-users] color in plot3d

2010-06-16 Thread Mike Alger
onally and see if there is an improvement to be made in the plot surface command From: Pablo Angulo [mailto:pablo.ang...@uam.es] Sent: June-16-10 9:07 AM To: Mike Alger Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] color in plot3d El 15/06/10 01:22, Mike

[Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-23 Thread Mike Anderson
xtras Downloading/unpacking dsextras Could not find any downloads that satisfy the requirement dsextras No distributions at all found for dsextras Storing complete log in /Users/michaelanderson/.pip/pip.log What is this obscure package (dsextras) and is it really necessary to run the shared a

Re: [Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-24 Thread Mike Anderson
lib.use('Agg') # Anti-Grain Geometry (raster images) matplotlib.use('PDF') import matplotlib.pyplot as plt Thanks! Mike -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's

[Matplotlib-users] Scientific tools tutorial at PyCon US, March 9, 2011

2011-01-18 Thread Mike Müller
* SciPy * matplotlib/IPython * extensions with C and Fortran So if your are new to these tools and go to PyCon, you might consider taking the tutorial. Also, if you know somebody who would likely be interested in this tutorial, please spread the word. Thanks. Mike -- Mike Müller mmuel...@python

Re: [Matplotlib-users] 3D Data to 2d Plots

2011-01-27 Thread Mike Alger
a 2d array but i am no expert on that mater. Good luck and hopefully this helps, Mike From: Philipp A. [mailto:flying-sh...@web.de] Sent: January-27-11 5:15 PM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] 3D Data to 2d Plots Hi list, I want to

Re: [Matplotlib-users] 3D Data to 2d Plots

2011-02-02 Thread Mike Alger
-28-11 10:55 AM To: Mike Alger Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] 3D Data to 2d Plots 2011/1/28 Mike Alger Philip, A few questions before I give one possible solution, Does this plot need to be updated in real time ? or is this plot to be done

Re: [Matplotlib-users] Text box adaptable

2011-03-08 Thread Mike Kaufman
Is there an easy way to draw a piece of text (or whatever) to an off-screen or off-canvas buffer, figure out the size from that, and then use that to draw to the plot? M On 3/8/11 5:51 AM, Andrea Crotti wrote: > Goyo writes: > >> >> As Ben explained you need to draw first. So the usual path is

[Matplotlib-users] use of data coordinates in axhline?

2011-03-25 Thread Mike Kaufman
What the best way to to use data coordinates rather than axes coordinates for xmin and xmax with axhline? Here's my kludgy solution, but it's not elegant: plot(arange(20)) ax = gca() inv = ax.transAxes.inverted() x = inv.transform(ax.transData.transform([10,0])) ax.axhline(10, xmax=x[0]) I tri

[Matplotlib-users] gridlines for one axis?

2011-03-31 Thread Mike Kaufman
how does one turn on gridlines for just the x-ticks or just the yticks? grid() just seems to do major or minor for both at the same time. M -- Create and publish websites with WebMatrix Use the most popular FREE web apps

[Matplotlib-users] [ANN] Courses in Colorado: "Introduction to Python and Python for Scientists and Engineers"

2011-04-18 Thread Mike Müller
Both courses can be booked individually or together. Venue: Colorado School of Mines, Golden, CO (20 minutes west of Denver) Trainer: Mike Müller Target Audience --- The introductory course is designed for people with basic programming background. Since it is a general introduction

[Matplotlib-users] [ANN] Courses in Colorado: "Introduction to Python and Python for Scientists and Engineers" - one day left for early bird rate

2011-05-18 Thread Mike Müller
Introduction to Python June 5, 2011 Python for Scientists and Engineers Both courses can be booked individually or together. Venue: Colorado School of Mines, Golden, CO (20 minutes west of Denver) Trainer: Mike Müller Target Audience --- The introductory course is designed for

Re: [Matplotlib-users] How to Add Minor Ticks to Auto-Scaled Axis?

2011-06-21 Thread Mike Kaufman
I'm not sure exactly how you want your minor ticks, but you can try this LinearMinorLocator (which is not in the distribution yet). If you're conversant with git you can find the branch here: https://github.com/matplotlib/matplotlib/pull/122 M On 6/19/11 3:20 PM, matplotlib.coral...@xoxy.net

[Matplotlib-users] PyCon DE 2011 - Call for Proposals extended to July 15, 2011

2011-07-02 Thread Mike Müller
PyCon DE 2011 - Deadline for Proposals extended to July 15, 2011 The deadline for talk proposals is extended to July 15, 2011. You would like to talk about your Python project to the German-speaking Python community? Just submit you

[Matplotlib-users] combining figures

2006-12-20 Thread Mike Cantor
n paste an image from the clipboard (I know I can copy to it)? Thanks for any ideas, -mike - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share

[Matplotlib-users] pcolor and masked arrays; am I missing something?

2007-09-24 Thread Mike Bauer
/usr/local/lib/python2.5/site-packages/numpy/core/ma.py:604: UserWarning: Cannot automatically convert masked array to numeric because data is masked in one or more locations. --- Is this an embarrassingly simple error on my part? I hope so. Any

[Matplotlib-users] pcolor and masked arrays; am I missing something?

2007-09-24 Thread Mike Bauer
. . . /usr/local/lib/python2.5/site-packages/numpy/core/ma.py:604: UserWarning: Cannot automatically convert masked array to numeric because data is masked in one or more locations. --- Is this an embarrassingly simple error on my part? I hope so. Any he

[Matplotlib-users] eclipse integration

2006-08-05 Thread Mike Frysinger
address: 0xF00 - number of points: 50 - data type: double - plot type: line -mike pgpmPRqwzsMSI.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pane

Re: [Matplotlib-users] Color in 3d plots

2009-12-01 Thread Michael (Mike) Alger
as i saw MPL as the perfect solution as it does just about everything i need except that one tiny variation in the surface command and i didn't want to rule it out its use in a user interface project i have work on in the coming months because of it. Mike - Original Message -