There seems to be a clash of character sets so I can't see just what
you're trying to do, but I think you'll find out how to adjust the
text size with a scales list. Check out how it's used in the help for
xyplot.
HTH
On Tue, 28-Feb-2012 at 06:05PM +0000, Jose Bustos Melo wrote:
|> 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 at 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.
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.