similar to: lattice: Set x-axis in italics only

Displaying 20 results from an estimated 6000 matches similar to: "lattice: Set x-axis in italics only"

2008 Feb 16
1
How to use a reserved word in italics in an expression
Dear R-helpers, > label2 <- expression(paste(italic(attraction function:), 'slope')) Error: unexpected 'function' in "label2 <- expression(paste(italic(attraction function" How do I tell R that in this case I don't want 'function' to be treated as a reserved word but as a string in italics? _____________________________ Professor Michael Kubovy
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))) >
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong Version: 2.8.1 OS: Mac OS X 10.4 Submission from: (NULL) (78.149.167.246) When printing a plot to and svg file, text intended to be in italics is rendered in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9. For example, try viewing the test.svg file generated by svg("test.svg", width=4,4,8) plot.new();
2009 Oct 06
1
italics help in plot
Part of my script reads: speciesName <- names(data)[i] plot(year,depth, xlab="Year", ylab="Depth(m)",main=expression(italic(paste(speciesName))) ) Unfortunately, this just plots *speciesName *on my graph, not the name of the species in italics. Any suggestions on how to resolve this? Thank you Jacob [[alternative HTML version deleted]]
2001 Aug 01
1
italics and not in main=
R 1.3.0, windows I've checked archives, and examples in text, mtext, and title. I am trying to include italicized text in the main title of a figure: ...., main = "[italics here] species name [italics stop] more plain text" TIA, Henry ***************************** Martin Henry H. Stevens HStevens at muohio.edu tel: (513) 529 - 4206 FAX: (513) 529 - 4243 338 Pearson Hall Botany
2008 Jun 02
1
Italics in plot main title
Hi, I am drawing several plots and want to have italics in a main title; this is easy with expression(). However, I want also to add a value to it, say n_i, that depends on an ith plot. For this I am using paste(). An example: n_i = 10, 20, 30; I want to draw a plot for each i with the title: "Relative efficiency for sample size n = n_i", where n should be in italics, and of course n_i
2007 Mar 18
2
italics letter in roman string
Hi, As part of the legend to a plot, I need to have the "n" in italics because it is a requirement of the journal I aim to publish in: "This study, n = 3293" Presently I have: legend(20, 105, "This study, n = 3293", pch=1, col=rgb(0,0,0,0.5), pt.cex=0.3, cex=0.8, bty="n") I suppose I could leave a blank in place of the "n",
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
2008 Aug 07
1
Mtext doesn't display characters in italic when I use a greek symbol
Following on from my previous mail! plot(1:10,1:10) mtext("title", side=3, adj=0, font=3, cex=1.5) This works as expected and puts the font in italics. tag <- "A)" suffix <- "genea::" plot(1:10,1:10) mtext(bquote(.(tag) ~ Delta * .(suffix)), side=3, adj=0, font=3, cex=1.5) Here, the font isn't in italics, it's normal. I presume this is some
2006 Apr 28
6
Emphasis or Italic?
What's the difference between: <em>emphasis</em> and <i>italicized</i> and <strong>strong</strong> and <b>bold</b> It seems to subtle for my browsers. The only "difference" I've been able to find is that according to the O'Reilly book <strong> and <emphasis> are semantic tags, while <b> and <i>
2009 Nov 23
1
Different fonts on the same axis
Hi, I need to have both italics and standard font on the y axis. This is my script: plot(x,y,pch=16,xlab="metric",ylab="species CPUE") I want species in italics and CPUE in standard text. Any tips would be appreciated. Thanks. -- View this message in context: http://old.nabble.com/Different-fonts-on-the-same-axis-tp26482460p26482460.html Sent from the R help mailing list
2006 Jun 30
2
underscore and italic policy
Hi All, So I just joined the list - first off, Markdown is a great format and we're using it in our online community project disCourse: http://discourse.ics.hawaii.edu We're using markdown for our wiki pages, stories, message postings, pretty much everywhere. One markdown policy that doesn't seem to fit intuitively for our users is the fact that embedded underscores leads to
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 "
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
2009 Sep 26
1
Mixed font in lattice xyplot lables
Hi all, can anyone suggest a reason as mto why my xlab is plotting this text at oposite ends of axis. I would like to represent my lable like this: Moran's I ...but with the I in italics. For some reason they seperate and position at oposite ends of the axis?? Thank you library(lattice) dat <- data.frame(x = rnorm(10),y = rnorm(10)) xyplot(y ~ x, dat,xlab=expression("Moran's
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:
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
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 Aug 11
2
Varying x-axis labels in lattice
Dear Group: I want to use lattice with a formula such as y ~ x | v to plot a data frame in which v varies to indicate which "x" is really being plotted. I know how to make the x-axis scales vary with the panel but is it possible to let the x-axis label vary, i.e., to let the user specify a vector of x-axis labels? Thanks Frank -- Frank E Harrell Jr Professor and Chair
2004 Oct 16
1
problem with axis labels
Dear R users, Below are some R commands which produce a y-axis label that is not wholly in the viewing area of the eps file (or the x11 window). I have tried experimenting with the postscript bounding box, and using such R commands as over(phantom(0),...) but I make the whole y-label visible. Does anyone have any suggestions for how I may fix this. (Please CC mailing list email to p.stansell