search for: fontfac

Displaying 20 results from an estimated 64 matches for "fontfac".

Did you mean: fontface
2011 Mar 09
0
VennDiagram Bugs
....centres = c(y.centre.1, y.centre.2, y.centre.3), a.list = c(r1, r2, r3), b.list = c(r1, r2, r3), straight.reverse = TRUE, reverse = reflection, category = category, cat.default.pos = cat.default.pos, lwd = lwd, lty = lty, col = col, label.col = label.col, cex = cex, fontface = fontface, fontfamily = fontfamily, cat.pos = cat.pos, cat.dist = cat.dist, cat.col = cat.col, cat.cex = cat.cex, cat.fontface = cat.fontface, cat.fontfamily = cat.fontfamily, cat.just = cat.just, fill = fill, alpha = alpha, ...) 3: draw.120(a1, a2, a3, a4, a5, a6,...
2011 Oct 13
0
xyplot() and confidence interval polygons
...r palette (blue, red, green) pallc1 <- c("#2F54CB","#BE2C2C","#326C39") # Divide populations by 1000 data$est <- data$est / 1000 data$lci <- data$lci / 1000 data$uci <- data$uci / 1000 my.panel.bands <- function(x,y,upper,lower,subscripts, ...,font,fontface) { upper <- upper[subscripts] lower <- lower[subscripts] panel.polygon(c(x, rev(x)), c(upper, rev(lower)),col=fill,border=FALSE,...) } ptitle <- paste("Test Plot\n","Estimate vs Other Sources in Region",sep="") lp1 <- xyplot(data$ageband ~ dat...
2011 Jun 16
1
Placing Text on ggplot2 graphics vs. xyplot
...ays of: * Perusing Wickham's "gg2plot" book; * Searching his site for gg2plot and qplot; * Reviewing the "man pages" for gg2plot; * Searching the R archives. Problems are: * Translate the xyplot statement "xlab.top = c("long string", gpar(fontsize = 10, fontface = "bold x=0, y=-1, just = "left"))" to add a secondary x-axis to the top of my plot. (This may have something to do with "strip.text.x" but I just cannot make that work. Trying several alternatives I keep getting error messages related to "Error in...
2008 May 23
0
A problem about the Japanese font of OSX
...uot;,"b"),lwd=1,col=1:2) Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000014 0x900031c8 in strlen () (gdb) bt #0 0x900031c8 in strlen () #1 0x907bf19c in CFStringCreateWithCString () #2 0x0221bc58 in RQuartz_FindFont (fontface=-2147483648, fontfamily=0xbfffc3c0 "sans") at devQuartz.c:533 #3 0x0221bd0c in RQuartz_Font (gc=0xbfffc378, dd=0x17) at devQuartz.c:548 #4 0x0221c184 in RQuartz_Set (ctx=0x2155eb0, gc=0xbfffc378, flags=8) at devQuartz.c:623 #5 0x0221cc3c in RQuartz_StrWidth (text=0x1ff7e20 "a&quo...
2008 Jul 29
1
How to set the parameters in Trellis Graphics (by Lattice package)
...use the parameter xaxt="n", and then used axis to add the axis. But it seem useless in the grid graphics system. Then how can I do it? 2. How to change the margin of the figure? 3. Can I change the style of the figure like par in traditional system. For example, I want change all the fontface into bold. Now, I must change the fontface for every item by using command trellis.par.set() like this: trellis.par.set(list(par.xlab.text = gpar(font = 2), par.ylab.text = gpar(font = 2), axis.text = gpar(font = 2), add....
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
...x <- rep(c(.5, .7, .9, 1.1), 4) upper <- est + 1 lower <- est - 1 data <- data.frame(est = est, x = x, cond = cond, grp = grp, upper = upper, lower = lower) rm(est, cond, grp, x, upper,lower) panel.bands <- function(x, y, upper, lower, subscripts, col, ..., font, fontface) { upper <- upper[subscripts] lower <- lower[subscripts] panel.polygon(c(x, rev(x)), c(upper, rev(lower)),...) } xyplot(est ~ x | cond, group = grp, data = data, type = 'b', upper = data$upper, lower = data$lower, panel = function(x, y, ...){...
2013 Feb 11
2
how to make a median line thicker in bwplot (lattice)
Hello, I am drawing a boxplot using bwplot in lattice. I would like to learn how to draw a thicker median line instead of the default setting. Thank you. Code bwplot(........, pch=rep("|",2)) Elaine [[alternative HTML version deleted]]
2011 Jun 26
2
Only one strip with italic font.
...seq(0,10,5),4) logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5) microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6)) tratam<-factor(rep(c("t1","t2"),6)) xyplot(logCFU~t|microorg+tratam,type="p", strip=strip.custom(par.strip.text=list(fontface=c("italic","bold")))) Thank you for your help. Kenneth
2009 Apr 07
2
xyplot - label one line
...ss")), columns=2, corner=c(1,0)), scales=list(x=list(alternating=3),y=list(alternating=3)), panel = function(x, y, groups, subscripts, ...) { panel.grid(h = -1,v = 0) ##grid.text( unit( x, "native") , unit( y, "native") , ## label =y, gp = gpar( cex = 0.9, fontface="bold"), hjust=c(1,1), vjust=c(-1,-1)) panel.superpose.2(x = x, y = y, groups = groups, subscripts = subscripts,...)}, type = c("p", "o")) [[alternative HTML version deleted]]
2013 Feb 14
1
Alternate tick labels in xyplot
...age???? = function(n){ ???????????????????????? grid.text(LETTERS[j], ???????????????????????? y = 0.95, ???????????????????????? x = 0.15, ???????????????????????? default.units = "npc", ???????????????????????? just = c("left"), ???????????????????????? gp = gpar(fontsize = 12,fontface="bold") ) ?????????????????????? }, ??? par.settings = c(simpleTheme(lty=1:8, col="black",lwd=2),list(layout.heights = list(main = 1.2, ?????????????????????? sub? = 0, ?????????????????????? axis.top = 0.2, ?????????????????????? top.padding? = 0.1, ?????????????????????? bott...
2020 Mar 29
6
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Hi Thanks for your input on this I?aki and Nicolas. I am starting testing an R fix for this problem today. As suggested, the plan is to allow the R user to specify a font family other than "symbol" for plotmath output (or, more generally, in R parlance, for 'font=5' or 'fontface=5') on a Cairo-based graphics device. Paul On 27/03/20 11:30 pm, I?aki Ucar wrote: > On Wed, 25 Mar 2020 at 12:25, Nicolas Mailhot > <nicolas.mailhot at laposte.net> wrote: >> >> <snip> >> >> R brought this all on itself by hardcoding a Windows-only...
2018 May 02
1
get unicode ranges from a TTF ???
Hello list, Is there a command line tool I run on a ttf font and get a list of the Unicode Ranges for that that font that would be compatible with the unicode-range: parameter in a CSS @fontface declaration? I'm guessing something in the python world probably exists... Hopefully something that works in CentOS 7 I need something like that for a FLOSS font server project that doesn't track users. I don't feel a need to split up a font by unicode range, but a lot of fonts a...
2012 Jan 31
1
R help, labeling the tick marks as I want
...all respect to generality, could you please simply tell me the code to achieve this in the context of this problem? I learn programming by example and will not be able to understand this: ltext(x, y = NULL, labels = seq_along(x), col, alpha, cex, srt = 0, lineheight, font, fontfamily, fontface, adj = c(0.5, 0.5), pos = NULL, offset = 0.5, ..., identifier, name.type) Here's what I have: xyplot(share ~ ec, data=Cur, xlab="Years", ylab="Currency's Share of Nominal GDP (Currency/GDP in a given year)", main="The Share of Currency Over Time") whe...
2006 Oct 28
1
What determines the order of rows in a lattice barchart?
...t;-twater$Cat=="A" nm<-sort(rownames(twater)) z<-factor(nm,levels=nm) chart<-barchart(z~twater$Volume, xlab="Volume of Water '000 ML", main="Water Use In Australia for Food", scales=list(col='dark green', cex=1.2, fontface='bold', ), panel=function(x,y) { panel.barchart(x[!sel],y[!sel],col='blue') panel.barchart(x[sel],y[sel],col='red') }) pdf("Rplot-totalwater.pdf",height=4) plot(chart) dev.off() Volume, Cat, Source Agricult...
2010 Dec 07
2
tableGrob and properties of a cell
...to have different color for one out of 4 cells require(gridExtra) z<-matrix(1:4,2,2) grid.draw(tableGrob(z)) The only way I found for now how to do it is to do something like this downViewport(current.vpTree()$children[[1]]$children[[6]]$name) grid.text('2',gp=gpar(col='red',fontface='bold')) But for some reasons when I try to print the table into jpeg the last grid.text() prints desired label text somewhere but not in the place I want it to be. Is there another more "smart" way to do it? Thanks in advance! Kind regards, Alex
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?
2004 Jul 30
1
plot(x,y) core dump
...if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc)))) return NULL; /* From here on, if we need to bail out with "error", */ /* then we must also free(xd). */ /* Font will load at first use. */ if (ps < 6 || ps > 24) ps = 12; xd->fontface = -1; xd->fontsize = -1; xd->basefontface = 1; xd->basefontsize = ps; xd->handleOwnEvents = FALSE; xd->window = (Window) NULL; return(xd); } However I got core dump while I try to use plot() from R: R : Copyright 2004, The R Foundation fo...
2006 Aug 01
1
R crashes using pdf() windows() or postscript()
...label, figurename="figure", figurepath=getwd(), box.gpar=gpar(fill=rgb(red=51, green=51, blue=204, maxColorValue = 255), col=rgb(red=128, green=128, blue=128, maxColorValue = 255), lwd=2), text.gpar=gpar(col="white", fontface="bold", fontsize=14, cex=1, fontfamily="sans"), type="pdf") { setwd(figurepath) if(type == "win"){ windows(width=1.4, height=0.5) } else if(type == "pdf"){ pdf(file = paste(figurename, ".pdf", sep=''), w...
2020 Mar 30
3
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...gt; > > > I am starting testing an R fix for this problem today. > > > > As suggested, the plan is to allow the R user to specify a font family > > other than "symbol" for plotmath output (or, more generally, in R > > parlance, for 'font=5' or 'fontface=5') on a Cairo-based graphics device. > > > > Paul > > > > > > On 27/03/20 11:30 pm, I?aki Ucar wrote: > >> On Wed, 25 Mar 2020 at 12:25, Nicolas Mailhot > >> <nicolas.mailhot at laposte.net> wrote: > >>> > >>> <s...
2020 Mar 30
1
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...gt; > > > I am starting testing an R fix for this problem today. > > > > As suggested, the plan is to allow the R user to specify a font family > > other than "symbol" for plotmath output (or, more generally, in R > > parlance, for 'font=5' or 'fontface=5') on a Cairo-based graphics device. > > > > Paul > > > > > > On 27/03/20 11:30 pm, I?aki Ucar wrote: > >> On Wed, 25 Mar 2020 at 12:25, Nicolas Mailhot > >> <nicolas.mailhot at laposte.net> wrote: > >>> > >>> <s...