Re: [Matplotlib-users] Corr plot in subplot

2015-03-13 Thread Adam Hughes
All the pandas plots that I've used take an axes keyword so try: c = corrplot.Corrplot(df, ax=ax1) or c = corrplot.Corrplot(df, axes=ax1) Do either of those work? On Fri, Mar 13, 2015 at 2:04 PM, Paul Hobson pmhob...@gmail.com wrote: What's the function signature of corrplot.CorrPlot?

Re: [Matplotlib-users] Lorenz - solution

2015-03-10 Thread Adam Hughes
That's pretty swag! On Tue, Mar 10, 2015 at 11:49 AM, Benjamin Root ben.r...@ou.edu wrote: +1000!! Great job! Would you mind if I clean it up a bit and add it to the mplot3d/animation gallery? Full credit, of course. On Tue, Mar 10, 2015 at 11:30 AM, Prahas David Nafissian

Re: [Matplotlib-users] Defaults?

2014-11-07 Thread Adam Hughes
I use a config file in ipython notebooks that sets some parameters of the ipython notebook and then sets the matplotlib defaults. http://nbviewer.ipython.org/github/hugadams/pyuvvis/blob/master/examples/Notebooks/NBCONFIG.ipynb Then I use in all subsequent analysis in the ipython notebook:

Re: [Matplotlib-users] 2 overlaid plots with grid??

2014-10-21 Thread Adam Hughes
I wrote a program that draws grids manually on mpl plots a while back. If you can't find a solution can you write back here and I'll try to get that dusted off? On Oct 21, 2014 2:39 PM, Benjamin Root ben.r...@ou.edu wrote: Well, the first part is easy... it is called twinx(). If you look up

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-01 Thread Adam Hughes
Instead of learning VTK, you may find it easier to start with Mayavi 2 (written on VTK). On Wed, Oct 1, 2014 at 2:27 PM, Fabrice C. kappamonag...@yahoo.co.jp wrote: Dear Ben, Thank you for the explanation. Too bad mplot3d cannot display textured polygons. I did have a look at glumpy and

[Matplotlib-users] Transferring an Axes Subplot to a projection on a 3d plot

2014-09-24 Thread Adam Hughes
Hi, Sorry for all of these left-field questions. We are trying to develop some custom functionality for a spectroscopy program... Given a 3d surface plot, matplotlib makes it easy to add contours along the projections of the plot.

[Matplotlib-users] Wireframe colored mesh

2014-09-24 Thread Adam Hughes
Hi, I'm following up on an answered stack overflow thread: http://stackoverflow.com/questions/24909256/how-to-obtain-3d-colored-surface-via-python/26026556#26026556 They show how to create a colormap for a wireframe plot. I noticed that this solution fails when the X and Y data are not the

Re: [Matplotlib-users] Wireframe colored mesh

2014-09-24 Thread Adam Hughes
https://github.com/matplotlib/matplotlib/issues/3562 On Wed, Sep 24, 2014 at 6:17 PM, Adam Hughes hughesada...@gmail.com wrote: Agreed. I will do so, thanks. If you are able to figure it out, I would be super grateful. I must have spend 5 hours beating my head over this... I'll fill

[Matplotlib-users] Getting the projection of an axis

2014-09-23 Thread Adam Hughes
Hello, Is it possible to inspect an AxesSubplot object and infer if it is using a 3d projection or not? Couldn't figure it out directly from the API. Thanks -- Meet PCI DSS 3.0 Compliance Requirements with EventLog

Re: [Matplotlib-users] Wireframe with no cstrides?

2014-09-22 Thread Adam Hughes
Root ben.r...@ou.edu wrote: I think you can just set the linewidth to zero like in these examples: http://matplotlib.org/examples/mplot3d/surface3d_demo.html http://matplotlib.org/examples/mplot3d/surface3d_demo3.html Cheers! Ben Root On Sat, Sep 20, 2014 at 7:44 PM, Adam Hughes hughesada

