After application of Daishi Harada's patch on 0.85, I tried to use it with SciPy core SVN from yesterday and get rather strange results: x = scipy.array( [16.5]*10 ) y = scipy.array( [19.5]*10 ) w = scipy.arange(10) # This plots a line at 16.0, not 16.5! pylab.plot( w, x ) # However this works perfectly with a blue box 0-9 x 16.5x19.5 f = pylab.figure() a = f.add_subplot( 1, 1, 1 ) a.fill( scipy.concatenate((w,w[::-1])), scipy.concatenate((x,y[::-1])) ) f.canvas.draw() Further, the legend boxes are too large, usually obscuring most of the picture with a polygonal patch (such as the one produced by the fill above) or at least a half without any polygonal patches. How can I help debug these issues? Regards, Ravi
On Nov 23, 2005, at 12:20 PM, Ravikiran Rajagopal wrote: > After application of Daishi Harada's patch on 0.85, I tried to use it > with > SciPy core SVN from yesterday and get rather strange results: I'm sorry you're having troubles with the patch. Unfortunately, I can't seem to recreate your problem. I realize "works for me" isn't a particularly useful response, but I'm afraid that's the best I can do for now - and I'll be away again for Thanksgiving until next week. FWIW, I'm using the CVS matplotlib with the wx backend, and the new scipy w/atlas. d
On Wednesday 23 November 2005 19:51, da...@eg... wrote: > Unfortunately, I can't seem to recreate your problem. The problem is that I have both Numeric[1] and the new scipy installed. When both are installed, the Numeric headers are picked up by default during scipy compilation. By forcing them to pick up the scipy headers, the problem was resolved. But it is a rather strange coincidence that the error results in truncated numbers rather than something drastic. Ravi [1] Reason: It will be a while before all my Numeric-based libraries are ported to the new scipy; porting is trivial, but regression testing takes time, especially given that the new scipy C API is not quite stable yet and that I haven't yet ported boost.python.numeric to scipy.
Matlab has a useful contributed function called suptitle.m that puts a central title above a set of subplots: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=3233&objectType=file I'm planning to do a port for matplotlib, but wanted to check first to see if it's a solved problem -- best, Phil Austin
>>>>> "Philip" == Philip Austin <pa...@eo...> writes: Philip> Matlab has a useful contributed function called suptitle.m Philip> that puts a central title above a set of subplots: Philip> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=3233&objectType=file Philip> I'm planning to do a port for matplotlib, but wanted to Philip> check first to see if it's a solved problem -- best, Phil I believe this is equivalent to something like fig.text(0.5, 0.9, 'some text') where fig is a Figure instance. See http://matplotlib.sf.net/matplotlib.figure.html#Figure-text Exposing subtitle as a pylab function which wraps this functionality is fine by me. JDH Philip> ------------------------------------------------------- Philip> This SF.net email is sponsored by: Splunk Inc. Do you grep Philip> through log files for problems? Stop! Download the new Philip> AJAX search engine that makes searching your log files as Philip> easy as surfing the web. DOWNLOAD SPLUNK! Philip> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click Philip> _______________________________________________ Philip> Matplotlib-devel mailing list Philip> Mat...@li... Philip> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel