Displaying 20 results from an estimated 8000 matches similar to: "legend font"
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 "
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:
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
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
2013 Jan 23
1
italic font for legend text when using expression function for symbols
Hello,
I'm trying to add a symbol (Delta) to plot legend with text using
"expression(paste())" but this disables the text.font that allows to use
bold or italic text.
as follows:
x=c(1:10)
y=c(1:10)
plot(x,y)
legend(1,10,legend=c("A","B","C",expression(paste(Delta, D))),
pch=c(24,18,17,16),cex=2,text.font=3,bty="n")
Any suggestion to
2011 Jul 10
3
change legend character size in image.plot
I'm using the image.plot() function (fields package), but I want to enlarge
the characters of the legend (as they are too small to be read in a combined
figure), but there is no way I can find a command to do this. I can enlarge
the legend bar (with legend.witdh), axis character size (cex.axis) or the
total legend size (legend.shrink), but not the character size of the legend
characters
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
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
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)))
>
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
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 Jul 18
3
Change font-face in title
Dear List,
Is there a possibility to change the font-face for a part of the title
of a plot?
For example I have the following...
plot(nirs, type="l", xlab="Wellenl?nge [nm]", col="darkslategray",
main = "Spektrum Deschampsia caespitosa")
...and I would like to change the part of the title-string "Deschampsia
caespitosa" to italics? Is
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
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
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 Jul 13
1
Smart legend ???
Hi, all:
Is there an automatic smart legend for R?
Since my R code is running in a row, which will produce a bunch of R plots
in a single run, some of the produced plots are really "ridiculous".
Because my legend is fixed to "topleft", sometimes, which occludes the key
parts of the figure/plots, but most of the time, the legend works just fine.
I'm wondering is there a
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
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:
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all,
I have the following problem: Since R 3.4.0, italic fonts rendered on
Cairo devices appear pixelated. Here's a minimal example:
cairo_pdf('test.pdf')
plot(1:10, ylab=expression(italic(test)))
dev.off()
The same problem occurs with bolditalic, but not bold. I am using Debian
Stretch. Several friends tried the same on their machines, another
Debian machine has the same
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all,
I have the following problem: Since R 3.4.0, italic fonts rendered on
Cairo devices appear pixelated. Here's a minimal example:
cairo_pdf('test.pdf')
plot(1:10, ylab=expression(italic(test)))
dev.off()
The same problem occurs with bolditalic, but not bold. I am using Debian
Stretch. Several friends tried the same on their machines, another
Debian machine has the same