search for: hersheysans

Displaying 11 results from an estimated 11 matches for "hersheysans".

2010 Jan 12
2
Placing eps files from R into Adobe InDesign documents: specifying fontfamily
...at looks like Courier, which significantly changes the physical length of each character string and disrupts the spacing and justification of titles, captions, and axis labels. The way I solved this problem is: 1. When you execute a graph in R, use the Hershey family of fonts. I particulary like HersheySans. You can specify the fontfamily for axes and strips and titles as shown in the example below. 2. Export the file in eps by right-clicking the on-screen display and selecting 'save as postscript'. 3. Place the file in InDesign using the usual command (ctrl-D) and selecting the file. You...
2005 Mar 09
4
Lattice device page options-margins
I am using lattice to make figures as pdfs: trellis.device(device = "pdf",file = "Figure6.pdf",color = FALSE) I need to specify some blank space on the left-hand margins (the pages will be bound so we need about 0.5 inch)). I have tried a number of solutions but none seems to work (e.g. par.set). Can this be done when initiating the plotting device? Or is the some other way
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
...tsize=10, compression = "lzw") plot(xyplot(Murder ~ Population | state.region, data = states, groups = state.name, panel = function(x, y, subscripts, groups) ltext(x = x, y = y, label = groups[subscripts], cex=0.5, fontfamily = "HersheySans"))) if(bitmap) dev.off() if(tiff) dev.off() } > R.Version() $platform [1] "x86_64-redhat-linux-gnu" $arch [1] "x86_64" $os [1] "linux-gnu" $system [1] "x86_64, linux-gnu" $status [1] "" $major [1] "2" $m...
2005 Feb 03
1
two issues
...key but when I print it the key only contains one symbol for both! here's the whole R code statement: dotplot(chemical~adjlogmle| convert*tdnew, data=allrisk , group=rodentx, main="Interspecies Conversion", pch=1:2, auto.key=TRUE, scales = list(tick.number=10), fontfamily = "HersheySans") Thanks, Dean Sonneborn M.S. Public Health Sciences * University of California, Davis 916 734-6656 * formerly Epidemiology & Preventive Medicine [[alternative HTML version deleted]]
2005 Feb 10
1
skip missing values in plots
...hics but how do I get this code to skip the missing? logreg<-read.csv("logreg.csv", header=TRUE, sep=",", na.string=" ") attach(logreg) bwplot(yesno~bc_pcb_tot |varlist, data=logreg, main="Box Cox PCB transformation", auto.key=TRUE, fontfamily = "HersheySans" ) Dean Sonneborn M.S. Public Health Sciences * University of California, Davis 916 734-6656 * formerly Epidemiology & Preventive Medicine [[alternative HTML version deleted]]
2010 Jan 15
1
What is the newline escape sequence when using the Hershey fontfamily?
...aracters. The sample I've been using to try to find the escape sequence is below. You can comment or un-comment the fontfamily line to turn Hershey on or off. xx <- c(1:10) yy <- c(11:20) xyplot(yy~xx, main=list("This title should\nhave two lines" # , fontfamily="HersheySans" ) ) Thanks, Douglas
2004 Sep 13
1
How to show the symbol of Angstrom ?
Also, I am wondering if there is any source where the expressions of many symbols are collected. Thanks you very much!!! Li, Xiang(Sean)
2005 Feb 03
0
two issues (black and white trellis graphics)
...key but when I print it the key only contains one symbol for both! here's the whole R code statement: dotplot(chemical~adjlogmle| convert*tdnew, data=allrisk , group=rodentx, main="Interspecies Conversion", pch=1:2, auto.key=TRUE, scales = list(tick.number=10), fontfamily = "HersheySans") Thanks, Dean Sonneborn M.S. Public Health Sciences * University of California, Davis 916 734-6656 * formerly Epidemiology & Preventive Medicine [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat....
2005 Aug 11
2
scatter plot
I'd like to do a simple scatter plot but instead of using the variable values on the X axis I would like to plot the percentiles. I searched in the manual for percentiles but did not find what I was looking for. I've been using SAS for several years but I new to R. -- Dean Sonneborn Programmer Analyst Department of Public Health Sciences University of California, Davis (916) 734-6656
2011 Jun 19
1
Accessor functions in lattice graphics
I know about the current.row, current.column, and panel.number functions that are useful within panel functions written for lattice. Are there easy ways to obtain the names of the conditioning variables (those appearing after |) and their values for the current panel? Thanks Frank ----- Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context:
2011 Jan 26
1
text labels in Trellis plot
Dear all, I need to generate plots in which the points of the plot are replaced by text labels, such as "dog" and "cat". The usual way of specifying the plotting symbol with pch works only if the labels are single characters, as far as I know. So, plot(runif(3), pch=c("A", "B", "C")) will work OK, but plot(runif(3), pch=c("dog",