search for: rot_label

Displaying 6 results from an estimated 6 matches for "rot_label".

Did you mean: root_label
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, margin = 0,gp_text=gpar(fontsize=20))(Titanic) What...
2009 May 21
1
vcd package --- change layout of plot
...plots for Cities PX, SF are shrunk too much. Stacking PX on top of SF would make for a better plot. (I could switch the order of Feature and Rank dimensions, and go with the default side-by-side, but would prefer not to). (1) cotabplot(~ Rank + Feature| Cities, data = Pack.dat, gp = shading_max, rot_labels = c(90, 0, 0, 0),just_labels = c("left", "left", "left", "right"),set_varnames = c(Feature = "")) Reading the vcd help, I got lost trying to understand the panel-generating parameters I should use. My best guess was below (2), but gave an error...
2010 May 12
2
Finding different hues for a mosaic plot compatible with grayscale printing
...assistance is appreciated. >mosaic(~educ+trade_off_scaled, shade=TRUE, main="Support For Environmental Protection At The Expense of Creating Jobs By Education", gp=shading_hcl(CST17$observed, CST17$expected, ASR17, df=6, h=c(260,0), c=c(100,0), l=c(90,0)), labeling_args=list(rot_labels=c(25,90,0,0), offset_labels=c(1,0,0,2), offset_varnames=c(2,0,0,4), set_varnames=c(trade_off_scaled="Protecting The Environment Is More Important Than Creating Jobs", educ="Level of Education"))) ********************************* Simon J. Kiss, PhD SSHRC and DAAD Post-Do...
2006 Jan 27
1
monochrome mosaic plot in vcd package
...S[1:2]) term.2 <- gl(2,2,8, labels = LETTERS[3:4]) term.3 <- gl(2,4,8, labels = LETTERS[5:6]) cell.count <- c(72, 19, 5, 8, 117, 115, 81, 85) mosaic(loglm(formula = cell.count ~ term.1 + term.2 + term.3), shade = TRUE, gp = shading_hcl, legend = TRUE, labeling_args = list(rot_labels = rep(0,4)), gp_args = list(lty = 1:2),legend_width = unit(0.2, "npc")) ------------------------------------------------------------ Dr Michael Townsley Senior Research Fellow Jill Dando Institute of Crime Science University College London Second Floor, Brook House London, WC1...
2007 Oct 25
0
adjust labels in plot:terminal_panel {party}
...="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?
...els=c('female', 'male')), hair=factor(rbinom(100, 1, 0.5), labels=c('blonde', '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) ********************...