[R] plotting barplot in log scale

Rengie Chan wchan at lbl.gov
Wed Aug 28 22:53:11 CEST 2002


Does anyone know how to get barplot to plot in log scale? I tried:

barplot(Mx, log="y", besides=F), where Mx is a 2 by 31 matrix to be

R complains: Error in plot.window(xlim, ylim, log = "", ...) : 
        formal argument "log" matched by multiple actual arguments

I know there's nothing wrong with the rest of the arguments because if I
took out log="y", it plots fine.

I'm using version 4.1 on Linux.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list