Re: [Matplotlib-users] plot problem

2015-05-18 Thread Benjamin Root
I noticed in your output that another figure seems to have been created (you see its output as matplotlib.figure.Figure at 0x1354cb70). It would be useful to add some print statements to figure out exactly which line is emitting that. Second, you are calling plt.savefig() in the for-loop for the

[Matplotlib-users] plot problem

2015-05-16 Thread Juan Wu
Hi, List experts, I have a matplotlib problem when I tried to use a tool called HDDM. As HDDM is another issue, I here just post my problem with Matplotlib. In short, the error alarm appeard when I input fig = plt.figure(). I am a beginner with those stuff. I would appreciate if anyone can give

[Matplotlib-users] plot problem

2009-01-16 Thread Neal Becker
pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File /usr/lib/python2.5/site-packages/matplotlib-0.98.5.2-py2.5-linux- x86_64.egg/matplotlib/pyplot.py,

Re: [Matplotlib-users] plot problem

2009-01-16 Thread Eric Firing
Neal Becker wrote: pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File /usr/lib/python2.5/site-packages/matplotlib-0.98.5.2-py2.5-linux-

Re: [Matplotlib-users] plot problem

2009-01-16 Thread Neal Becker
On Friday 16 January 2009, Eric Firing wrote: Neal Becker wrote: pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File

Re: [Matplotlib-users] plot problem

2009-01-16 Thread Eric Firing
Neal Becker wrote: pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File /usr/lib/python2.5/site-packages/matplotlib-0.98.5.2-py2.5-linux-

Re: [Matplotlib-users] plot problem

2009-01-16 Thread Eric Firing
Neal Becker wrote: On Friday 16 January 2009, Eric Firing wrote: Neal Becker wrote: pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File

Re: [Matplotlib-users] plot problem

2009-01-16 Thread Eric Firing
Neal Becker wrote: On Friday 16 January 2009, Eric Firing wrote: Neal Becker wrote: pylab.plot (xaxis, log10 (the_sum)*10) where xaxis is numpy array, and log10(the_sum)*10 is my own class that is a valid python sequence (it is a c++ wrapper around boost::ublas), gives: File

Re: [Matplotlib-users] Plot problem

2006-12-04 Thread Axel Brink
This is just to let you know that I fixed the plot problem by installing the newest Matplotlib (0.87.7) and creating ~/.matplotlib/matplotlibrc. Adam, John and Gary, thank you very much! Axel. Gary wrote: Axel John, thanks for your suggestion. I would never have thought Axel of

[Matplotlib-users] Plot problem

2006-12-01 Thread Axel Brink
Hello there, I have a strange plotting problem. In the example below I expect three equal plots of f, g and h: a simple inclined line, but g and h produce a sawtooth plot. What do I do wrong? Any help would be greatly appreceated. Sincerely, Axel Brink. import numpy, pylab f = range(500) g =

Re: [Matplotlib-users] Plot problem

2006-12-01 Thread John Hunter
Axel == Axel Brink [EMAIL PROTECTED] writes: Axel Hello there, I have a strange plotting problem. In the Axel example below I expect three equal plots of f, g and h: a Axel simple inclined line, but g and h produce a sawtooth Axel plot. What do I do wrong? Any help would be

Re: [Matplotlib-users] Plot problem

2006-12-01 Thread Axel Brink
Axel Hello there, I have a strange plotting problem. In the Axel example below I expect three equal plots of f, g and h: a Axel simple inclined line, but g and h produce a sawtooth Axel plot. What do I do wrong? Any help would be greatly Axel appreceated. Not sure what

Re: [Matplotlib-users] Plot problem

2006-12-01 Thread Gary
John Hunter wrote: Axel == Axel Brink [EMAIL PROTECTED] writes: Axel John, thanks for your suggestion. I would never have thought Axel of looking for the cause of the problem in that Axel direction. However, it isn't solved yet. The verbose mode Axel yielded the