Hi everyone,
Im very new with R and I would like to change the size text (names) in the ylab 
in a dotplot. I have checked many webpages and R sites,  but I have not found 
any help.
This is the same structure of the plot in R graph Gallery: 
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150

thanks in thanks is advance
José



Mi code is this:

### setup the key
k <- simpleKey( c( "Perdidas ",  "Contestadas" ) )
k$points$fill <- c("lightblue", "lightgreen")
k$points$pch <- 21
k$points$col <- "black"
k$points$cex <- 1

cliente100RD<- cliente100[order(cliente100$porc_perd),]

### create the plot
dotplot( rownames(cliente100RD) ~ perdida + contestada , data = cliente100RD, 
horiz = T,
 main="Llamadas Enero 2012: RM",sub="Clientes ROI",
    par.settings = list( 
        superpose.symbol = list( 
            pch = 21, 
            fill = c( "lightblue", "lightgreen"), 
            cex = 2, 
            col = "black"  
        )
     ) , xlab = "n° de llamadas", key = k, 
     panel = function(x, y, ...){
       panel.dotplot( x, y, ... )
       grid.text( 
               unit( x, "native") , unit( y, "native") , 
            label = x, gp = gpar( cex = .5 ) )
     } ) 

###############################
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to