I'm not understanding something.

I'm trying to add xlab & ylab to a balloon plot of a table object. From docs
I thought following should work:

require(gplots)
# From balloonplot example:
     # Create an example using table
     xnames <- sample( letters[1:3], 50, replace=2)
     ynames <- sample( 1:5, 50, replace=2)

     tab <- table(xnames, ynames)

     balloonplot(tab)

# Try xlab, ylab:
balloonplot(tab, xlab = "MyX", ylab = "MyY")


But second plot is no different from first.

R.version.string: Version 2.3.1 (2006-06-01)
gplots version: 2.3.0
on WinXP SP1

-- 
TIA,
Jim Porzak
Loyalty Matrix Inc.
San Francisco, CA

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to