Re: [Matplotlib-users] Wireframe with no cstrides?

2014-09-20 Thread Adam Hughes
, 2014 at 7:31 PM, Adam Hughes hughesada...@gmail.com wrote: Hi, I was using wireframe to plot my spectroscopy data, and noticed if I choose a large R-stride, I somewhat unexpectedly get this really helpful evenly spaced spectral plot (attached). The only issue is that there's still the cstride

Re: [Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Adam Hughes
This will clear the figure: plt.clf() Is this what you're looking for, or just to pop one plot form the stack? On Fri, Apr 18, 2014 at 6:21 PM, Michael Mossey michaelmos...@gmail.comwrote: Sorry for what is a beginnerish question but I'm having a hard time using the docs. I want to remove

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-11 Thread Adam Hughes
Hi Paul, I tried out the legend proxy artist, and it works for rectangles in the legend, but I can't seem to get a Circle to appear in the legend, which I presume should be: p = Circle((0, 0), fc=r) legend([p], [Red Rectangle]) On Wed, Apr 9, 2014 at 2:20 PM, Adam Hughes hughesada...@gmail.com

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-09 Thread Adam Hughes
to handle this situation? On Wed, Apr 9, 2014 at 1:44 AM, Sterling Smith smit...@fusion.gat.comwrote: Adam, I haven't investigated, but does the discussion of the legend marker at [1] help? -Sterling [1] https://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg25200.html

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-09 Thread Adam Hughes
Thanks Paul, I will try it out. On Wed, Apr 9, 2014 at 12:21 PM, Paul Hobson pmhob...@gmail.com wrote: On Wed, Apr 9, 2014 at 9:00 AM, Adam Hughes hughesada...@gmail.comwrote: Thanks. That's probably the way I'll go. At first, I thought creating separate legend markers and removing

[Matplotlib-users] Variable size markers legend formatting

2014-04-08 Thread Adam Hughes
Hello, I've been searching but can't seem to find this topic addressed (perhaps wrong search terms) Simply put, I have a scatter plot with variable size markers, and I'd like to have the markers all be a single size in the legend. Is there a standard way to do this? Thanks.

[Matplotlib-users] Changing figure background color (through rcparams?)

2014-03-20 Thread Adam Hughes
Hi, I am using an IPython notebook style that has a soft, yellow background that I think is more appealing that white. When I make a plot, I'd like the background of the plot (ie, everything that is outside the x and y axis) to be the same color. I'm trying to change the figure.facecolor

[Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
Hi, I am making a stacked histogram where one must enter the desired colors together in a list/array when the histogram is called. For certain objects in my code, it's helpful to assign a color to them, so that they are immediately identified across various plots. Therefore, I essentially want

Re: [Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
) c = axfoo._get_lines.color_cycle.next() # Reset colorcycle for i in range(len(clist) -1): axfoo._get_lines.color_cycle.next() return clist On Wed, Mar 5, 2014 at 2:56 PM, Adam Hughes hughesada...@gmail.com wrote: Hi, I am making a stacked histogram where one must

Re: [Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
Hilboll li...@hilboll.de wrote: On 05.03.2014 20:56, Adam Hughes wrote: Hi, I am making a stacked histogram where one must enter the desired colors together in a list/array when the histogram is called. For certain objects in my code, it's helpful to assign a color to them, so

[Matplotlib-users] Not rendering integral/sum when using latex = True

2014-02-28 Thread Adam Hughes
Hi, In an IPython notebook, I've changed several setting in both the notebook's style and the plotting style. I noticed that when I change the usetex option in the rcparams: *rcParams['text.usetex'] = True * Then I add an integral sign as text to a plot (either title or axis label)

Re: [Matplotlib-users] Not rendering integral/sum when using latex = True

2014-02-28 Thread Adam Hughes
Sorry, it seems that I didn't have dvipng installed correctly! On Fri, Feb 28, 2014 at 2:53 PM, Adam Hughes hughesada...@gmail.com wrote: Hi, In an IPython notebook, I've changed several setting in both the notebook's style and the plotting style. I noticed that when I change the usetex

Re: [Matplotlib-users] colorbllind problem

2014-02-17 Thread Adam Hughes
I'm wondering if the matplotlib API is designed in such a way that choosing a color schema could be done at import time. I know that the entire plot style can be changed in one call (eg put plt.xkcd() at the beginning of your code), so I wander if colorblind-compatible colors could be loaded in a

[Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
Hi, I am working on a library for image analysis which stores particles as indexed numpy arrays and provides functionality for managing the particles beyond merely image masking or altering the arrays directly. I've already designed classes for many common shapes including Lines/Curves,

Re: [Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
the geometry (ie line -- mpatch.Line) unless anyone has any better suggestions. Thanks! On Tue, Jan 7, 2014 at 3:08 PM, Adam Hughes hughesada...@gmail.com wrote: Hi, I am working on a library for image analysis which stores particles as indexed numpy arrays and provides functionality

Re: [Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
with the scikit image mailing list. If I am able to get the patches built it, would anyone mind if I share it with the matplotlib list as well? Thanks On Tue, Jan 7, 2014 at 4:10 PM, Joe Kington joferking...@gmail.com wrote: On Tue, Jan 7, 2014 at 2:29 PM, Adam Hughes hughesada...@gmail.comwrote

Re: [Matplotlib-users] installing basemap on osx 10.6

2012-12-30 Thread Adam Mercer
/UnsupportedOperationException.h /opt/local/include/geos/util/math.h /opt/local/include/geos/version.h /opt/local/include/geos_c.h $ Cheers Adam -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8

Re: [Matplotlib-users] Lots of failing tests raising KnownFailureTest

2012-11-19 Thread Adam Mercer
when they are expected to). KnownFailure is not a default nosetest packages. Hence, we have to load it manually when running the tests. Thanks, makes sense. Cheers Adam -- Monitor your physical, virtual and cloud

[Matplotlib-users] Lots of failing tests raising KnownFailureTest

2012-11-18 Thread Adam Mercer
they? Cheers Adam PS: I'm using python-2.7.3, nose-1.2.1 on Mac OS X 10.8.2 compiled from MacPorts. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers

[Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
If I do: bar(range(3), [1,0,2]) ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in between where the middle bar would be if not equal to 0. Yet if I do: bar(range(3), [1,2,0]) ... then I get two bars of equal width. Is there a way to preserve the space for the

[Matplotlib-users] Offsetting tick labels

2012-09-19 Thread Adam Davis
I am trying to get alternating tick labels to move completely above and completely below the x axis. If I call: set_ha('top') ... then the number appears fully below the x axis. However, when I call: set_ha('bottom') ... then the number appears roughly vertically centered on the axis.

Re: [Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
Yes, that works. Many thanks. On Thu, Sep 20, 2012 at 1:12 AM, Benjamin Root ben.r...@ou.edu wrote: On Wednesday, September 19, 2012, Adam Davis wrote: If I do: bar(range(3), [1,0,2]) ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in between where

Re: [Matplotlib-users] Legend and proxy artists

2011-10-28 Thread Adam Mercer
/matplotlib/matplotlib/pull/534). It worked without issue with matplotlib-1.0.1. Cheers Adam -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more

[Matplotlib-users] Legend and proxy artists

2011-10-27 Thread Adam Mercer
], [value_plot]), (Morning, Evening, Value), numpoints=1, loc=0, borderpad=1, shadow=True, fancybox=True) # save plot fig.savefig(plot_file) Cheers Adam -- The demand for IT networking professionals continues to grow

Re: [Matplotlib-users] Legend and proxy artists

2011-10-27 Thread Adam Mercer
you mean something like the following: # legend date_axes.legend(([morning_plot], [evening_plot], [value_plot[0]]), (Morning, Evening, Value), numpoints=1, loc=0, borderpad=1, shadow=True, fancybox=True) as that results in the same errors? Cheers Adam

[Matplotlib-users] Axes frame lineweights

2011-09-09 Thread Adam Davis
Is there a way to reduce the lineweight of the axes frame edge? Alternatively, is there a way to hide the edge of the frame without turning the frame off? Thanks, Adam -- Why Cloud-Based Security and Archiving Make

[Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
and the images disappear. Is there a way to both plot and display images in the same figure? -Adam -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price

Re: [Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
(and without disrupting imshow)? - have subplots within subplots so that I can have the plot() calls in one set of axes within a subplot (using sharex/y) and the imshow() calls in another subplot? -Adam On Sun, Sep 4, 2011 at 10:34 PM, Eric Firing efir...@hawaii.edu wrote: On 09/04/2011 11:12 AM

[Matplotlib-users] Version 1.0.0 still listed on homepage

2011-04-17 Thread Adam Mercer
Hi On the homepage, http://matplotlib.sourceforge.net, matplotlib-1.0.0 is still being listed as the latest available version in the News sidebar. Is there any reason why 1.0.1 is not listed here? Cheers Adam

[Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
morning_plot = date_axes.plot_date(morning[:,0], morning[:,1], 'ro-', ms=4) IndexError: invalid index Is there a way that I can plot these files regardless of whether they contain multiple or single lines? Cheers Adam -- Gaining

Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
is a 1-d array rather than your expected 2d array. You can mitigate this by using np.atleast_2d() on the returned array.  This will guarantee that your 'morning' array will always be 2d. I hope that helps! It does! Thanks! Cheers Adam

[Matplotlib-users] Cygwin Install

2010-08-27 Thread Adam Gustafson
I found a web page in which someone has done the horrible task of figuring out how the hell you compile in Cygwin. Details below: http://innuendopoly.org/arch/matplotlib-cygwin In short, the Cygwin compile runs into TONS of errors as is, and it seems the matplotlib developers aren't really

[Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
162, in module if check_for_tk() or (options['build_tkagg'] is True): File /home/Adam/installs/matplotlib-1.0.0/setupext.py, line 816, in check_for_tk explanation = add_tk_flags(module) File /home/Adam/installs/matplotlib-1.0.0/setupext.py, line 1080, in add_tk_flags result

Re: [Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
: Matplotlib works well with Cygwin (I am using it with the gtkcairo backend), but installing it can be a hassle. You'll have to fix errors such as the ones you're seeing by modifying setup.py or setupext.py. --Michiel. --- On *Mon, 8/16/10, Adam Gustafson am...@stat.washington.edu* wrote

[Matplotlib-users] cygwin compile?

2010-08-10 Thread Adam Gustafson
) * Could not find 'libpng' headers in any of * '/usr/include', '.' Traceback (most recent call last): File setup.py, line 162, in module if check_for_tk() or (options['build_tkagg'] is True): File /home/Adam/matplotlib-1.0.0/setupext.py, line 816

[Matplotlib-users] matplotlib.test() no errors, but $nosetest matplotlib.tests - errors and failure?

2010-07-24 Thread Adam
(KNOWNFAIL=2) $nosetests matplotlib.tests I get: [...snipped output] Ran 144 tests in 380.165s FAILED (errors=4, failures=1) Two of these errors are the known failures from above, and the other two are in matplotlib.tests.test_text.test_font_styles: ImageComparisonFailure: images not close: /home/adam

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-24 Thread Adam J Richards
matplotlib-0.99.3.tar.gz $ cd matplotlib-0.99.3 $ sudo /usr/local/bin/python setup.py build $ sudo /usr/local/bin/python setup.py install_* *_ Hopefully this helps. -Adam Richards Duke University -- ThinkGeek and WIRED's

Re: [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-01 Thread Adam Fraser
Hi all, I updated to version 99.1.1 and I'm still getting the error ValueError: argument must be box, or datalim at set_adjustable... from axes.py when I try to do ax.set_adjustable(box-forced) as you suggested. -Adam On Thu, May 27, 2010 at 3:08 PM, Adam Fraser adam.n.fra...@gmail.comwrote

[Matplotlib-users] Is there a way to link axes of imshow plots?

2010-05-27 Thread Adam Fraser
, but zooming caused all subplots to zoom from the same global point, rather than from the same point in each of their respective axes. Can anyone suggest a workaround? Much thanks! -Adam from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg as NavigationToolbar class MyNavToolbar

Re: [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-05-27 Thread Adam Fraser
-paul From: Adam Fraser [mailto:adam.n.fra...@gmail.com] Sent: Thursday, May 27, 2010 10:44 AM To: matplotlib-users Subject: [Matplotlib-users] Is there a way to link axes of imshow plots? Suppose I have a figure canvas with 3 plots... 2 are images of the same dimensions

[Matplotlib-users] Draggable matplotlib legend

2010-01-28 Thread Adam Fraser
I thought I'd share a solution to the draggable legend problem since it took me forever to assimilate all the scattered knowledge on the mailing lists... class DraggableLegend: def __init__(self, legend): self.legend = legend self.gotLegend = False

[Matplotlib-users] tk_agg plotting error when using legend()

2009-09-17 Thread Adam Ginsburg
but it still happens without latex in the labels and when I use a linear-linear plot. Adam -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year

Re: [Matplotlib-users] ipython threading fails with macosx backend

2009-07-02 Thread Adam
/adam/.matplotlib/matplotlibrc matplotlib version 0.98.5.3 verbose.level helpful interactive is True units is True platform is darwin $HOME=/Users/adam CONFIGDIR=/Users/adam/.matplotlib Using fontManager instance from /Users/adam/.matplotlib/fontList.cache backend MacOSX version unknown In [2]: plot

Re: [Matplotlib-users] subplots with no space between limited to 6x6?

2009-06-29 Thread Adam
Thanks Jae-Joon, that worked. Adam On Mon, Jun 29, 2009 at 9:03 AM, Jae-Joon Leelee.j.j...@gmail.com wrote: Yes, I can reproduce this with the current svn. I think what's happening is that, with larger number of grid,  there is slight overlapping between each subplots (likely due

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-22 Thread Adam Mercer
]+(?:\.[0-9]+)*)\.tar\.gz That directory isn't listable, so won't work with the MacPorts version check infrastructure. Cheers Adam -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-21 Thread Adam Mercer
is not a specific release but a sub release of 0.98.5 I can't use the sourceforge downloads page to query this. It would be really helpful if a page was provided that listed the latest stable release that packagers could use to automatically query. Cheers Adam

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-18 Thread Adam Mercer
is 0.98.6svn, can this be corrected? Cheers Adam -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine

Re: [Matplotlib-users] Interactive backends very (suprisingly?) slow for multiple subplots

2009-04-29 Thread Adam
keywords. Part of my question that I hope makes sense: Is there a way to unblock the command line without closing the plot window when using an interactive backend? Thanks, and sorry about the misunderstandings / lack of clarity, Adam

Re: [Matplotlib-users] Interactive backends very (suprisingly?) slow for multiple subplots

2009-04-29 Thread Adam
On Wed, Apr 29, 2009 at 9:22 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Apr 29, 2009 at 9:50 AM, Adam keflav...@gmail.com wrote: I would like to have access to the command line while simultaneously being able to interact with and/or display plots.  I think this is what ipython does

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
at this point? Thanks, Adam On Fri, Apr 24, 2009 at 7:52 AM, Michael Droettboom md...@stsci.edu wrote: On my machine (32-bit Fedora 10 with 2GB RAM), it chugs along swapping for a lng time and then fails with a Python MemoryError exception -- which is at least reasonable. I suspect

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
A 1x1 array reproduces the error: milkyway /data/glimpseii $ gdb /usr/local/python/bin/python GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or

[Matplotlib-users] Segmentation fault using imshow on large image

2009-04-23 Thread Adam Ginsburg
' In [4]: matplotlib.__version__ Out[4]: '0.98.5.2' In [5]: f = pyfits.open('GLM_00600+_mosaic_I3.fits') In [6]: f[0].data.shape Out[6]: (10370, 9320) In [7]: f[0].data.dtype Out[7]: dtype('f4') In [8]: imshow(f[0].data) Segmentation fault Any ideas? Thanks, Adam

Re: [Matplotlib-users] Python 2.6 installer for Windows?

2009-02-23 Thread Adam Mercer
Adam -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
Anyone? Cheers Adam On Sat, Jan 17, 2009 at 17:19, Adam Mercer ramer...@gmail.com wrote: Hi I'm trying to track down an issue with the CocoaAgg backend on Mac OS X using MacPorts, when run with the CocoaAgg backend the following code: from pylab import * import time ion() tstart

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
for. Thanks, I'll pass that onto the user who reported this problem to me. Cheers Adam -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

[Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-17 Thread Adam Mercer
backend: $ python temp.py -dMacOSX FPS: 20.1183278689 Is there some missing dependency that could cause this? Cheers Adam -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story

[Matplotlib-users] Backtrace when including a legend with 0.98.5.1

2008-12-26 Thread Adam Mercer
) then the plot is produced as expected. Is this a regression, or am I doing something odd with the legend? Cheers Adam -- ___ Matplotlib-users mailing list Matplotlib-users

Re: [Matplotlib-users] Backtrace when including a legend with 0.98.5.1

2008-12-26 Thread Adam Mercer
On Fri, Dec 26, 2008 at 13:54, John Hunter jdh2...@gmail.com wrote: Could you please post a complete, free-standing example? Also, you might want to test against 98.5.2 which has been released with some legend fixes. Thanks John, updating to 0.98.5.2 fixes the problem. Cheers Adam

[Matplotlib-users] using ginput with images -- axes are resized?

2008-10-31 Thread Adam
) imshow(t) x = ginput(1) #--- this problem was also addressed in a post back in august: http://www.nabble.com/ginput-changes-axes-limits-td18863282.html#a18863282 but it received no replies. any ideas on whats going on? thanks, adam

Re: [Matplotlib-users] Event handling, API programming

2008-10-30 Thread Adam
On Wed, Oct 29, 2008 at 11:19 PM, Anthony Floyd [EMAIL PROTECTED] wrote: Hi Adam, On Sun, Oct 26, 2008 at 4:34 PM, Adam [EMAIL PROTECTED] wrote: Hi, I'm trying to make myself a set of widgets for the first time. I've gotten to the point that I can draw rectangles and lines and make them do

[Matplotlib-users] Event handling, API programming

2008-10-26 Thread Adam
/some-API-documentation-td16204232.html. Second question: I have two subplots of different data with the same dimensions. I'd like to zoom in to the same region on both figures when I use zoom-to-box on either one. How can I do this? (I'm using tkAgg) Thanks, Adam

[Matplotlib-users] MatPlotLib won't plot

2008-08-10 Thread Adam Getchell
be reporting anything else not listed on: http://matplotlib.sourceforge.net/faq.html Thanks! Adam -- Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu - This SF.Net email is sponsored by the Moblin Your Move

Re: [Matplotlib-users] MatPlotLib won't plot

2008-08-10 Thread Adam Getchell
(if there ever is one) should include this file (or check for it)? Thanks again for the help! - Charlie Adam -- Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu - This SF.Net email is sponsored

[Matplotlib-users] 0.98.2 release?

2008-06-30 Thread Adam Mercer
Hi Has matplotlib-0.98.2 been officially released? The reason I'm asking is that the web page still states that 0.98.1 is the release and the 0.98.2 tar ball is under the 0.98.1 release on the sourceforge download page? Cheers Adam

Re: [Matplotlib-users] ValueError: oridinal must be = 1 with 0.98.1 - non with 0.98.0

2008-06-30 Thread Adam Mercer
On Wed, Jun 25, 2008 at 8:44 AM, John Hunter [EMAIL PROTECTED] wrote: I think I have this fixed in svn Just downloaded 0.98.2 and the code that failed in 0.98.1 works! Thanks! Cheers Adam - Check out the new

Re: [Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-27 Thread Adam Mercer
On Fri, Jun 27, 2008 at 12:03 PM, Charlie Moad [EMAIL PROTECTED] wrote: You'll need to edit setupext.py to not inject the -framework Tcl -framework Tk flags. Thanks Charlie, that does the trick. Cheers Adam - Check out

[Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-26 Thread Adam Mercer
, but header files are not found. * You may need to install development packages. The header files are installed. Can Matplotlib be linked against a non-framework build of Tcl/Tk on Mac OS X, and if so how? Cheers Adam

Re: [Matplotlib-users] ValueError: oridinal must be = 1 with 0.98.1 - non with 0.98.0

2008-06-25 Thread Adam Mercer
.xaxis.set_major_formatter(mdates.DateFormatter('%Y/%m/%d')) plt.show() Thanks John, although the scale on the x-axis isn't shown using the above example. Cheers Adam - Check out the new SourceForge.net Marketplace. It's

Re: [Matplotlib-users] ValueError: oridinal must be = 1 with 0.98.1 - non with 0.98.0

2008-06-24 Thread Adam Mercer
Adam #!/usr/bin/env python # import required system modules import sys import math from datetime import * # import required matplotlib modules import matplotlib # set backend matplotlib.use('Agg') # import remaining matplotlib modules import pylab from matplotlib import dates test_dates

Re: [Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-23 Thread Adam Mercer
Hi Anyone know how to fix this problem? Cheers Adam On Thu, Jun 19, 2008 at 8:31 PM, Adam Mercer [EMAIL PROTECTED] wrote: Hi I have a plot that has two different y-axis scales and I want appropriate tick marks for the different y-axes. ie I want the tick marks on the left axis

[Matplotlib-users] ValueError: oridinal must be = 1 with 0.98.1 - non with 0.98.0

2008-06-23 Thread Adam Mercer
_from_ordinalf(x, tz) File /opt/local/lib/python2.5/site-packages/matplotlib/dates.py, line 156, in _from_ordinalf dt = datetime.datetime.fromordinal(ix) ValueError: ordinal must be = 1 Any ideas? Cheers Adam - Check out

[Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Adam Mercer
to find an example. Can anyone point me to and example or the appropriate methods that would allow me to do this? Cheers Adam - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services

[Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-19 Thread Adam Mercer
(pylab.MultipleLocator(5)) axes2.yaxis.set_minor_locator(pylab.MultipleLocator(1)) but the minor ticks are on both the left and right y-axes. How can I make the minor ticks for axes1 only appear on the the left and the minor ticks for axes2 appear on the right? Cheers Adam

[Matplotlib-users] Returning contour points as an array

2008-03-03 Thread Adam Ginsburg
to do the above? Is this actually the easy method? Thanks, Adam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

[Matplotlib-users] GEOS 3 and basemap

2007-12-23 Thread Adam Mercer
Hi Will basemap work with the newly released GEOS-3.0.0, or does it only work with 2.2.3 for now? Cheers Adam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http

Re: [Matplotlib-users] GEOS 3 and basemap

2007-12-23 Thread Adam Mercer
On Dec 23, 2007 7:40 PM, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: It only works with 2.2.3. I have not been able to make it work with 3.0.0, so I don't know if it ever will. Thanks for the clarification Jeff Cheers Adam

Re: [Matplotlib-users] Error producing a plot after updating to 0.91.1

2007-12-07 Thread Adam Mercer
On Dec 7, 2007 9:09 AM, Michael Droettboom [EMAIL PROTECTED] wrote: You could try setting your backend to simply Agg to rule out some Tk usage/installation problem as the culprit. Thanks, the problem goes away if I use the Agg backend. Cheers Adam

Re: [Matplotlib-users] Error producing a plot after updating to 0.91.1

2007-12-07 Thread Adam Mercer
On Dec 7, 2007 8:21 AM, Michael Droettboom [EMAIL PROTECTED] wrote: Can you also please attach your data -- or point to some acceptable data online? What platform and backend are you using? I've attached an example data file. I'm using the TKAgg backend on Mac OS X Leopard. Cheers Adam

[Matplotlib-users] Error producing a plot after updating to 0.91.1

2007-12-06 Thread Adam Mercer
Hi Since updating to 0.91.1 one of my scripts, attached, has stopped working. I get the following error when trying to run it $ ./plot.py data.dat plot.png alloc: invalid block: 0x1c15fa4: 40 1 0 Abort trap $ Any ideas what could be causing this? Cheers Adam plot.py Description: Binary

[Matplotlib-users] Error on importing basemap 0.9.8

2007-12-05 Thread Adam Mercer
/python2.5/site-packages/dap/__init__.py, line 12, in module __import__('pkg_resources').declare_namespace(__name__) ImportError: No module named pkg_resources Am I missing a required module? Cheers Adam - SF.Net email

Re: [Matplotlib-users] Error on importing basemap 0.9.8

2007-12-05 Thread Adam Mercer
On Dec 5, 2007 10:30 PM, John Hunter [EMAIL PROTECTED] wrote: Looks like you need setuptools http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install Thanks John, installing setuptools did the trick. Cheers Adam

Re: [Matplotlib-users] pls unsubscribe me

2007-12-04 Thread Adam Mercer
Adam - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck

Re: [Matplotlib-users] Setting size of plot produced by Basemap

2007-10-13 Thread Adam Mercer
On 13/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: Same as with any other plot created with matplotlib. You can use the 'figsize' keyword to pylab.figure in conjunction with the 'dpi' keyword to pylab.savefig. For details see Thanks, I was unsure whether or not is used the same

Re: [Matplotlib-users] Adding a colour bar to a basemap plot

2007-10-13 Thread Adam Mercer
On 13/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: See the basemap examples directory - there's plenty of examples there using pylab.colorbar. Thanks, that was what I was after - the appropriate module and method. Cheers Adam

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: I assume your data is on a latitude-longitude grid? You've asked for a mollweide projection centered on the Greenwich meridian. Your data is not centered on Greenwich - but the error message is trying to say that you can shift

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: I assume your data is on a latitude-longitude grid? You've asked for a mollweide projection centered on the Greenwich meridian. Your data is not centered on Greenwich - but the error message is trying to say that you can shift

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: but I think you want values, lon = basemap.shiftgrid(180, values, lon, start=False) Thats it! Thanks a lot! Cheers Adam - This SF.net email is sponsored by: Splunk

Re: [Matplotlib-users] Basemap with origin within the plot

2007-10-11 Thread Adam Mercer
Adam - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now

Re: [Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Adam Mercer
On 09/10/2007, Jeff Whitaker [EMAIL PROTECTED] wrote: Adam: If you can convert your coordinates into latitudes and longitudes, then you can plot the data with the basemap tookit on your choice of map projection (see http://www.scipy.org/Cookbook/Matplotlib/Maps for an example). Following

[Matplotlib-users] plotting data against date in ISO format

2007-09-13 Thread Adam Mercer
to read in the date and use date2num to convert the date into matplotlibs internal format for representing dates... but I'm not sure - is this the correct approach? Is there any example code that I'm missing that plots data against the date? Cheers Adam

  1   2   >