Re: [Matplotlib-users] Matplotlib import Error

2015-06-07 Thread Bryan Williams
If you have pip installed, installing six is simple: pip install six Hope that helps! :) On 6/7/2015 3:57 PM, aureta wrote: > Hi, I had Matplotlib installed and working in my PC. I decided to uninstall > it using the control panel software uninstall option and install it again. > This time whe

Re: [Matplotlib-users] MatplotLib Import Error Message

2015-06-06 Thread Bryan M. Williams
Reinstall pyparsing. It's another module just like matplotlib. If you have pip, you can just do "pip install pyparsing." Sent from my iPad > On Jun 6, 2015, at 6:23 PM, aureta wrote: > > Hi, I had Matplotlib installed and working in my PC. I decided to uninstall > it using the control panel so

Re: [Matplotlib-users] Runtime Error on Solaris - Error Closing Dupe File Handle

2015-05-29 Thread Bryan Williams
f it's at all possible to change it so that it looks in the right one, and then I'll try building it again. On Thu, May 28, 2015 at 1:50 PM, Eric Firing wrote: > On 2015/05/28 3:13 AM, Bryan Williams wrote: > > I have gcc on the box. I also installed the C compiler for Solari

Re: [Matplotlib-users] Runtime Error on Solaris - Error Closing Dupe File Handle

2015-05-28 Thread Bryan Williams
for Solaris (cc), but I couldn't seem to find an option to switch it so that it uses cc rather than gcc. Thanks again for all you do, and thanks for the help. -- BMW On Sun, May 24, 2015 at 2:05 PM, Thomas Caswell wrote: > Bryan, > > If you subscribe to the list you will be able to po

[Matplotlib-users] Runtime Error on Solaris - Error Closing Dupe File Handle

2015-05-24 Thread Bryan Williams
Good afternoon, My name is Bryan Williams. I work for the Florida Forest Service in their Forest Logistics and Support Bureau. I’m working on a program that takes weather data and visualizes it using matplotlib and Basemap. I’m currently having an issue with matplotlib 1.4.3 for Python 3.4.3

[Matplotlib-users] ANN: Bokeh 0.4.2

2014-03-10 Thread Bryan Van de Ven
itlen, Damian Avila, and Terry Jones Regards, Bryan Van de Ven Continuum Analytics http://continuum.io -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph

Re: [Matplotlib-users] problems installing matplotlib on OS X Lion

2011-09-03 Thread Bryan K Woods
I had a problem getting with Lion as well. I was able to work around it by: 1) unsuccessfully trying to install matplotlib for python 2.7 via macports 2) then using easy_install to install matplotlib Bryan K. Woods, Ph.D. Staff Scientist Atmospheric & Environmental Research, Inc. bwo...@aer

Re: [Matplotlib-users] EMF export doesn't work

2009-05-25 Thread Bryan Cole
On Tue, 2009-05-19 at 10:50 +0200, Thomas Pfaff wrote: > Hello there, > > when I started with matplotlib I was really enthusiastic that I can throw > all those Excel, IDL, Matlab and whatever else I used until now overboard > and do everything from data processing to visualization in beloved Pytho

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

2009-04-26 Thread Bryan Cole
> I know wxPython or PyQt seems way to go on this issue. But (there is > always this but :) there is Chaco on the Enthought side and with > nicely and simply integration with Traits and Traits UI. > > Are there anybody in the group that design a similar tool for their > scientific data analysis n

Re: [Matplotlib-users] Different plot settings for different circumstances

2009-04-21 Thread Klein, Bryan W.
http://code.google.com/p/fds-smv/source/browse/trunk/FDS/trunk/Utilities/Pyr oGraph/ Also see, http://code.google.com/p/fds-smv/wiki/PyroGraph_Usage It's open source and public domain, so feel free to take whatever helps. -Bryan Klein (NIST) --

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-06 Thread Bryan Cole
> I suggest that you focus on the OO interface, rather than the pylab > interface from the beginning. This will ease the transition from command > line use to embedding, help folks understand the structure of MPL, and > is the "right" way to do it (IMHO) with an OO language anyway. +1 I thin

