similar to: Changing expression font

Displaying 20 results from an estimated 20000 matches similar to: "Changing expression font"

2008 Aug 18
2
changing plot font for Times new roman
Dear all, I know that it is a know issue, but I would like to change the type of font on my plot, and I am not sure the rigth way. I would like to use Times New Roman font, but according to the "par()" help, some device allow we choose an family of fonts. I tryed par(family="times") without success. Surfing on R archieve I got an suggestion of use par(font.lab=6), but when I
2008 Jan 22
2
X11 font at size 6 could not be loaded
I recently upgraded my OS to Fedora 8 from Red Hat Enterprise Work Station 3. Before I upgraded certain operations would produce a warning to the effect that a desired font was not available so one had been substituted, which was okay. After the upgrade to Fedora 8, the plotting operation halts midway through and I get the following error message: "X11 font at size 6 could not be loaded"
2006 Apr 14
5
UTF8 letters are imaged incorrectly (PR#8770)
Full_Name: Mikhail Bocharov Version: 2.2.1 OS: Linux Submission from: (NULL) (62.148.130.28) Cyrillic UTF8 letters are imaged incorrectly Sorry, but English is not my native language My operating system is Gentoo-linux. Now i want get the gparhics with russian title for example: plot(1:20, type='l', main='Утечка')
2013 Apr 04
1
X11 font -adobe-helvetica size 15 could not be loaded
HI All, I got this Error message, when I tried to plot ?X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 5 at size 15 could not be loaded sessionInfo() R version 3.0.0 (2013-04-03) Platform: x86_64-unknown-linux-gnu (64-bit) locale: ?[1] LC_CTYPE=en_CA.UTF-8?????? LC_NUMERIC=C????????????? ?[3] LC_TIME=en_CA.UTF-8??????? LC_COLLATE=en_CA.UTF-8??? ?[5] LC_MONETARY=en_CA.UTF-8???
2012 Jun 04
1
X11 font error on headless server running Xvfb
I am trying to run an R script to create a .png file containing a tree map on a headless Linux server using Xvfb. When I try to run tmPlot, I get the following errors and warnings: Error in grid.Call(L_textBounds, as.graphicsAnnot(x$label), x$x, x$y, : X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 9 could not be loaded Calls: tmPlot ... <Anonymous> ->
2005 Nov 16
2
Histogram font
The hist() command produces this message on my machine... Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : X11 font at size 14 could not be loaded How can I either (a) determine what font is required, or (b) specify one of the fonts I have available? This problem is specific to hist(), plot() works fine. I am using R on SuSE Linux v9.3, from the KDE desktop.
2008 Jul 22
1
determing font type in expression
Dear R-Maillist members, I would like to label the y-axis of a plot with a mathematical expression "sed.rate mm a-1", where the "-1" is printed subscript. I am using font.lab=15 for the x-axis. However, when plotting the y-axis with the expression-function it appears in a different font. Does anybody knows how to use font.lab=15 in the expression as well? Cheers Thomas
2012 Apr 27
1
expression() and font.lab ?
Hi.. I managed to use expression() for superscripting and subscripting values in my axis labels. However, I notice that the font and style that I had passed through par() are ignored. I used : par(font.lab=2, font=2, family="sans") but when I employ expression() for my xlab, the styling given above is completely ignored. I would greatly appreciate it if someone knew of a method of
2007 Apr 05
1
R 'could not find any X11 fonts'
I'm having this problem - and I have seen earlier post on the same problem - but the solutions either do not work for me or (being fairly new to linux) I do not understand the suggested actions. So here goes: Whenever I try to add a 'main' title R responds with an error that it can't find any X11 fonts. ### Very basic examples ### # 1. No error (a scatterplot x=1:10 and
2007 Oct 30
3
strwidth of bold font
Hi! Is there a way to get the string width of the bold typefaces? like: strwidth("text", family = "serif", font = 2). Thanks Roland
2007 Aug 08
1
Changing font in boxplots
Hi all, I am very new to R and this might be a simple question but I have looked everywhere you suggest before writing to you. I am trying to change font type from san-serif to a serif (Times New Romans) on all labels and axis of my boxplot. I have used this function in other plots before, e.g.: plot(residuals~lnlifespan, data=mydata, pch=psymb, font=6, xlab="ln reproductive
2007 Mar 01
2
setting font in plots
Dear Reader I am trying to change the font in a plot and after several trials finally came up with the following code. plot(var_a, var_b, pch = 16, font.lab = 10, font = 10) points(var_a, var_c, pch = 3, font = 10) legend(0.1, 0.8, legend = c(?var_b?, ?var_c?), pch = c(16,3)) It does change the font in the plot (Courier), but not in the legend that does not accept the "font = ..."
2004 Dec 20
1
mono fonts (was RE: RE: [R] SAS or R software)
Ah, I'm using Exceed Hummingbird 7.1 as the X server.... It does have fixed width fonts, and it is happy with variable width fonts up to this extreme .... A little more fiddling shows that this succeds with a linux based X11 server, and that even plot(1,1) par(family="mono",cex=8) text(1,1,"foo") segfaults. I've tested values of cex. Anything above 2.1249
2007 Sep 12
2
Font problem (PR#9906)
Full_Name: M. Mu?oz M?rquez Version: 2.3.1 OS: Ubuntu Submission from: (NULL) (150.214.231.66) Here is the reply to the edit command using gnome > edit(data.frame()) Erro en dataentry(datalist, modes) : invalid device Adem?s: Warning message: unable to create fontset -*-fixed-medium-r-normal--13-*-*-*-*-*-*-* > Sys.getlocale() [1]
2012 Jun 08
2
changing font to italic for one entry in legend()
Hello, I need to change the font for one of the items (C. elegans) in my legend to italic. Can someone suggest how to accomplish this? legend('bottomright', bty='n', c('C. elegans range', 'Study area'), cex=0.8, fill=c('light gray', 'white'), border=c('black','black')) I tried using lab.font=c(1,3) but R ignored and did not write
2007 Mar 08
1
Some problems with X11
Hi, I am really new with R, so I don't know anything about it. I have written a script (attached) which tries to do really basic stuff (such as computing basic statistics and basic plots). When I try to plot a histogram and pairs, for example, I get the following message: > source("project.R") Loading required package: sp
2009 Oct 19
1
How do I wrap a long mixed text/math expression in an axis label?
I would like to wrap a y-axis label onto two lines. My label is an expression containing both text and math symbols. I have looked at plotmath, strsplit(), strwrap(), deparse(), do.call(), substitute() and bquote(). Based on previous posts, I can get plain text to wrap. However, when I try these methods on my label, the exact string is returned, rather than evaluating the math symbols. My
2011 Jan 27
2
pdf greek letter typos
Hi there, yet on the topic of greek letters and pdf plotting: when I run the following code pdf(file="temp.pdf") mu=seq(from=-pi, to=pi, length=100) plot(mu, sin(mu^2), type="l", xlab=expression(mu%in%(list(-pi,pi))), ylab=expression(sin(mu^2)), main=expression((list(mu,sin(mu^2))))) dev.off() I get a "proportional to" symbol in place of a
2008 Apr 08
2
plotmath "overstrikes" in output on a Linux system
I've been testing plotmath. But I'm getting some funny output one one computer. The problem is that characters are 'jumbled' and overstrike when symbols are introduced. Sample code: mu <- 440.0 sigma <- 12.5 myx <- seq( mu - 4*sigma, mu+ 4*sigma, length.out=500) myDensity <- dnorm(myx,mean=mu,sd=sigma) # Here's one way to retrieve the values of mu and sigma and
2009 Aug 06
1
Using system fonts in MacOS
Dear r-help, I am using R for MacOS (R 2.9.1 GUI 1.28 Tiger build 32-bit (5444)) and would like to be able to use MacOS system fonts for the labels on my plots. So far I have been unsuccessful, to get this to work. Reading the help I found the quartz() and quartzFonts() commands. In an attempt to set the font family I have tried this, quartz(family="Times-Roman"), and also