On 09/12/2012 09:29 AM, Jonas Stein wrote:
Hi,

how can i plot two different x axis in a ggplot2 qplot?
I want to plot Farenheit and Celsius in one diagram.
x1:Farenheit x2:Celsius

Hi Jason,
Here's a basic example of how to do this sort of thing.

degC<-seq(-40,120,by=20)
plot(degC,1:9)
axis(3,at=degC*1.4+32)
mtext("degF",3,line=2)

Jim

______________________________________________
R-help@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.

Reply via email to