[R] Semi-log plot in R

Philipp Pagel philipp.pagel.lists at t-online.de
Mon Mar 6 10:30:52 CET 2006

On Sun, Mar 05, 2006 at 12:00:19AM +0000, christophe tournayre wrote:
> Is it possible to create a semilog plot in R?

If you mean a plot with one log-scale axis this is what you want:

x = 1:100
y = x^2
plot(x,y, log="y")

See ?plot for details


Dr. Philipp Pagel                            Tel.  +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics      Fax.  +49-8161-71 2186
Technical University of Munich
Science Center Weihenstephan
85350 Freising, Germany


Institute for Bioinformatics / MIPS          Tel.  +49-89-3187 3675
GSF - National Research Center               Fax.  +49-89-3187 3585
      for Environment and Health
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany

More information about the R-help mailing list