search for: gp_labels

Displaying 7 results from an estimated 7 matches for "gp_labels".

Did you mean: eh_labels
2011 Mar 30
4
fonts in mosaic
I need to change the font(s) used in mosaic from package vcd. The help file and the vignette do not give very explicit examples for doing that. The easiest solution would be changing the font for everything on the graph: var labels, var names, title, subtitle, and cell labels. What is the easiest way of accomplishing this?
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List, I am trying unsucessfully to modify the fontsize of lables in mosaic: require(vcd) mosaic(Titanic, pop=FALSE, labeling_args=list(rot_labels=c(bottom=90,top=90), set_varnames = c(Sex = "Gender"), gp_text=gpar(fontsize=20))) #can't get it to resize text tab <- ifelse(Titanic < 6, NA, Titanic) # it works for labeling_cells labeling_cells(text = tab,
2012 Apr 06
2
Changing grid defaults
...ab, col.main, and col.sub parameter settings), but I can't figure out how to do this with grid/strucplot/vcd. >From my experiments, I think that I might eventually figure out how to change the colors of all the text in the mosaic plots to what I want using arguments like 'gp_args = list(gp_labels = gpar(col = "yellow")' and 'gp_varnames = gpar(col = "yellow")' (although I still haven't figured out how to changed the color of the text on the legends), but this is obviously not what I need. I have been reading all the documentation I can find, but I still...
2008 Sep 26
2
adjusting textsize and spacing in mosaic (vcd package)
...d first guess: this stops the default cell colouring, and doesn't change the font size mosaic(HairEyeColor, shade = TRUE, gp=gpar(fontsize=16)) #This successfully changes most of the text sizes, but not the numbers on the legend scale mosaic(HairEyeColor, shade = TRUE, labeling_args=list(gp_labels=gpar(fontsize=16), gp_varnames=gpar(fontsize=18)), legend_args=list(fontsize=16), margins=unit(4, "lines"), legend_width=unit(7, "lines")) How do I change the size of the text on the legend scale? Also, is there a way to change all the font sizes at once? Rega...
2007 Oct 25
0
adjust labels in plot:terminal_panel {party}
...panel=node_barplot(mtree,col="black",fill=NULL, beside=TRUE, ylines=NULL, widths=1,gap=NULL, reverse=FALSE,id=FALSE)) plot(mtree,terminal_panel=node_barplot(mtree,col="black",fill=NULL, beside=TRUE, ylines=NULL, widths=1,gap=NULL, reverse=FALSE,id=FALSE, gp_labels=gpar(fontsize=20, rot_labels=90) ) ) Any help appreciated Thanks Herry
2012 May 02
0
adding a caption to a mosaic plot?
...39;, 'black'))) mosaic_1<-table(mydat) mosaic(mosaic_1, gp=shading_hsv, main='my title', pop=FALSE, split_vertical=FALSE, margins=c(4.1, 2.1, 8, 5.1), labeling_args=list(rot_labels=c(left=0), offset_labels=c(left=3), gp_main=gpar(cex=2), offset_varnames=c(left=5.5), gp_labels=gpar(cex=1.5), gp_varnames=gpar(cex=1.5), labeling_values=c('observed'))) labeling_cells(text=round(prop.table(mosaic_1, 1)*100), gp_text=gpar(ces=2), clip=FALSE)(mosaic_1) ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street...
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...t cell colouring, and doesn't > change the font size > mosaic(HairEyeColor, shade = TRUE, gp=gpar(fontsize=16)) > > #This successfully changes most of the text sizes, but not the numbers on > the legend scale > mosaic(HairEyeColor, shade = TRUE, > labeling_args=list(gp_labels=gpar(fontsize=16), > gp_varnames=gpar(fontsize=18)), > legend_args=list(fontsize=16), > margins=unit(4, "lines"), > legend_width=unit(7, "lines")) > > How do I change the size of the text on the legend scale? > > Also, is there a way to c...