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
>
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
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,
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
4 matches
Mail list logo