Re: [Matplotlib-users] install on mac osx 10.7.5?

2014-02-18 Thread Gary Pajer
endencies, so if all I want is matplotlib, I get that plus it dependencies, and it works. But if you want an easy, fast (but large) solution, install Anaconda. Conda has many other nice features that may or may not be useful to you. HTH, gary ~-~-~ On Sun, Feb 16, 2014 at 11:05 PM, Maggie

Re: [Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread gary ruben
The dpi value, which can be overridden, will determine the size of the output image. It looks to me like you just want the output to always be the same size as your input image, so use imsave() instead of imshow() followed by savefig() for this: i.e. just do map = Basemap(..) pilImg = Image.op

Re: [Matplotlib-users] How do you Plot data generated by a python script?

2011-08-24 Thread gary ruben
o scipy.org and reading up on numpy. When you understand the basics of numpy, matplotlib's documentation should make a lot more sense. Gary On Thu, Aug 25, 2011 at 6:48 AM, surfcast23 wrote: > > I am fairly new to programing and have a question regarding matplotlib. I > wrote a python s

Re: [Matplotlib-users] Can I change pixel aspect with axes_grid

2011-08-20 Thread gary ruben
cheme and it simply didn't register. regards, Gary On Sat, Aug 20, 2011 at 6:49 PM, Jae-Joon Lee wrote: > If you want aspect="auto", this must also be set when you create ImageGrid. > A simple example is attached. > If you want a fixed aspect other than 1, it is doable bu

[Matplotlib-users] Can I change pixel aspect with axes_grid

2011-08-18 Thread gary ruben
is to have a pixel aspect other than 1:1 ? If not, is there a simple way to add a shared colorbar when using subplots() ? Gary -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabi

Re: [Matplotlib-users] Some more mplot3d questions

2011-07-21 Thread gary ruben
Hi Ben, Comments inline... On Fri, Jul 22, 2011 at 1:31 AM, Benjamin Root wrote: > > > On Thu, Jul 21, 2011 at 1:10 AM, gary ruben wrote: >> >> I'm trying to make a surface plot using the latest version of mplot3d >> from the git trunk and I have a couple of que

Re: [Matplotlib-users] alpha settings in mplot3d

2011-07-19 Thread gary ruben
g the axis parts - two of every patch, grid line, tick line and label. It was this way before the latest changes also, but is there a reason, or is it a bug? It doesn't impact visually though. thanks for the great work on this, Gary On Wed, Jul 20, 2011 at 12:41 PM, Benjamin Root wrote: > O

[Matplotlib-users] alpha settings in mplot3d

2011-07-19 Thread gary ruben
es to 1.0 before saving. A cursory look at the new code makes me hopeful that this is now possible since the setting from _AXINFO has been moved to the Axis constructor. Does that mean I'll be able to do something like ax._axinfo['x']['color']=(0.3,0.3,0.3,

Re: [Matplotlib-users] continous colour bar

2011-07-11 Thread gary ruben
The pre-defined hsv colour map has this property - can you use that? Otherwise, yes, it is possible to define any map you like. Gary R On Fri, Jul 8, 2011 at 12:55 PM, Ben Elliston wrote: > Hi. > > I have a set of data with a range of (say) 0 to 100.  Is it possible > to get matpl

Re: [Matplotlib-users] Boundary edges of a set of points

2011-04-28 Thread gary ruben
-like-c-c i.e. dups = [x for x in list_a if list_a.count(x) > 1] After removing all of these, you should be left with just the boundary edges. Gary R. On Fri, Apr 29, 2011 at 7:56 AM, Luke wrote: > Ian, >  Thanks for the response and the example code.  I guess what I'm > trying to

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread gary ruben
Um, how about r"$80--120$" instead of r"$80--120" ? On Wed, Apr 6, 2011 at 9:56 AM, Sean Lake wrote: > Hello all, > > I'm trying to specify a range of numbers in a particular legend using LaTeX. > In order to do so I'm feeding it the string: r"$80--120". The output should > be have an endash, "

Re: [Matplotlib-users] jitter in matplotlib?

2011-02-24 Thread gary ruben
ibilities. Hopefully this is helpful, Gary R. On Thu, Feb 24, 2011 at 3:04 PM, Uri Laserson wrote: > Hi all, > I am interested in jittering points in a plot.  I searched the forum, but I > am amazed at the dearth of results on the topic.  I am referring to > something like this: >

Re: [Matplotlib-users] Trouble with imshow

2011-02-02 Thread gary ruben
t8, uint16, float32 or float64. i.e. avoiding conversion to RGBA for any single-plane 2D array type would be best IMHO, Gary R. On Thu, Feb 3, 2011 at 5:38 PM, Robert Abiad wrote: > > > On 2/2/2011 6:06 PM, Eric Firing wrote: >> On 02/02/2011 03:08 PM, Robert Abiad wrote: >>&

Re: [Matplotlib-users] Trouble with imshow

2011-02-02 Thread gary ruben
ractive viewing of large images. Gary R On Thu, Feb 3, 2011 at 10:59 AM, Christoph Gohlke wrote: > On 2/2/2011 3:33 PM, Robert Abiad wrote: >> Hello All, >> >> I'm very new to python, so bear with me. >> >> I'd like to use python to do my image proce

Re: [Matplotlib-users] Memory usage

2011-01-15 Thread gary ruben
only o)ne o,f theme > outputt ing something) even pyhton's caching was still at work, and the > garbage collector could not free anything. > > Thanks a lot, and also thanks to Ben for taking interest ! >

Re: [Matplotlib-users] Memory usage

2011-01-13 Thread gary ruben
g references to matplotlib objects. Gary R. On Fri, Jan 14, 2011 at 2:59 AM, Benjamin Root wrote: > On Thu, Jan 13, 2011 at 7:54 AM, CASOLI Jules wrote: >> >> Hello to all, >> >> This is yet another question about matplotlib not freeing memory, when >> closing a figure (

Re: [Matplotlib-users] how do I specify the line join and cap style?

2010-12-13 Thread gary ruben
Thanks for the workaround JJ. I've filed a feature request, Gary On Mon, Dec 13, 2010 at 9:54 PM, Jae-Joon Lee wrote: > It seems that there is no option to change join and cap style for > patches (only lines have them). > While there could be other ways, one workaround is to

[Matplotlib-users] how do I specify the line join and cap style?

2010-12-12 Thread gary ruben
add_artist(asb) add_sizebar(plt.gca(), 0.5) plt.draw() plt.show() What I'd like is a 2pt wide line with butt-style cap ends, thanks, Gary -- Oracle to DB2 Conversion Guide: Learn learn about native support for P

Re: [Matplotlib-users] Has anyone tried using matplotlib+dialogs on wx 2.9.1.1, Cocoa?

2010-12-09 Thread Gary Pajer
ense" for more information. >>> import matplotlib m>>> matplotlib.__version__ '1.0.0' >>> import wx >>> wx.__version__ '2.8.10.1' >>> hth a little, gary > > -- > Daniel Hyams > dhy...@gmail.com > > &g

[Matplotlib-users] online plotting site using MPL ?

2010-07-29 Thread Gary Pajer
I recall that there is an site online that produces all kinds of plots using mpl to render them. It has a name something like "zumzum". Does anyone know what I'm talking about (and can you point me the

[Matplotlib-users] Documentation suggestions (longish post)

2010-04-17 Thread Gary Ruben
n and references to other libraries and coding concepts that a new user doesn't need to know. I think a gentler description of mpl's plotting model in the introduction or in a standalone small chapter would be helpful for new users. Gary R. -

Re: [Matplotlib-users] plot rgb spectrum

2010-04-04 Thread Gary Ruben
Hi Tymoteusz, I think this does what you want (see attached). I'm not sure about 3D though. Gary R. Tymoteusz Jankowski wrote: Hi! Can anyone help me to achive this? I'd like to plot rgb spectrum with matplotlib. For example let the x axis be green element, and for example...

Re: [Matplotlib-users] visualizing colormaps for complex functions

2010-04-02 Thread Gary Ruben
lots of the function "extrema", which are the phase singularities - does mathematica have a function that gives you these, or did you write your own function to find them? regards, Gary Guy Rutenberg wrote: Hi, Is there a way to generate colormaps for complex-valued functions using mat

[Matplotlib-users] installation question

2010-03-22 Thread Mathes, Gary C
com/atlas-3.8.3-1.el5.x86_64.rpm.html http://www.rpmfind.net/linux/rpm2html/search.php?query=numpy http://www.rpmfind.net/linux/rpm2html/search.php?query=python-matplotlib http://rpm.pbone.net/index.php3/stat/4/idpl/9548551/com/ipython-0.8.4-1.el5.noarch.rpm.html Gary ---

[Matplotlib-users] 3d pie charts

2010-03-20 Thread Gary Jaffe
y bad ascii art. :) ___ | \/ \ \ / \ \/ \ \ / \ \/ \ \ / \ \/ \ \ / \ \/ \| Is there a way to do this? Thanks, Gary -- Download Intel® Parallel Studio E