[Matplotlib-users] xticks and yticks on central axis

2008-07-19 Thread Bryan Fodness
I would like the xticks and yticks on the central axis to look like the attached png. Right now, I am just using axvline and axhline. -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo <>--

Re: [Matplotlib-users] Questions about 3D plotting

2008-07-10 Thread Bryan Cole
On Wed, 2008-07-09 at 18:40 +0200, anirudh vij wrote: > > We have been warning that 3D plotting was unsupported and needed someone to > > volunteer to maintain it for quite a while now. Nobody answered the call, > > and > > 3d capabilities did not survive the transition to the new transforms in >

[Matplotlib-users] colorbar()

2008-06-21 Thread Bryan Fodness
Is there a way to get the colorbar to work with an axes instance. ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w') ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r') ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r) ax2.axvline(x=0, color='gray', linestyle='--') ax2.axhline(y=0

[Matplotlib-users] Rotating an axes instance

2008-06-19 Thread Bryan Fodness
I have an axes instance that I would like to rotate. I see that there is a rotation keyword for text and would like to do something like that with a plot. Is this possible. -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo "Any

[Matplotlib-users] Rotating an axes instance

2008-06-18 Thread Bryan Fodness
I have an axes instance that I would like to rotate. I see that there is a rotation keyword for text and would like to do something like that with a plot. - Check out the new SourceForge.net Marketplace. It's the best place to

[Matplotlib-users] Posting to Numpy and Scipy

2008-06-17 Thread Bryan Fodness
this, but have not received a response. Bryan - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.n

Re: [Matplotlib-users] missing lines on graph with upgrade to 0.98.0

2008-06-09 Thread Bryan Fodness
2,y2], fc='None', ec='r') xlim(x1-2,x2+2) ylim(y1-2,y2+2) Do I need more than the files that I have copied? On Thu, Jun 5, 2008 at 4:19 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan, > > Thanks for pointing this out. Mike D. has made a change in the svn tr

[Matplotlib-users] fill function

2008-06-05 Thread Bryan Fodness
Is there a way to get the underlying array that the fill function uses to graph a polygon? This is assuming that it uses an array. I would like to be able to multiple an array by an array that describes the polygon (one if inside the polygon and zero if outside) -- "The game of science can ac

Re: [Matplotlib-users] missing lines on graph with upgrade to 0.98.0

2008-06-05 Thread Bryan Fodness
) savefig('edge_test') On Thu, Jun 5, 2008 at 1:18 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > >> I just upgraded to 0.98.0 and recreated a few graphs. I am missing parts >> of the edges of a fill and polygon. Any suggestions? >> &g

[Matplotlib-users] missing lines on graph with upgrade to 0.98.0

2008-06-04 Thread Bryan Fodness
I just upgraded to 0.98.0 and recreated a few graphs. I am missing parts of the edges of a fill and polygon. Any suggestions? -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo <>--

[Matplotlib-users] trying to change the number of elements in array while preserving data

2008-06-04 Thread Bryan Fodness
data that I would like as a 400x400 array. Does anybody know of an easy way to accomplish this? Bryan -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo -

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
Thanks for your help! I was forcing it to look in an old location with, #!/usr/bin/python as my first line. On Fri, May 16, 2008 at 1:44 PM, Bryan Fodness <[EMAIL PROTECTED]> wrote: > i didn't have 0.92.1, i have 0.91.2 > > [bryan@ ~]$ python > Python 2.5.2 (r252

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
i didn't have 0.92.1, i have 0.91.2 [bryan@ ~]$ python Python 2.5.2 (r252:60911, May 13 2008, 22:14:05) [GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mat

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
I have updated to matplotlib 0.92.1 and numpy 1.0.4 and still receive an error. /space/work/Bryan$ ./Check_0.1.py Traceback (most recent call last): File "./Check_0.1.py", line 344, in savefig(outfile) File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py",

[Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-09 Thread Bryan Fodness
i have used this command on windows vista with no problem. fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r') but when i run on fedora 8, i receive the following. (most recent call last): File "./program.py", line 361, in savefig(outfile) File "/usr/lib/python2.5/site

[Matplotlib-users] using fill, but really need a box

2008-05-09 Thread Bryan Fodness
i have been using the fill function to highlight a region on my plot, but now i do not want it to be filled. i have tried using alpha=0.1, but that also makes my edgecolor transparent. is there a "box" function that does not fill a region yet still has the outline of the "box". i tried using pat

[Matplotlib-users] Rotating an axes

2008-05-08 Thread Bryan Fodness
Can someone tell me if there is a way to rotate an axes instance? I have, figure(1) ax1 = axes([0.0, 0.0, 1.0, 1.0], axisbg='0.95') ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='white') and I would like to rotate ax2 30 degrees. It would look something like the attached file. -- "

[Matplotlib-users] Drawing shapes outside the plot area

2008-05-06 Thread Bryan Fodness
I would like to be able to draw a triangle on the graph outside the axes and plot area. I have used fill before, but that was in the plot area. Can someone push me in the right direction? -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João

[Matplotlib-users] Fwd: speed of clearing and creating a new array

2008-04-08 Thread Bryan Fodness
I am starting with a zero array, populate it according to some condition, save the graph, and then reset the array to zero. Can someone tell me if there is a better (faster) way to do this? Or am I just doing that much, and that is how long it will take? I have a couple hundred graphs that I am

[Matplotlib-users] Rotating data in graph

2008-01-18 Thread Bryan Fodness
Is there an easy way to rotate the view of the data in a graph window without changing the axis and titles. I only need the option for 90, 180, and 270 degrees. The window will always be symmetric. Bryan -- "The game of science can accurately be described as a never-ending insult to

[Matplotlib-users] plotting a pcolormesh and fill

