From: Ken Kemal on 31 Mar 2010 06:50 Hi Does anyone know how to use plotyy with timeseries? on 2 seperate axes? or plot with 2 seperate axes for the timeseries object? thanks, -ken
From: Wayne King on 31 Mar 2010 07:18 "Ken Kemal" <kk61(a)cornell.edu> wrote in message <hov9cs$o5m$1(a)fred.mathworks.com>... > Hi > > Does anyone know how to use plotyy with timeseries? on 2 seperate axes? or plot with 2 seperate axes for the timeseries object? > > thanks, > > -ken Hi Ken, one solution b = timeseries(rand(100,1),1:100); b1 = timeseries(10+rand(100,1),1:100); plotyy(b.Time,b.Data,b.Time,b1.Data); Wayne
From: Ken Kemal on 31 Mar 2010 08:18 Thanks Wayne, it worked. "Wayne King" <wmkingty(a)gmail.com> wrote in message <hovb1c$hp8$1(a)fred.mathworks.com>... > "Ken Kemal" <kk61(a)cornell.edu> wrote in message <hov9cs$o5m$1(a)fred.mathworks.com>... > > Hi > > > > Does anyone know how to use plotyy with timeseries? on 2 seperate axes? or plot with 2 seperate axes for the timeseries object? > > > > thanks, > > > > -ken > > Hi Ken, one solution > > b = timeseries(rand(100,1),1:100); > b1 = timeseries(10+rand(100,1),1:100); > plotyy(b.Time,b.Data,b.Time,b1.Data); > > Wayne
|
Pages: 1 Prev: Fminsearch with several variables????? Next: How to control the Colorbar/Colormap? |