Displaying 20 results from an estimated 3000 matches similar to: "Failure to produce italics in jpeg"
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
2011 Feb 20
3
Partial italic in graph titles when looping
Dear all,
I have a rather complicated problem. I am trying to loop through making graphs,
so that the graph-making process is fully automated. For each graph, I'd like to
make sure the corresponding title is formatted properly. The titles will be a
combination of a gene name and numerical position within the gene. The gene name
should be italic-bold, whereas the gene position should be
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
2011 Mar 31
1
Italicized title from index
Hi all!
I've written a handy script that uses a for loop to allow me to generate a
large number of figures and statistical outputs for a large dataset.
I am using indexing to retrieve a species name for the title of my graphs-
which worked fine. However, I need to italicize these species names.
I originally used the paste function, and had no problems with indexing:
*main=paste("Yield
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck
Version: R version 2.1.0, 2005-05-14
OS: Windows XP
Submission from: (NULL) (216.59.254.207)
This code:
> plot(1:10)
> text(5,5,lab=expression(italic(22*"33")))
has the effect of italicizing 33 (which is a character string) but not 22
(which is not). I would have thought that both, not just 33, would be
italicized.
I had previously posted about this
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 "
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 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]]
2011 Jun 30
1
Italicized greek symbols in PDF plots
I know that this has been asked before in other variations but I just can't
seem to figure out my particular application from previous posts. My
apologies if I have missed the answer to this question somewhere in the
archives. I have indeed looked.
I am running Ubuntu 11.04, with R 2.12.1 and ESS+Emacs.
For journal formatting requirements, I need to italicize all the greek
letters in any
2011 Oct 19
1
Cairo creates italized plots?
Hi,
Has anyone else run into this weird behaviour where the text in the plots
created using Cairo are always italicized. For example,
library(Cairo)
Cairo(file='cairo_created', type='pdf', dpi=100)
plot(1:10)
dev.off()
This produces the following attached 'cairo_created.pdf' graph. Notice how
the text is italicized. The same code but using pdf() as the graphics
2010 Aug 01
3
Constructing arguments for plotmath
Colleagues,
I am encountering difficulty adding formatted text to a graphic. Specifically, I want to add a superscript in the middle of a text string but I would like to format the text string on the fly. The commands:
plot(1,1)
ARG <- bquote('TEXT'^'\u00ae')
mtext(ARG, line=-2, side=1)
yield the desired output.
However, my goal is to paste together a string, then pass
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();
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 Sep 13
4
lattice: Set x-axis in italics only
Dear list, I making some box-and-whisker plots in R with vertebrate
data. The x axis are species names that must be in italics. I tried
with the "axis" function but no luck, and it seems that affects both
axes.
Any tip?
Thanks a lot in Advance.
Alej
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
2023 Jun 08
2
need help with plotmath and/or plotting unicode characters
R 4.2.3
OS X
Colleagues
This should be easy -- but not for me.
I want to plot text similar to this:
N ? XX: YY
where XX can be either 1 or 50 and YY is an integer
I envision that there would be two solutions:
UNICODE: If I can generate "?" via unicode, the problem is solved:
mtext(side=3, paste0("N ", UNICODE, " ", XX, ": ", YY))
PLOTMATH:
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",
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
2010 May 16
1
Reading JPEG file, converting to HEX
Colleagues,
I am using R to assemble RTF documents (which are plain text). I need to embed a JPEG graphic that was created with R. I presume that the steps need to be:
a. read the file into R
b. convert the object to HEX format
c. write the converted object to a textfile.
If I read the file into R using readLines, I get the following (only the first 5 lines shown):
> >
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