Displaying 20 results from an estimated 1000 matches similar to: "Correct Computer Modern font in postscript(..) output"
2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
Hi
First off, thanks to all the various R developers, your package is very
impressive.
I'm not sure what the protocols are for contributing, and I've not done this
before, so please excuse nay obvious errors or oversights... Also I'm by no
means an R,TeX/LaTeX, or typesetting expert, I have largely stumbled my way
to this point.
Objective: I'd like to get R postscript(...) to
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
I'm running Ubuntu 9.04. I could use some advice about fonts in
postscript devices.
> sessionInfo()
R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base
2008 Jan 15
1
using LaTeX-fonts with R
Hi,
I try to use the sfrm1000.pfb Type-1 font with my postscript plots. When I
add family=CM to the postscript() command the output is empty. What am I
doing wrong?
# define font
CM <- Type1Font('ComputerModern', # font ID
c(file.path(getwd(), c('sfrm1000.afm', '', '', ''))), # font metrics
encoding='AdobeStd');
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output
from R, but I have run into a few problems and limitations. I did read and
follow the instructions in the documentation.
The first problem is that R sometimes needs to use a minus sign in the
text in plots, but the non-symbol computer modern fonts contain only a
hyphen. There is no way that I can find to tell R to use a
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output
from R, but I have run into a few problems and limitations. I did read and
follow the instructions in the documentation.
The first problem is that R sometimes needs to use a minus sign in the
text in plots, but the non-symbol computer modern fonts contain only a
hyphen. There is no way that I can find to tell R to use a
2005 Dec 04
1
font inclusions in pdf files
I am stumbling into external font issues here and there. I presume using
external lucida fonts is fairly rare, so I am more likely to stumble onto
issues here. (of course, I often think I have stumbled onto bugs/features
that are not.) So, I hope I am not imposing by reporting the following.
[1] can R please not include fonts that it is not using?
luafmfiles <-
2009 Aug 12
2
Plotting sigma symbol with unicode and turning into pdf
Paul,
You solution worked out really well when I ran my code in R. However, when I try to turn the plot into a pdf, the unicode string no longer seems to function and instead of the sigma symbol there are just two periods (See example code below).
The following is the code working in the R environment just like I want it to look:
set.seed(1)
Data=rnorm(100,sd=10000)
plot(density(Data))
2007 Nov 18
1
Exporting a plot with the LaTeX font lmodern
Dear All,
I would like to export, as a pdf file, a plot with the LaTeX font
lmodern as the font of my graph. Could somebody please help me?
Thanks in advance,
Paul
2006 May 04
1
plot greek letter in italic
Hi,
Could someone please let me know how to plot greek letters in italic.
text(0,14,expression(italic(rho)[italic(f)])) only plots the f in italic and
text(37,40,expression(italic(rho))) doesn't plot rho in italic.
I have checked demo(plotmath), ?plotmath, FAQ, and the archives
2004-2006 without finding the answer.
I'm using R 2.1.1. and Windows XP.
Thanks!
Tord
--
Tord Sn?ll
2010 Nov 26
1
How to use expression(italic()) in a "vectorized" way (within a function)?
Dear expeRts,
I would like to use expression() for creating labels in a splom, as shown in the
first minimal example below. Is there any way I can simplify having to write
"expression(italic(...))" several times?
The second example is what I tried so far, but I can't manage to get italic() to
work. Moreover, it still seems bulky...
Cheers,
Marius
## minimal example (working but
2014 Dec 12
3
Aw: Re: Re: rsync not copy all information for font file
what is the source and destination filesystem?
here is some report that rsync has some problem with HFS+ filesystems and "ressource forks": http://quesera.com/reynhout/misc/rsync+hfsmode/
but as you are using ubuntu and not osx i`m curious what`s the problem, so i think we need more information here.
regards
roland
> Gesendet: Freitag, 12. Dezember 2014 um 15:31 Uhr
> Von:
2005 Jun 06
2
How to vectorize
Dear R-List,
I would like to write nicely the names of some isotopes on a plot. The
code bellow works fine.
plot(1:10,1:10)
text(c(2,4,8),c(2,4,8),labels=c(expression(italic(phantom(0)^{78}*Ge)),
expression(italic(phantom(0)^{137}*Cs)),
expression(italic(phantom(0)^{129*m}*Te))),
cex=3
)
But, since I have a lot of
2005 Jun 06
2
How to vectorize
Dear R-List,
I would like to write nicely the names of some isotopes on a plot. The
code bellow works fine.
plot(1:10,1:10)
text(c(2,4,8),c(2,4,8),labels=c(expression(italic(phantom(0)^{78}*Ge)),
expression(italic(phantom(0)^{137}*Cs)),
expression(italic(phantom(0)^{129*m}*Te))),
cex=3
)
But, since I have a lot of
2010 Jun 30
2
plain text in Chinese can not be set
Hi there,
According to ?par, 'font' is an integer which specifies which font to
use for text, that 1 corresponds to plain text (the default), 2 to bold
face, 3 to italic and 4 to bold italic.
When I test Chinese character in pdf(), I found that 1 to bold face, 2
to italic, 3 to bold italic, 4 to symbol. and I don't find how to set
plain text. In the following code, the font to use
2004 Apr 08
2
lines and glm
Dear R-helpers,
I'm a beginner using R 1.8.1 on Windows 2000. I'm trying to replicate some
examples in Franses' & Paap's Quantitative Models in Marketing Research.
> t <- 1:1000
> e1 <- rnorm(1000)
> e2 <- rnorm(1000)
> x <- 0.0001*t+e1
> y2 <- -2+x+e2
> y <- ifelse(y2>0,1,0)
>
> plot(x, y, pch = 16, col = "darkblue",
+
2008 Sep 01
1
linebreak in mathematical anotation?
Hi
I am using mathematical anotation to make the labels in a barplot in
italics. as an example (adapted from
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/129808.html):
tt <- c("italic(First~~set)", "italic(Second~~set)", "italic(third~~set")
barplot(1:3, names.arg=parse(text=tt))
But I would like to have it with "set" in a second column, like
tt
2011 Apr 06
7
Quiz: Who finds the nicest form of X_1^\prime?
Dear expeRts,
I would like to create a plotmath-label of the form X_1^\prime. Here is how to *not* do it [not nicely aligned symbols]:
plot(0,0,main=expression(italic(X*minute[1])))
plot(0,0,main=expression(italic(X[1]*minute)))
plot(0,0,main=expression(italic(X)[1]*minute))
Any suggestions?
Cheers,
Marius
2013 Apr 01
3
expression
Hi all,
I´m using
titt<- expression(paste("R con ventanas de 200 ", italic(datos)))
And it works properly on a plot(...,main=titt,..)
But if I want to add an improvement to avoid typing n on the plot so that
n<-200
titt<- expression(paste("R con ventanas de ",n, italic(datos)))
It doesn´t recognize that n is a "variable" and adds "n" letter
2011 Feb 08
1
Mixed font type in plot title
Hello useRs,
I'm trying to put italics and regular font into a title and am having
some trouble. The title I would like is " /Q. marilandica/ Volume ".
If I use
main=bquote(italic( "Q. marilandica ", " volume"))
I get just " Q. marilandica " in italics in the title.
If i use
main=bquote(italic( "Q. marilandica ,) volume")
I get "
2009 Jul 02
2
Computer Modern
I am trying to use computer modern fonts in postscript files for a latex
document. Ultimately I want to automate this through sweave. I've read the
documentation ans have tried the following code to use lattice to produce a
graph using computer modern:
library(lattice)
library(grid)
testPlot=(
xyplot(seq(1:10) ~ seq(1:10),
main="one to ten",