[R] How to change the label in plot.ts ?
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Mar 17 13:07:55 CET 2006
Use column names:
myts <- ts(cbind(First = 1:10, Second = 11:20))
plot(myts)
On 3/17/06, Tong Wang <wangtong at usc.edu> wrote:
> Hi you guys:
> I have been wondering if there is any way to change the labeling in plot.ts( ), for example , if I plot two sequences,
> i always got y labels as "series1", "series2", I tried to use ylab=c((expression(mu_1)),(expression(mu_2))), but it
> doesn't work.
> thanks in advance for any help
>
> best.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list