Skip to content

tsplot function

5 messages · Jason Turner, Gyan, Brian Ripley +1 more

#
On Tue, Nov 05, 2002 at 12:08:34PM -0500, Gyan wrote:
check out the help pages for matplot() and layout().

Either one might get you there, depending what you want.

Cheers

Jason
#
On Tue, Nov 05, 2002 at 09:53:10PM +1300, Jason Turner wrote:
Hang on, what package was tsplot in?  ts.plot is still in the ts
library, and I don't recall ever using tsplot...

Jason
#
I understand that the tsplot function is no longer available in the 
latest verion. What should I do if I want to plot say the first five 
rows of a matrix??

-gyan


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 5 Nov 2002, Gyan wrote:

            
Function ts.plot is still available: there has never been a tsplot.

To plot rows or columns of a matrix see matplot.
#
Jason Turner wrote:
Well, there was a tsplot function in my tframe package for R in 1997.
Sometime between 1997 and 1999 I changed the name to tfplot to prevent
confusion, since it is not exactly the same as the tsplot in Splus. "No
longer available in the latest version" is not exactly the way I would
describe this, so I doubt that it is the source of your confusion, but
to set the historical record straight, there has previously been a
tsplot in an R package. 

tfplot() is still available in my tframe package in the dse bundle on
CRAN, and may do something like what you want. It, and most of the
others I believe too, treat columns as series, not rows, so use t().
tfplot() puts the series in separate graphics panels, which works better
if the scales of the series are not similar. The matplot() default is to
place all the graphs on one plot, which may be what you want.

Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._