>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Tommy E.
Cathey
>Sent: Wednesday, March 05, 2003 12:40 PM
>To: [EMAIL PROTECTED]
>Subject: [R] Does barplot handle log scales?
>
>
>Does barplot handle log scales? Every time I try to pass 
>log="y" to barplot I get the following error message.
>
>>barplot(height=t(array(c(d1,d2,d3,d4),dim=c(NROW(d1),4))),ann=
>FALSE,axe
>>s=FALSE,col=c("#0000ff","#ff0000","#00ff00","#ffff00"),horiz=F
>ALSE,widt
>>h=c(0.5),space=c(1.2,2.0),beside=FALSE,log="y")
>
>Error in plot.window(xlim, ylim, log = "", ...) :
>        formal argument "log" matched by multiple actual arguments
>
>Thanks,
>Tommy
>
>--
>
>Tommy E. Cathey
>Senior Scientific Application Consultant
>SAIC (Contractor to EPA)
>mailto:[EMAIL PROTECTED]
>(919)541-1500
>My e-mail does not reflect the opinion of SAIC or the EPA.


Tommy,

The standard barplot() function does not handle log scales.

Please see barplot2() in the gregmisc package on CRAN.  If you have
any questions on its use, please let me know.

Best regards,

Marc Schwartz

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to