Re: [R] how to qplot two x-axis x1:Farenheit x2:Celsius

2012-09-12 Thread John Kane
xoKE seems to give a good idea of what has/is happening. John Kane Kingston ON Canada > -Original Message- > From: n...@jonasstein.de > Sent: Wed, 12 Sep 2012 01:29:25 +0200 > To: r-h...@stat.math.ethz.ch > Subject: [R] how to qplot two x-axis x1:Farenheit x2:Celsius >

Re: [R] how to qplot two x-axis x1:Farenheit x2:Celsius

2012-09-12 Thread Rui Barradas
Hello, Two corrections: 1. To convert from Celsius to Farenheit it's degC*1.8 + 32, not degC*1.4 + 32 2. The axis tick marks should be in the same _places_, but with different _labels_. degC<-seq(-40,120,by=20) plot(degC,1:9) axis(3, at=degC, labels=degC*1.8+32) # here mtext("degF",3,line=2

Re: [R] how to qplot two x-axis x1:Farenheit x2:Celsius

2012-09-12 Thread Jim Lemon
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,

[R] how to qplot two x-axis x1:Farenheit x2:Celsius

2012-09-12 Thread Jonas Stein
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 kind regards, -- Jonas Stein __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P