Re: [R] 3 Y axis possible?

From: Walmes Zeviani <walmeszeviani_at_gmail.com>
Date: Thu, 26 May 2011 20:46:36 -0300

Jun,

The par() command is to give extra margin on right side to accomodate the y axis label.
I recognize, like Rolf, that three y axis can be cumbersome, confuse. So, I would adopt another approach using lattice::xyplot()

require(reshape)
x <- melt(x, id="Time")
str(x)

require(lattice)
xyplot(value~Time|variable, data=x, layout=c(3,1),

       type="l", scales=list(y=list(relation="free")))

Walmes.



Walmes Marques Zeviani
LEG (Laboratório de Estatística e Geoinformação, 25.450418 S, 49.231759 W) Departamento de Estatística - Universidade Federal do Paraná fone: (+55) 41 3361 3573
VoIP: (3361 3600) 1053 1173
e-mail: walmes_at_ufpr.br
twitter: @walmeszeviani
homepage:
http://www.leg.ufpr.br/~walmes linux user number: 531218

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 26 May 2011 - 23:48:20 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 May 2011 - 19:40:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive