Hi all

First, a small bug:

In [4]: s = subplot(121)

In [5]: getp(s.get_frame())
---------------------------------------------------------------------------
exceptions.TypeError                                 Traceback (most recent 
call last)

/home/stefan/work/scipy/debug/<ipython console> 

/home/stefan/lib/python2.4/site-packages/matplotlib/artist.py in getp(o, *args)
    410 
    411     if len(args)==0:
--> 412         print '\n'.join(insp.pprint_getters())
    413         return
    414 

/home/stefan/lib/python2.4/site-packages/matplotlib/artist.py in 
pprint_getters(self)
    377             try: val = func()
    378             except: continue
--> 379             if hasattr(val, 'shape') and len(val)>6:
    380                 s = str(val[:6]) + '...'
    381             else:

TypeError: len() of unsized object


One way to fix this would be to change line 379 in artist.py from

            if hasattr(val, 'shape') and len(val)>6:

to

            if hasattr(val, 'size') and val.size > 6:

Now on to my real question.  Say I have a screen of 4x4 subplots,
created with subplot(221).  I'd like to be able to split the screen
as such:
 __ __
|  |  |
|  |  |
|--|  |
|  |  |
|__|__|

I.e., to draw in the window on the right:

subplot(2,2,[2,4])

Is there currently an easy way to do this, or would I have to combine
axes manually?

Any tips appreciated!

Thanks
Stéfan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to