[Matplotlib-users] Stopping FuncAnimation

2014-02-24 Thread Derek Pyne
Does anyone know the preferred method for stopping FuncAnimation? I am using it to record data from a oscilloscope and woud like to be able to pause and restart the data on demand. Is there any way I can send a button click event to it? Thanks, Derek

Re: [Matplotlib-users] Matching shading on surfaces

2013-12-06 Thread Derek Thomas
Thanks Ben. I had tried turning off the shading but that makes it impossible to see the features of the surface. I ended up combining the surface values and resampling with scipy.interpolate.griddata so that I have a single surface. Derek On Fri, Dec 6, 2013 at 12:23 PM, Benjamin Root wrote

[Matplotlib-users] Building Basemap code?

2013-11-01 Thread Derek
I proceed from here? Thanks Derek -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure co

Re: [Matplotlib-users] Save pdf with plot_surface

2013-04-20 Thread Derek Thomas
I was able to fix this by uninstalling the matplotlib from homebrew and installing with pip. On Sat, Apr 20, 2013 at 9:33 AM, Derek Thomas wrote: > This may be known, but the following modified example from > http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html fails with a > Typ

[Matplotlib-users] Save pdf with plot_surface

2013-04-20 Thread Derek Thomas
This may be known, but the following modified example from http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html fails with a TypeError at matplotlib/backends/backend_pdf.pyc in draw_path_collection. Is it possible to save pdf files with surface plots? from mpl_toolkits.mplot3d import Axes3D f

Re: [Matplotlib-users] Affine2D on scatter

2013-04-05 Thread Derek Thomas
pyc' >>> mpl.get_backend() 'MacOSX' >>> mpl.__version__ '1.2.0' >>> mpl.get_configdir() '/Users/dect/.matplotlib' On Fri, Apr 5, 2013 at 2:07 AM, Phil Elson wrote: > Thanks Derek & John. > > Very strange. Here's my setu

Re: [Matplotlib-users] Affine2D on scatter

2013-04-04 Thread Derek Thomas
I get a different result. On Thu, Apr 4, 2013 at 9:25 AM, Phil Elson wrote: > Hi Derek, > > What are we looking at here? > > The following code: > > import matplotlib.pyplot as plt > import matplotlib.transforms as mtrans > import numpy as np > > pl

[Matplotlib-users] Affine2D on scatter

2013-04-04 Thread Derek Thomas
ns = ax.transData tr = mpl.transforms.Affine2D(matrix = array([[1,1,0],[0,1,0],[0,0,1]])) + base_trans plot( [1,2,3], [1,2,3], 'k.', transform = tr ) scatter( [1,2,3], [1,2,3], c = 'k', marker = 'D', trans

Re: [Matplotlib-users] mplot3d bar3d errors

2010-01-27 Thread Derek Schuff
0.99.1.1 Perhaps a packaging bug? thanks again, -Derek On Wed, Jan 27, 2010 at 2:59 AM, Reinier Heeres wrote: > Hi Derek, > > I just tried your program with the latest svn version and that seems > to work fine, so I'd suggest you try that as well [1]. It looks to me > like the f

[Matplotlib-users] mplot3d bar3d errors

2010-01-26 Thread Derek Schuff
of the rows: it only errors when the corresponding z values match exactly. Am I doing something wrong here? or is this some kind of bug in the drawing code? thanks, -Derek the program: #!/usr/bin/env python2.6 import matplotlib.pyplot as plot import mpl_toolkits.mplot3d import numpy fig2 = plot.figur

Re: [Matplotlib-users] change axes/tickmarks/ticklabels color

2007-10-16 Thread Derek Hohls
. when the question arises again, we can just point back to this example (and possibly ask for it to be included in further releases of the samples.zip from the website). Derek >>> "George Nurser" <[EMAIL PROTECTED]> 2007/10/16 04:10 PM >>> Hi Derek, I did se

Re: [Matplotlib-users] plotting wind-speed time series

2007-05-07 Thread Derek Hohls
rs=8,style='bar2') title("And here is the title!", fontsize=14) fig=ax.get_figure() #for leg in fig.legends: # setp(leg.get_texts(), fontsize=8) draw() show() The commented code is in case you want to set the font size for the legend. Derek PS As I said before, I sugg

Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)

2007-05-05 Thread Derek Hohls
I would suggest contacting the author directly. windrose.py is on version 5 (AFAIK). I have used it on a project and it works well. Derek >>> "John Hunter" <[EMAIL PROTECTED]> 05/04/07 10:34 PM >>> On 5/4/07, Alan Jackson <[EMAIL PROTECTED]> wrote:

Re: [Matplotlib-users] time axis

2007-02-12 Thread Derek Hohls
Sture Did you look in the mail archive - there is a thread titled: " x-axis Label in hh:mm:ss format" which addresses this. Derek >>> Sture Lygren <[EMAIL PROTECTED]> 2007/02/12 12:14:26 PM >>> Hi, Been reading the docs but couldn't find an easy soluti

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

2007-02-02 Thread Derek Hohls
int or two will set me on the right track!) Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Le

Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Derek Hohls
pgrade the program to perform error trapping and simply skip (i.e. not process) any values that are null (and handle the exceptional case that all of them might, in fact, be null). Thanks! Derek >>> Lionel Roubeyrie <[EMAIL PROTECTED]> 2006/10/18 05:57:55 PM >>> Hi Derek

Re: [Matplotlib-users] bar charts (Margherita Vittone wiersma)

2007-01-29 Thread Derek Hohls
align='center' gives an error Also this solution is not perfect for negative bars as the text is located just *inside* the bar, rather than just *below* it. >>> Yannick Copin <[EMAIL PROTECTED]> 01/26/07 4:08 PM >>> Hi, > i have made bar charts but I was wondering if there is a way to show

Re: [Matplotlib-users] Setting the whisker range for box plots

2007-01-24 Thread Derek Hohls
les of such an implementation: http://www.originlab.com/index.aspx?s=8&lm=214&pid=959 or http://ploticus.sourceforge.net/doc/rangebar.html (see the option called "tailmode" which allows switching between 5th and 95th percentile, min and max, or 1.5 x IQR.) Thanks Derek >>>

[Matplotlib-users] Setting the whisker range for box plots

2007-01-23 Thread Derek Hohls
within ( whis*(75%-25%) ) data range. So, in theory, a value of whis=1.9 should be what is needed but this seems to produce a much lower point - what value do I need to use? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice.

[Matplotlib-users] Adding text and rectangles below plotted data?

2007-01-22 Thread Derek Hohls
g? And at what vertical height should the line of rectangles be located? Any ideas or insights would be appreciated? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the vi

[Matplotlib-users] Changing the font for the legend

2007-01-18 Thread Derek Hohls
') ) as per the webpage, I get a warning message and the font size is unchanged. What is the best method for changing font properties (e.g. point size, color) for the legend? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal no

[Matplotlib-users] Plotting the legend "above" the gridlines

2007-01-18 Thread Derek Hohls
The command: ax = lab.subplot(111, axisbelow='True') ensures that the gridlines appear below the bars on a plot; how can the same be done for the legend (ie the grid below the legend and not running through it)? Thanks Derek -- This message is subject to the CSIR's copyr

Re: [Matplotlib-users] windrose 0.5

2006-10-25 Thread Derek Hohls
Lionel Is it possible to change the font sizes on the (a) direction labels (N, S, E, W) (b) % values labelling the rings? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represen

[Matplotlib-users] Optimizing images for web display?

2006-10-24 Thread Derek Hohls
out (typically to a hi-res mono laser)? Thanks! Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.

[Matplotlib-users] Plotting data as bars with a date axis?