2007-12-23 Thread Bryan Fodness
I have a pcolormest and a fill that are plotted on the same graph (they have the same scale). Is there an easy way to only plot the values of pcolormesh that lie in the fill? pcolormesh(oX, oY, test, shading='flat', cmap=cm.gray_r) fill([-x1,x2,x2,-x1], [-y1,-y1,y2,y2], 'b', alpha=0.2, edgecolor=

[Matplotlib-users] plotting a pcolormesh and a fill

2007-12-21 Thread Bryan Fodness
I have a pcolormest and a fill that are plotted on the same graph (they have the same scale). Is there an easy way to only plot the values of pcolormesh that lie in the fill? pcolormesh(oX, oY, test, shading='flat', cmap=cm.gray_r) fill([-x1,x2,x2,-x1], [-y1,-y1,y2,y2], 'b', alpha=0.2, edgecolor=

Re: [Matplotlib-users] drawing a box

2007-12-18 Thread Bryan Fodness
I do want a rectangle. And, I have tried, axvline(x=x1, ymin=y1, ymax=y2) axvline(x=x2, ymin=y1, ymax=y2) axhline(y=y1, xmin=x1, xmax=x2) axhline(y=y2, xmin=x1, xmax=x2) On Dec 18, 2007 10:40 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Dec 18, 2007 9:00 PM, Bryan Fodness <[EMA

[Matplotlib-users] drawing a box

2007-12-18 Thread Bryan Fodness
I would like to draw a polygon using a x1, x2, y1, and y2. I tried to use axhline and axvline with the min and max values but it does give the desired result. It changes the axis limits and does not draw a line at all. Any help would be appreciated. Bryan -- "The game of scienc

Re: [Matplotlib-users] viewing my data correctly

2007-12-14 Thread Bryan Fodness
it will read Leaf B. On Dec 14, 2007 9:09 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > I would also like to get the area of the mesh element when I fill the > > corresponding array element. > > > > if a[1,0] > > area = 1.0 * 0.0

Re: [Matplotlib-users] viewing my data correctly

2007-12-14 Thread Bryan Fodness
I would also like to get the area of the mesh element when I fill the corresponding array element. if a[1,0] area = 1.0 * 0.01 if a[30,0] area = 0.5 * 0.01 Is this possible? On Nov 26, 2007 7:02 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > Could

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Bryan Fodness
Thank You! It works great. On Nov 26, 2007 7:02 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > Could someone give me an idea how to get started with this so it > > coincides with my array of values. I took a look at the quadmesh_demo > > in th

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Bryan Fodness
he dimensions of X and Y > should be one greater than those of C; if the dimensions are the > same, then the last row and column of C will be ignored. > > Actually generating the mesh is up to you (wink), but hopefully that > allows for what you need to do. > > Cheer

[Matplotlib-users] colorbar and secondary axis label

2007-11-26 Thread Bryan Fodness
=cm.gray_r) contourf(n, cmap=cm.gray_r) title('Intensity Pattern', size=28) xlabel('Distance (0.01 cm)', size=18) ylabel('Leaf B', size=18) axvline(x=ax/2, color='k', linestyle='--') colorbar() savefig('eIntensity') ----

[Matplotlib-users] viewing my data correctly

2007-11-25 Thread Bryan Fodness
has a height of 1 and the last one has a height of 1.4 When viewing this with contourf or pcolor, the image is more narrow than it should be. Is there an easy way to view this properly. Bryan -- "The game of science can accurately be described as a never-ending insult to human intelli

[Matplotlib-users] secondary axis same as primary with different label

2007-11-20 Thread Bryan Fodness
;) ylabel('Leaf B') ax2=twinx() ylabel('Leaf A') ax2.yaxis.tick_right() colorbar() and the scale is different for the second y-axis as well as prints on top of the colorbar. -Bryan "The game of science can accurately be described as a never

[Matplotlib-users] pcolor

2007-11-19 Thread Bryan Fodness
I would like to use pcolor with the colors going from white (zero values) to black (largest value). I am using, pcolor(a, shading = 'flat') colorbar() I do not see how to do this. -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magu

Re: [Matplotlib-users] Looking for a way to save a graph

2007-08-23 Thread Bryan Cole
> > > > I am but a humble newbie, but why not simply take your figure > > object/reference and Pickle it (see > > http://docs.python.org/lib/module-pickle.html)? > > > > Won't work. Pickling only works for objects that have been designed for > it. Such design is not trivial for extension cod

Re: [Matplotlib-users] Changing double circular helix

2006-10-13 Thread Bryan Cole
is a script to render a "coil" in 3D. It's too much work for me to figure out the vector/matrix algebra to calculate the trajectory you describe, but hopefully you get the idea: replace my 'trajectory' function with whatever is appropriate for what you want. Maybe this will

Re: [Matplotlib-users] skencil backend

2006-07-03 Thread Bryan Cole
On Fri, 2006-06-30 at 08:28 +, Christian Kristukat wrote: > Hi, > I'd love to have a backend which outputs skencil .sk files with text rendered > through the skLaTeX plugin. For those who don't know it, skencil is a vector > drawing program written in python. Its skLaTeX plugin allows to includ

[Matplotlib-users] linewidth

2006-06-20 Thread Bryan
= numpy.array(self.yrange) self.axes.plot(self.xrange, self.yrange, lw=5) thanks, bryan ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] pickled plots?

2006-06-18 Thread Bryan Cole
rceforge.net/freesteam/freesteam/freesteam.i?revision=1.16&view=markup > (this is from the steam properties project that I run, > http://freesteam.sf.net/) > > Cheers > JP > > Bryan Cole wrote: > > >On Sun, 2006-06-18 at 00:05 +1000, John Pye wrote: > > &

Re: [Matplotlib-users] pickled plots?

2006-06-17 Thread Bryan Cole
Unless I've missed something else... I may try this out later this week, unless someone else tries it first. Bryan PS. copy_reg example follows >>> import cPickle as pickle import copy_reg #let's test this on a simple 'Value' BinOp from matplotlib._transforms