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
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
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
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
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
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.
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.