From: sophana <so...@zi...> - 2006-02-01 17:46:35
|
I've run the two-scale demo, but there is a big problem when I zoom into it (in the gtk gui): Only one of the 2 scales (the left one) changes. Is there a way to select/zoom/move the second scale? I changed the date_demo.py to display 2 stock quotes, but it is actualy unusable because of this. Any help welcome Paul Barrett wrote: > Hello Andrea, > > Have you looked at the file, two_scales.py, in the examples > directory? This example would appear to show you how to create plots > with two or more scales per axis. > > -- Paul > > On 1/28/06, *Andrea Gavana* <and...@ti... > <mailto:and...@ti...>> wrote: > > Hello NG, > > please excuse my poor knowledge of matplotlib. I am searching > for a way > to do plots with multiple Y axes: for those of you that use > Matlab, I am > looking for something like plotyy and, if it's possible, also > something more > complicated like plotyyy or ploty4 (available at Matlab Central File > Exchange) that allow you to put a third and fourth Y-axis on a > plot, like in > this screenshot: > > http://www.mathworks.de/matlabcentral/fileexchange/util.do?objectId=4425&imgName=plot4y.png > <http://www.mathworks.de/matlabcentral/fileexchange/util.do?objectId=4425&imgName=plot4y.png> > > Is something like this possible with matplotlib? Is there anyone > that has a > small example on how to do it? > > Thank you in advance for every suggestion. > > Andrea. > > "Imagination Is The Only Weapon In The War Against Reality." > http://xoomer.virgilio.it/infinity77 > <http://xoomer.virgilio.it/infinity77> > > > > -- > Paul Barrett, PhD Johns Hopkins University > Assoc. Research Scientist Dept of Physics and Astronomy > Phone: 410-516-5190 Baltimore, MD 21218 |