Holger Brandsmeier <holger.brandsmeier@...> writes: > > Dear list, > > I would like to have two subplots in a figure one below each other (so > arranged in a 2x1 matrix). I want the upper subplot to have a very > small height compared to the lower one, say 10 times smaller than the > other one. > > How can I do that with matplotlib? I didn't find that with subplot() > command. I also found the add_subplot() function with many parameters, > but I didn't see which of those parameter would help me. > > Thanks for any advice, > Holger >
Have a look at http://matplotlib.sourceforge.net/users/gridspec.html greetings Till ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users