SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Ravikiran R. <ra...@at...> - 2005年11月23日 20:19:25
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
From: <da...@eg...> - 2005年11月24日 00:52:45
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
From: Ravikiran R. <ra...@at...> - 2005年11月26日 19:23:18
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.
From: Philip A. <pa...@eo...> - 2005年12月09日 22:20:42
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
From: John H. <jdh...@ac...> - 2005年12月10日 18:33:58
>>>>> "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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /