[Matplotlib-users] Role of numpy Method arange in Matplotlib

2012-07-27 Thread JonBL
I'm unsure about the role of numpy method arange in Matplotlib plots. All Matplotlib examples I have seen call numpy's method arange, and pass the result as the first arg to Matplotlib's plot method. But the following works as expected: --- quote --- import matplotlib.pyplot as plt import numpy

Re: [Matplotlib-users] How to Change Axis Tick Mark Labels

2012-07-22 Thread JonBL
Elson who suggested using using FuncFormatter as well. Many thanks to both of you for your timely responses to my query. Regards, Jon Benjamin Root-2 wrote: > > On Sat, Jul 21, 2012 at 10:27 PM, JonBL wrote: > >> >> I have a line plot where the x-axis values are numbers, w

[Matplotlib-users] How to Change Axis Tick Mark Labels

2012-07-21 Thread JonBL
I have a line plot where the x-axis values are numbers, with displayed tick mark values of 0, 100, 200 ... 500 - a total of 6 tick marks. These values represent the number of days since a certain date. I have a function which converts a number such as 100, to date string '23-Jun-11', which I want

Re: [Matplotlib-users] How to Turn Off Blocking by Method show()

2012-07-19 Thread JonBL
Solved - just discovered methods ion() and ioff() which do the job. JonBL wrote: > > I have a Python program which calls matplotlib's show() method to display > a plot, but control does not return to my program until I close the > displayed figure. I want control to immedia

[Matplotlib-users] How to Turn Off Blocking by Method show()

2012-07-19 Thread JonBL
I have a Python program which calls matplotlib's show() method to display a plot, but control does not return to my program until I close the displayed figure. I want control to immediately return to my program so that I can display additional figures as well. The doco (matplotlib 1.1.1) for the

Re: [Matplotlib-users] Exceptions on Some Demos

2011-07-02 Thread JonBL
Thanks, Ben. I'll install 1.0.1. I'm aware of the situation about Fedora 10. Regards, Jon Benjamin Root-2 wrote: > > On Fri, Jul 1, 2011 at 10:02 PM, JonBL wrote: > >> >> I've used Add/Remove Software to install >> python-matplotlib-0.98.5.

[Matplotlib-users] Exceptions on Some Demos

2011-07-02 Thread JonBL
I've used Add/Remove Software to install python-matplotlib-0.98.5.2-2.fc10(i386) and python-matplotlib-tk-0.98.5.2-2.fc10(i386) on my fedora 10 box, plus 11 dependencies, including Tkinter. Some matplotlib examples, eg pylab_examples Examples/arctest.py works nicely, but many do not as presented.