>>>>> "Benoit" == Benoit Donnet <[EMAIL PROTECTED]> writes: Benoit> Do you think it is possible to do such a plot in Benoit> matplotlib?
Hey Benoit -- thanks for posting that image. It's good to get some reminders of the current limitations of mpl so we can focus on improving them. There are two things in that plot that mpl cannot currently do. 1) multiple y-scales on the left and right. mpl supports a left and right scale (see examples/two_scale.py) but nothing like an arbitrary number of scales with arbitrary positioning as you see in the plot you attached. This has long been on the wish list (and is on the goals web page) but has not yet been implemented. This is something chaco does quite well because it is very common to make these plots in geophysics. For me it is one of the few remaining must-have features for matplotlib 1.0. You could hack your own scales using matplotlib lines and text instances. Indeed it wouldn't be too hard and if I get some time I'll do a demo which may serve as a prototype for refactoring the mpl axis code. 2) the horizontal legend layout - matplotlib is not very flexible in the legend layout and supports only vertical legends. This would be a nice feature. Currently the legend code can best be described as hairy, which is why few want to try to improve it. As for the text table at the bottom, you could either do this with table, probably your best choice, or with a series of side-by-side axes, or with some custom rectangles and text instances. We've talked before that it would be nice to have a layout engine, much like the gtk hbox and vbox, and this would be a good candidate for it. JDH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users