similar to: problem with axis labels

Displaying 20 results from an estimated 7000 matches similar to: "problem with axis labels"

2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi, I'm trying to get the correct font used when generating italic text in an R grahic. I have a set of labels that print correctly except it seems the italic text is justr a slanted version of the TeX computer modern normal font... I'm using R v1.8.1 on Windows XP, and I get the same result if I build the pdf using Adobe Acrobat or using MikTeX The labels:
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
2011 Jul 08
1
lattice: How to vertically adjust an axis label?
Dear expeRts, How can I vertically adjust an axis tick label so that it is nicely aligned with the other labels? library(lattice) xyplot(0~0, xlim=c(0,3), scales=list(x=list(at=c(1,1.1), labels=c(expression(hat(theta)[italic(n)]),expression(theta))))) ## aim: move the leftmost expression up so that theta is nicely aligned with the second theta. Cheers, Marius
2009 Jun 02
1
lattice: horizontal alignment of labels in key
Dear R users I have problems horizontally aligning labels in keys of lattice plots when the labels make use of plotmath. Here's a self-contained example: dat <- data.frame(x = rnorm(10), y = rnorm(10), z = factor(rep(c("a", "b"), each = 5))) xyplot(y ~ x, dat, groups = z, auto.key = list(columns = 2, text =
2011 Jul 29
2
Changing font type within y axis labels
I wish place the following axis label in such a manner that some of the text is plain and the scientific name is in italics (i.e. a mixture of two font types) Using plot: mtext("Total Landings of Pecten maximus (tonnes)",font,=3, side=2, line=3) makes everything italic, but how do I apply the font change to only "Pecten maximus"? Rgds Phil
2006 Aug 14
1
mtext uses the typographical descender to align text
<> Hello One sometimes (quite often really ) marvel at the choice of defaults in R's graphic engine. For some obscure reason, mtext uses the typographical descender (bottom of letters) to align text. That is: "gG" will end up slightly higher that "GG". Depending on the font, "Q" might end up higher than "O". (for explanation of baseline
2010 Jan 23
1
Failure to produce italics in jpeg
Colleagues, Using R 2.10.1 in OS X (Snow Leopard), I created JPEG documents that were intended to include italicized text. In the JPEG versions, the italics appear in bold-face. The identical code (except for the call to the device) yields italics in PDF. A minimal example is: PDF version: > pdf("plot.pdf") > plot(1,1) > mtext(bquote(italic(P) < .(0.005))) >
2011 Jun 21
2
Italicize Greek symbols in axis
Hello there, Is there any way to italicize Greek symbols such as mu in axis? From the help files of mathematical anotations: "Note that bold, italic and bolditalic do not apply to symbols, and hence not to the Greek symbols such as mu which are displayed in the symbol font. They also do not apply to numeric constants.", it seems that it cannot be done. Thanks, Bingzhang Chen
2005 Jun 22
1
How to use expression in label with xYplot
Dear R-List, I want to use the label function (from Hmisc library) to allow for the names of my isotopes. library(Hmisc) library(lattice) library(grid) num <- c("78","137","129m") nom <- c("Ge","Cs","Te") df <- data.frame(GE78=seq(nom),CS137=seq(nom),TE129m=seq(nom)) if I use this function to create the labels : lab <-
2013 Jan 03
1
two lines in axis title combined with 'substitute' command
Hello, I want to have the x-axis title of my plot in 2 lines, centered: experiment 1: log2(Ratio H/L) I know that in principle that works with '\n'. However, I am also using the 'substitute' command for my axis title. However, it does not make a new line. What I have so far: logbase <- 2 test <- "bait" cellline <- "cellline" plot(
2005 Jan 18
4
embedding fonts in eps files
Hi, I have to make eps files with fonts embedded. I use the following postscript command: postscript("fig3a.eps", width = 5.2756, height = 7.27, pointsize = 7,horizontal = FALSE, onefile = FALSE, paper = "special",family = "Times") plot(...) dev.off() Are fonts automatically embedded in this way? How can I see that? If not, how to do it? regards, Rudi.
2011 Dec 09
1
Align expression and text in mtext()
Dear R-helpers, I have trouble aligning an expression with a subscript, and text, in margin text: par(mar=c(6,6,1,1)) b <- barplot(1:3) mtext(c("A","B","C"), at=b, side=1, line=1, cex=1.3) mtext(expression(italic(C)[a]~(more~text)), at=0, line=1, side=1,cex=1.3) As explained in the help files and elsewhere, I understand that the expression is aligned by the
2001 Jun 14
2
haerdle package
Hi, Can anyone tell me what's wrong with the function below (I'm new to R) generator <- function(n, seed) { .Random.seed <<- seed data.1 <- rnorm(n)-1 data.2 <- rnorm(n)+2 data.3 <- runif(n) <= 0.6 data <- data.1*data.3 + data.2*(1-data.3) data } seed <- c(61,40,6,40,55,2,44,30,20,56,41,1) dat.mixed <- sort(generator(100,seed)) Error
2011 Jul 03
1
using Arial font
To whom it may concern, I am e-mailing you concerning the use of Arial Font in the program R and I am using a mac. I am trying to create graphs in R and the publisher I wish to publish an article with needs the font to be Arial. I have tried looking around to find out how to do this with no luck and must help on the topic is geared towards Linux users - the only help available is from the PLoS
2008 Oct 03
1
How to mix different font styles in axis label of lattice plot?
Hello, I have a y-axis label that reads: "S. schenckii yeast cells". The part that reads "S. schenckii" needs to be in italic style, the rest of the text is normal style. How can I specify the different font styles for each part of the y-axis label? Thank you, Judith
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
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: