|
From: willfurnass <wi...@th...> - 2012-04-26 16:51:20
|
I've converted a simple MATLAB script [1] for wavelet decomposition-based analysis to Python. I now want to create figures similar to [2] that feature five subplots in one column, with the 1st and 3rd being generated using 'subplot.plot' and the others being generated using 'subplot.imshow'. I want to find a way of scaling the x and y axes of all subplots so that they're the same size on screen across all subplots. Unfortunately I can't find any combination of 'aspect' or 'extent' that will let me do this. I should note that I've added colorbars to all my image plots; the problem exists regardless of whether these are used. Has anyone got any suggestions? Apologies if this is a trivial matter; I'm fairly new to MP. FYI I'm using matplotlib v1.1.0. [1] http://www.mathworks.com/matlabcentral/fileexchange/18409-comparing-time-series-using-semblance-analysis [2] http://www.mathworks.com/matlabcentral/fx_files/18409/1/goldoil.jpg Regards, Will Furnass -- View this message in context: http://old.nabble.com/Set-x-axis-length-of-all-subplots-to-same-width-on-screen-tp33753799p33753799.html Sent from the matplotlib - users mailing list archive at Nabble.com. |