2006-10-23 Thread Derek Hohls
The standard plot: ax.plot_date(dates,values) does a "dot" plot whereas ax.plot_date(dates,values,'-') plots a line. How, though, do I plot values as bars? Thanks Derek PS dates are converted from an array "dates as strings", using the datestr2num()

[Matplotlib-users] Superimposed Line and Bar plots?

2006-10-20 Thread Derek Hohls
I am sure this (superimposed Line and Bar plots) is easy to do, but I cannot see any discussion of "how" on the user list (difficult to know which phrase to search!) Any pointers? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-ma

[Matplotlib-users] Box plot problem - mismatched arrays

2006-10-20 Thread Derek Hohls
on the same boxplot? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html

Re: [Matplotlib-users] windrose 0.5

2006-10-19 Thread Derek Hohls
=False,speed_classes=[0.0, 0.1,0.2,0.3,0.4],sectors=8,labangle=66,style='bar2') fig=ax.get_figure() for leg in fig.legends: setp(leg.get_texts(), fontsize=8) draw() show() The plot does "look better" as you add more data Derek >>> Stefan van der Walt <[EM

Re: [Matplotlib-users] windrose 0.4

2006-10-18 Thread Derek Hohls
rea; say to the left, with a "rectangle" of the space available to the right; or up to the top, with a "rectangle" of the space available to the bottom. Plots often have to annotated and its useful to have some working space to do this. Thanks for all the good work! Derek PS Doe

Re: [Matplotlib-users] windrose 0.3

2006-10-13 Thread Derek
Lionel Roubeyrie <[EMAIL PROTECTED]> writes: > > Hi all, > continuing on the windroses, here the third version of windrose.py, with two > others styles (line and bar2 (is it what you want Derek?)). I want to know > how it's possible to modify the legends to be on a

Re: [Matplotlib-users] Matplotlib powered website. Would love to get your feedback!

2006-10-09 Thread Derek Hohls
code - if so, what command is used to "pull" the graph into the web page - the matplotlib "show" command? - or do you store the graph somewhere on a temporary basis and then delete again when done?? Thanks Derek PS <1 sec to make a chart sounds quick - given that it tak

Re: [Matplotlib-users] Matplotlib powered website. Would love to get your feedback!

2006-10-09 Thread Derek Hohls
framework used?  integration strategy?  deploy- ment and setup issues?  graph creation methodology?   I am looking to tackle a project with multi-chart reporting component features and would really love to use Matplotlib with it but am not quite sure where to start.    Thanks! Derek>>>

[Matplotlib-users] X-axis label tickmarks - number formatting

2006-10-09 Thread Derek Hohls
thing large" exceeds that, the numbers are formatted in exponential notation. ie. 0.2 0.4 0.6... followed by a rather large and ugly-looking x1e+4 which appears on the same line as the X-axis legend. Is there is a simple way to avoid exponential notation? Thanks Derek -- This me

Re: [Matplotlib-users] Getting started with bar charts

2006-08-25 Thread Derek Hohls
see some simplifications or additions to the interface to deal with the issues raised in this thread (for example, by aligning their behaviour and properties to other, similar, chart properties). Thanks again, Derek >>> Jouni K Seppänen <[EMAIL PROTECTED]> 2006/08/23 08:52 AM &g

Re: [Matplotlib-users] Getting started with bar charts

2006-08-21 Thread Derek Hohls
*** I guess that, overall, I have been expecting matplotlib to have a simple "dot" notation throughout - xaxis.xtick.major.size = 2 as this type of notation is readily easy to grasp and use, but this preconception is blocking my grasp of how to use the m

[Matplotlib-users] Getting started with bar charts

2006-08-21 Thread Derek Hohls
The last point of "mystery" to me is that of "plot" vs "subplot" vs "bar" - are these all essentially the same family of object, with some differences in their capabilities - or vastly different beasts? Any help with these "newbie" issues would be ap