Re: [Matplotlib-users] Using colourmap from matplotlib

2010-03-19 Thread Gary Ruben
from matplotlib as a .png then externally convert it to a .bmp Gary R. Ciarán Mooney wrote: > Hi, > > I am trying to create an image from an array using PIL, numpy and a > colourmap from matplotlib. > I'd like to get something that looks the same. I don't think th

Re: [Matplotlib-users] save image from array?

2010-02-15 Thread Gary Ruben
Hi Nico, I'm pretty sure the functionality is buried in there but unfortunately I couldn't figure out how to put it into the imsave function, so for now I think you have to resort to using PIL to do this. Gary R. Nico Schlömer wrote: > Hi, > > I see that with imsave() it&#x

Re: [Matplotlib-users] Matplotlib conflicts with IDLE

2010-02-05 Thread Gary Pajer
On Fri, Feb 5, 2010 at 3:46 PM, David MacQuigg wrote: > > I can't get Matplotlib to work with IDLE.  plt.show() makes beutiful plots, > but IDLE is hung.  Entering "exit" in the little pop-up console window > raises an exception in IDLE, and then leaves the plot window hung. It looks > like the ol

Re: [Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
OK, that worked. Sorry for the noise. I forgot basemap gets put under site-packages/mpl_toolkits. When I installed a second copy using the basemap binary installer, it went under site-packages and caused some sort of conflict. Gary Gary Ruben wrote: > Hang on - I just noticed EPD says

Re: [Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
Hang on - I just noticed EPD says it contains basemap already, so maybe installing over the top of it did something - I'll trying uninstalling and doing a repair of EPD. Gary Gary Ruben wrote: > I just installed the latest EPD 6.0.2 Python 2.6-based distribution in > WinXP. The mpl

[Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
I just installed the latest EPD 6.0.2 Python 2.6-based distribution in WinXP. The mpl version is 0.99.1.1 and I installed basemap using the basemap-0.99.4.win32-py2.6.exe binary installer. I'm getting this traceback. Any ideas? Gary -- In [1]: from mpl_toolkits.basemap import Ba

[Matplotlib-users] Installation error

2010-01-25 Thread Gary Robinson
x27;g++' failed with exit status 1 Anyone have any suggestions? Thanks Gary -- Gary Robinson CTO Emergent Music, LLC personal email: gary...@me.com work email: grobin...@flyfi.com Company: http://www.flyfi.com Blog:http://

Re: [Matplotlib-users] define color cycle in matplotlibrc

2010-01-06 Thread Gary Ruben
I'm happy for it to remain just a suggestion and not a reality. I mentioned it in case it was easy to implement alongside the color cycle but it seems it is not. Thanks for considering it anyway Eric, Gary Eric Firing wrote: > Dominik Szczerba wrote: >> -BEGIN PGP

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Gary Ruben
. Gary R Eric Firing wrote: > Dominik Szczerba wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> OK I started hacking and added a color_cycle property to matplotlibrc. >> Would you be so kind to add this fix to the official version? Thanks! >>

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-08 Thread Gary Ruben
Wayne Watson wrote: > I thought the console was the only way to use IPython. I go to > Start->Allprograms->IPython, and select IPython. Oh, I see *Console" is > something of a replacement for the Win Cmd Console. Is there some site > that shows off it's features? Not that I know of. By the way

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Gary Ruben
In Windows I recommend running iPython inside Console <http://sourceforge.net/projects/console/> particularly for its vastly improved copy and pasting. Gary R. phob...@geosyntec.com wrote: > Third Google result for "copy paste in DOS prompt" > http://www.copy--paste.org/

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Gary Pajer
On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson wrote: > Good. Thanks. Interesting that ls and pwd are used for Win, but that's > fine. How do I copy parts of the window? All I can do at the moment is > sweep out a rectangular area with the mouse. It looks like I > underestimated the need for auto

Re: [Matplotlib-users] Arrows between points in a plot?

2009-11-29 Thread Gary Ruben
pages <http://matplotlib.sf.net/examples/index.html> <http://matplotlib.sf.net/gallery.html> Gary R. Michael Cohen wrote: > Hi all, > > I have a plot that has say 6 black X's, each separate, and 6 blue X's, > also separate, denoting where x's 1-6 have moved

[Matplotlib-users] python crashes on from matplotlib import pyplot

2009-11-25 Thread W. Gary Williams
or report attached. Thank you, Gary Williams -- Gary Williams Clearwater Instrumentation, Inc. 304 Pleasant St., Watertown, MA 02472 USA +1 617 9242708 tel. +1 617 9242724 fax http://www.clearwater-inst.com ��<�?�x�m�l� �v�e�r�s�i�o�n�=�"�1�.�0�"� �e�n�c�o�d�i�n�g�=�"�U�T�F�-�1�6�

Re: [Matplotlib-users] separate sub-forum for basemap?

2009-11-23 Thread Gary Ruben
IMO I don't think the traffic level on either pure mpl or basemap warrants a split. Gary R. Dr. Phillip M. Feldman wrote: > It seems as though there are enough basemap-related posts that it might be > worth creating a separate basemap-specific sub-forum of the matplot

Re: [Matplotlib-users] query abuot plotting polygons using a basemap projection

2009-11-20 Thread Gary Ruben
attached an example that illustrates the problem - it tries to plot an icosahedron on the Mollweide plot. Gary R. Jeff Whitaker wrote: Gary Ruben wrote: I'm plotting a coverage map of a sphere using the Mollweide plot in basemap. The attachment is an example that is produced by sending an array of

Re: [Matplotlib-users] Circular colormaps

2009-11-08 Thread Gary Ruben
useful to see what the individual colour channels are doing if you decide to make a new colormap of your own - you just need to ensure that the r, g, and b values match at both ends. Gary Ariel Rokem wrote: Hi everyone, I am interested in using a circular colormap, in order to represent a

Re: [Matplotlib-users] query abuot plotting polygons using a basemap projection

2009-11-03 Thread Gary Ruben
Thank you Jeff. I'll try out this solution. Gary. Jeff Whitaker wrote: > Gary: You might be able to use the _geoslib module to compute the > intersections of those polygons with the map boundary. I do a similar > thing with the coastline polygons in the _readboundar

Re: [Matplotlib-users] imshow smoothing

2009-09-22 Thread Gary Ruben
Yes. Use interpolation='nearest' instead. Gary R. Michael Hearne wrote: > Running the test script below gives me the image I have attached, which > looks like it has been smoothed. > > Does imshow perform some sort of smoothing on the data it displays? If > so, is

Re: [Matplotlib-users] plotting asymmetric error bars?

2009-09-13 Thread Gary Ruben
Hi Per, You need 2*N, not N*2 arrays here. I think you're also trying to use absolute values so you probably need something like this: plt.errorbar([1,2,3],[1,2,3],yerr=np.abs(a.T-[1,2,3])) I hope this is what you're after, Gary R. per freem wrote: > hi all, > >

Re: [Matplotlib-users] plt.gray dont' work with plt.scatter?

2009-09-12 Thread Gary Ruben
='^', facecolor=(.7,.7,.7), c='r') Gary R. lotrpy wrote: > Hello, Sorry for my broken english. I copy the source code from > http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_demo.html > > Just Insert one line "gray()" before the last line &qu

Re: [Matplotlib-users] best format for MS word?

2009-09-02 Thread Gary Ruben
I haven't tried it myself, but this converter may do the trick. If it works, can you report back? I'd be interested to know: <http://sk1project.org/modules.php?name=Products&product=uniconvertor> Gary R. Shixin Zeng wrote: > Hi, > > Could someone tell me what'

Re: [Matplotlib-users] axes_grid examples

2009-08-10 Thread Gary Ruben
Thanks John. John Hunter wrote: > On Mon, Aug 10, 2009 at 5:05 AM, Gary Ruben wrote: >> Many of the axes_grid examples in the thumbnail gallery don't work out >> of the box with the latest matplotlib 0.99 because they rely on >> demo_image and demo_axes_divider modul

[Matplotlib-users] axes_grid examples

2009-08-10 Thread Gary Ruben
Many of the axes_grid examples in the thumbnail gallery don't work out of the box with the latest matplotlib 0.99 because they rely on demo_image and demo_axes_divider modules. Should these have been packaged with 0.99 or were they left out deliberately? G

Re: [Matplotlib-users] complex layouts of plots in matplotlib

2009-08-10 Thread Gary Ruben
demo.html?highlight=spine> I think these address both your questions. The list of new features is here: <http://matplotlib.sourceforge.net/users/whats_new.html#new-in-matplotlib-0-99> Gary per freem wrote: > Hi all, > > i am wondering if there is a way or an interface in matplo

Re: [Matplotlib-users] [matplotlib-devel] crazy ideas for MPL

2009-07-02 Thread Gary Ruben
Is this an ideas thread? How about a "copy image to clipboard" button for the toolbar. Gary R. Pierre GM wrote: > Eh, can I play ? > * Something I'd really like to see is a way to access a given patch/ > line/collection/... by a string (a name) instead of having to fi

Re: [Matplotlib-users] 0.98.6svn Windows

2009-06-23 Thread Gary Pajer
to run numpy programs at about 80% of native Windows speed. VirtualBox is about 10% slower than AndLinux. (That was *one* test on *one* script.) Networking works fine in both. I've compiled Sage, and ran a Sage notebook webserver from both VirtualBox and AndLinux, accessing

Re: [Matplotlib-users] matplotlibrc customizing

2009-06-10 Thread Gary Ruben
> When I f.e. change > > #xtick.labelsize : 14 (from '12') > #xtick.direction : out (from 'in') Uncomment the lines. #xtick.labelsize : 14 #xtick.direction : out to xtick.labelsize : 14 xtick.direction : out --

Re: [Matplotlib-users] Integrating matplotlib into a GUI

2009-04-29 Thread Gary Pajer
On Sun, Apr 26, 2009 at 6:41 PM, Gökhan SEVER wrote: > Hello, > > Thanks for the pointer Bryan. I also seen Gael's tutorial > (http://gael-varoquaux.info/computers/traits_tutorial/index.html) > > To me, it seems much easier to use Traits, instead of learning WX or QT. It is. I had spent hours le

Re: [Matplotlib-users] load signed data joins problem

2009-04-22 Thread Gary Ruben
How about f = open(file) s = f.read() f.close() a = s.replace('E-','EE').replace('-',' -').replace('EE','E-') x = np.fromstring(a, sep=' ') Gary R. darkside wrote: > I think that not all de numbers use the same number of

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Gary Ruben
ay that your time spent learning matplotlib was wasted - 2D plotting is usually useful and matplotlib may soon again have limited 3D capability. Gary R. Etienne Gaudrain wrote: > Hello list ! > > This is probably a recurrent topic, or even more probably HAVE been a > recurrent t

[Matplotlib-users] On changing the default tick pad

2009-03-21 Thread Gary Ruben
gion. As an aside, I went looking for Matlab plotting examples and some appear to match the pad=4 padding whereas others are more like pad=6. Of course I shall change this in my matplotlibrc file. I just thought I'd see if I coul

Re: [Matplotlib-users] memory usage (leakage?) in ipython interactive mode

2009-03-06 Thread Gary Ruben
by using the iPython -cs option. thanks for your help, Gary Michael Droettboom wrote: > There are at least three possible causes of what you're seeing here: > > 1) ipython stores references to all results in the console. (ipython > maintains a history of results so they can e

[Matplotlib-users] memory usage (leakage?) in ipython interactive mode

2009-03-04 Thread Gary Ruben
ut similar things, but nothing that had a clear resolution. thanks, Gary -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the

[Matplotlib-users] imsave() function

2009-02-06 Thread Gary Ruben
he Wx backends produce incorrect, but different, results. Gary R. import numpy as np import matplotlib as mpl # Backend tests - uncomment in turn # mpl.use('Agg') # mpl.use('TkAgg') # mpl.use('WxAgg') # problem in Win32 with mpl 0.98.5.2 # mpl.use('Wx')

Re: [Matplotlib-users] unfilled markers?

2009-01-27 Thread Gary Ruben
It just occurred to me that another option might be to simply add a new colour option "line" for mec and mfc which would instruct them to pick up the current line colour. Gary -- This SF.net email is sp

Re: [Matplotlib-users] unfilled markers?

2009-01-27 Thread Gary Ruben
erence and if black edges are not wanted on a particular plot that uses filled markers, the edge width can simply be set to zero. The decision might be guided by whichever results in the simplest logic or least overhead. regards, Gary Norbert Nemec wrote: > Before my work in 2004, the colors

Re: [Matplotlib-users] unfilled markers?

2009-01-26 Thread Gary Ruben
w its simple selection without users having to search through the mailing list to find Norbert's solution. If I was publishing a colour plot with line markers I would definitely want to do this. Gary John Hunter wrote: > On Mon, Jan 26, 2009 at 6:17 AM, Gary Ruben wrote: >> Has the me

Re: [Matplotlib-users] unfilled markers?

2009-01-26 Thread Gary Ruben
Has the mec always been black? I thought it used to be the same as the line colour. I expected it to default to the line colour, as Che expected. Gary R. Norbert Nemec wrote: > Sorry for my misleading words - I did not correctly recall my own work > from back then... > > In fact,

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
Thanks for the rapid fix Mike. regards, Gary Michael Droettboom wrote: > There is an explicit offset of one pixel on the left when it sets up a > clip box in Agg. I don't know why this is there, but it dates back to > 0.98.0, and earlier versions did something completely dif

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
Thanks for verifying this Sünnje. It looks like an Agg bug. I just tried changing to the GTK backend in Linux and the problem disappears. Gary Sunnje L Basedow wrote: > Hi Gary, > I just tested your example, also on Intrepid with 0.98.3, and I get the > exact same behaviour as you, w

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
all white when the array values in that column are all zeros and the image is written in Linux, whereas it's black when written in Windows. Gary - This SF.Net email is sponsored by the Moblin Your Move Developer's

[Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
ed colourmap and clims would be a nice addition to matplotlib.image. Is there another way to achieve the same 1-to-1 array element-to-pixel image saving applying colourmaps and clims? thanks, Gary R. - This SF.Net email is

Re: [Matplotlib-users] plotting without using pylab

2008-10-01 Thread Gary Pajer
iding names defined earlier) then the following should work: from pylab import plot as pplot (where "pplot" is an unused name) or import pylab as p then use, p.plot() instead of plot() (this latter method is what I use.) hth, gary > > >

Re: [Matplotlib-users] wx backend scaling problem

2008-03-11 Thread Gary Ruben
oblems after my change. Many thanks for looking at this. I applied your fix and it works for me. Gary R. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdm

Re: [Matplotlib-users] wx backend scaling problem

2008-03-09 Thread Gary Ruben
Gary Ruben wrote: The attached test.py Oops. Here it is. Gary R. import matplotlib as mpl #~ mpl.use('PDF') #~ mpl.use('Agg') #~ mpl.use('TkAgg') mpl.use('WXAgg') #~ mpl.use('SVG') #~ mpl.use('PS') from pylab import

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-20 Thread Gary Ruben
hough. Gary R. - 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-

Re: [Matplotlib-users] scatter plot onto background image

2008-02-09 Thread Gary Ruben
Hi Jibo, I'm not sure of your reasons for wanting to do this, but you might find the psychopy package of interest: http://www.psychopy.org/ Gary R. He Jibo wrote: > Hi, Everyone, > > I want to create a scatter plot onto a background image. Anybody could > help me?Tha

Re: [Matplotlib-users] pylab axis query and possible bug

2007-12-21 Thread Gary Ruben
Beautiful! Many thanks John. Gary R. John Hunter wrote: > You can manually turn off autoscaling on the axes instance with the > following, and both scatter and plot should then work as you want. > > ax1 = subplot(121) > axis('off') > ax1.imshow(rand(20,20)) >

[Matplotlib-users] pylab axis query and possible bug

2007-12-20 Thread Gary Ruben
uot;note 3" is uncommented, it rescales. How do I prevent the rescaling? I prefer plot() instead of scatter() in this case because of the plot origin. thanks, Gary R. -- from pylab import * rcFig = {'figsize': (2,1), 'dpi': 256, 'subplot.hspace'

[Matplotlib-users] pylab axis query and possible bug

2007-12-20 Thread Gary Ruben
it rescales. How do I prevent the rescaling? I prefer plot() instead of scatter() in this case because of the plot origin. thanks, Gary R. -- from pylab import * rcFig = {'figsize': (2,1), 'dpi': 256, 'subplot.hspace': 0.0, 'subplot.

Re: [Matplotlib-users] IDL Font question

2007-11-01 Thread Gary Ruben
y on a free font site. HTH, Gary R. Jose Gomez-Dans wrote: > Hi, > Some colleagues have sent some plots which they generated using IDL > (boo!!! hiss!! :D), and they look quite dissimilar to my matplotlib > ones. I would like to mimic their layout as much as possible, which so > far i

[Matplotlib-users] contourf question

2007-10-04 Thread Gary Ruben
ce its contours at the same position as contour? thanks, Gary - 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 AJA

Re: [Matplotlib-users] basemap stereographic projection problem

2007-06-01 Thread Gary Ruben
Many thanks for the special case code Jeff, This appears to work well. I see you picked up on our confusion about the -180 to 180 longitude range. I'll pass this on and look at clipping the lines outside the circle later, regards, Gary Jeff Whitaker wrote: > [EMAIL PROTECTED] wrote:

Re: [Matplotlib-users] confusion about what part of numpy pylab imports

2007-04-24 Thread Gary Ruben
behaviour you observe - this will be fixed when pylab drops support for the older packages, which should be soon. Gary R. Mark Bakker wrote: > Hello list - > > I am confused about the part of numpy that pylab imports. > Apparently, pylab imports 'zeros', but not the &#x

[Matplotlib-users] Tick labels bump into axes

2007-04-17 Thread Gary Strangman
f the plot. I did a search in the archives but couldn't find the answer (though I bet it's in there). Is there a property, command, or command-combo that can be used to specify the spacing between (e.g.) the rightmost edge of the y tick labels and the adjacent y-axis?

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-04-03 Thread Gary Ruben
our with matplotlib. Gary R. Giorgio F. Gilestro wrote: > A really great IDE for windows users is pyScripter ( > http://mmm-experts.com/Products.aspx?ProductId=4 ) > It's probably the best I could try so far (and it's free). > > cheers > > On 3/30/07, Tim Hirzel

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
Solved. I had missed the default setting of Numerix to Numeric. Changed it to numpy, and everything is ok. On 2/20/07, Gary Pajer <[EMAIL PROTECTED]> wrote: > [sorry if this appears more than once] > > On 2/19/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > > Dear Gary,

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
[sorry if this appears more than once] On 2/19/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > Dear Gary, "_ns" is the numpy backend. Do you have numpy installed? Is > it working? Are you compiling matplotlib from source? What version of > Ubuntu are you using (Dapper

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
On 2/20/07, Gary Pajer <[EMAIL PROTECTED]> wrote: > On 2/19/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > > Dear Gary, "_ns" is the numpy backend. Do you have numpy installed? > > yes, from svn

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
On 2/19/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > Dear Gary, "_ns" is the numpy backend. Do you have numpy installed? yes, from svn > Is it working? it seems to be. Nothing I use is broken. Everything I've tried works. >Are you compiling matplotlib from s

[Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-19 Thread Gary Pajer
u. I spent lots of time chasing down dependencies, and there are no errors during the build. Help please? TIA, gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'

Re: [Matplotlib-users] Protocol for unanswered queries on this list?

2007-02-02 Thread Gary Ruben
expert will pipe in with the answer. You probably need to work out how to apply the get_verts method to the patch collection. I find using ipython interactively is the best way to learn to do this. Gary R. - Using Tomca

Re: [Matplotlib-users] from pylab import * imports oldnumeric

2007-01-31 Thread Gary Ruben
Christopher Barker wrote: > Gary Ruben wrote: >> I just picked up a problem posted over on the numpy list. I noticed that >> from pylab import * is importing the oldnumeric-wrapper versions of >> zeros(), ones() and empty(), and presumably other things too, into the >

[Matplotlib-users] from pylab import * imports oldnumeric

2007-01-31 Thread Gary Ruben
Return a new array of shape (d1,...,dn) and type typecode with all it's entries initialized to zero. -- Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'

Re: [Matplotlib-users] Problem with savefig and usetex

2006-12-11 Thread Gary Ruben
I haven't tried it, but my guess is the '\' character is the problem. > pylab.xlabel('10$^3$ M$_\odot$') Try pylab.xlabel(r'10$^3$ M$_\odot$') ^ Add raw string marker. or maybe pylab.xlabel('10$^3$ M$_\\odot$') Gary

Re: [Matplotlib-users] zorder of legend

2006-12-08 Thread Gary Ruben
Sorry John, I see this was fixed a while ago - I was still using 0.87.3 from the last Enthought edition. Now that there's a scipy installer, I should upgrade numpy/scipy/mpl to something more current. Gary R. Gary Ruben wrote: > While I think of it, I think the default zorder of

[Matplotlib-users] zorder of legend

2006-12-07 Thread Gary Ruben
While I think of it, I think the default zorder of legends should be bigger so that, by default it overlays all plot lines and symbols. Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net&#

[Matplotlib-users] problems with vector output formats

2006-12-07 Thread Gary Ruben
nting some filtering functions for the backends to use would encourage their use and help make output files smaller. Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you&#x

Re: [Matplotlib-users] Plot problem

2006-12-01 Thread Gary
tched set of Numpy and Scipy installers for Windows and Python 2.4.3 that works with the latest mpl binary installer. I'm happy to provide my installers if anyone wants them. Contact me directly.) -gary > Good luck! > JDH > > --

[Matplotlib-users] wxmsw26uh_vc.dll again ?

2006-11-21 Thread Gary
d and installed the unicode version again.) what do you think? -gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions o

Re: [Matplotlib-users] Creating Dendrograms

2006-08-31 Thread Gary Ruben
Perhaps NetworkX <https://networkx.lanl.gov/> will do what you want, depending on how much control you need over the node placement. There are a few more suggestions for general graph plotting solutions here: <https://networkx.lanl.gov/wiki/Drawing>. hth Gary R. R. Padraic Spr

Re: [Matplotlib-users] histogram bug

2006-07-22 Thread Gary Ruben
ectly from the windows explorer, it doesn't show up. On my win98 desktop, however, it shows up regardless. Gary Ruben wrote: > Note: I just verified that this was introduced into 0.87.4. > 0.87.3 doesn't exhibit the problem. See attachment. > > Gary R. > > [EMAIL P

Re: [Matplotlib-users] Weird resizing issue

2006-07-22 Thread Gary Ruben
f the window remaining with the incorrect aspect. I seem to remember seeing this behaviour on an old version of matplotlib. I thought it disappeared and has perhaps returned. My memory is hazy on this. Gary R. Tommy Grav wrote: > I am using matplotlib to display a couple of fits-images and

Re: [Matplotlib-users] histogram bug

2006-07-21 Thread Gary Ruben
Note: I just verified that this was introduced into 0.87.4. 0.87.3 doesn't exhibit the problem. See attachment. Gary R. [EMAIL PROTECTED] wrote: The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. I'm using matplotlib0.87.

  1   2   >