Thanks, for the moment it works. But is there a possibility for a logarithmic x-Axis? When i use log='x' i get only a vertical line. Greetings -- View this message in context: http://r.789695.n4.nabble.com/Reverse-order-of-x-axis-tp4638275p4638282.html Sent from the R help mailing list archive at Nabble.com.
Reverse order of x-axis
3 messages · sappy, Rolf Turner, David L Carlson
(1) Please show context; r-help is *not* nabble.
(2) You might like to investigate the revaxis() function from the
"plotrix" package.
cheers,
Rolf Turner
On 30/07/12 07:41, sappy wrote:
Thanks, for the moment it works. But is there a possibility for a logarithmic x-Axis? When i use log='x' i get only a vertical line.
Show us what you actually did. Rui's example does not generate a problem with a log axis but it is an index plot. This also does not generate any problems:
set.seed(42) x <- runif(10)*100 y <- runif(10)*100 plot(x, y, xlim=c(100, 1), log="x")
You wouldn't have used xlim=c(100, 0) and then specified a log axis would you? Since log(0) is -Inf, that could create problems. ---------------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- project.org] On Behalf Of sappy Sent: Sunday, July 29, 2012 2:41 PM To: r-help at r-project.org Subject: Re: [R] Reverse order of x-axis Thanks, for the moment it works. But is there a possibility for a logarithmic x-Axis? When i use log='x' i get only a vertical line. Greetings -- View this message in context: http://r.789695.n4.nabble.com/Reverse- order-of-x-axis-tp4638275p4638282.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ 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.