Displaying 20 results from an estimated 6000 matches similar to: "italic font for legend text when using expression function for symbols"
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
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
2017 Jul 07
2
italic font on cairo devices in R 3.4
Hi Ilia,
I'm running Arch Linux, R 3.4.0.
Here's my test.pdf from your minimal example: https://ptpb.pw/HxsA.pdf
It doesn't look pixelated to me...
Here's a post that I wrote when I solved my last font problem in R,
almost 2 years ago:
https://stackoverflow.com/a/40940331/5087283
I had to install some Microsoft font packages, which is sad, because
there are some perfectly
2017 Jul 07
2
[Rd] italic font on cairo devices in R 3.4
Hi Ilia,
I'm running Arch Linux, R 3.4.0.
Here's my test.pdf from your minimal example: https://ptpb.pw/HxsA.pdf
It doesn't look pixelated to me...
Here's a post that I wrote when I solved my last font problem in R,
almost 2 years ago:
https://stackoverflow.com/a/40940331/5087283
I had to install some Microsoft font packages, which is sad, because
there are some perfectly
2003 Jul 21
2
bold AND italic as font in text()
Dear all,
Is it possible to somshow plot text as italic AND bold. I tried font=c(2,3)
in text(), but it doesn't work. It seems like the latter value is used.
Thanks in advance!
Sincerely,
Tord
-----------------------------------------------------------------------
Tord Sn?ll
Avd. f v?xtekologi, Evolutionsbiologiskt centrum, Uppsala universitet
Dept. of Plant Ecology, Evolutionary Biology
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 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
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:
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
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
2014 Dec 12
3
rsync not copy all information for font file
Good morning list,
this is my first question and hope really to get an answer, sorry for my bad english :-(
Ok so i have a machine with ubuntu and use as data server for my graphics works.
Now i am trying to backup my folder on an external HDD using "rsync" where i save all my data file (file of graphics software, image, font etc.).
For this i mount HDD in local and launch command
2011 Jun 26
2
Only one strip with italic font.
Hi R users:
How can I obtain an italic font only
for one of the two strips in a xyplot?
library(lattice)
t<-rep(seq(0,10,5),4)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6))
tratam<-factor(rep(c("t1","t2"),6))
xyplot(logCFU~t|microorg+tratam,type="p",
2014 Dec 15
2
rsync not copy all information for font file
Hi Bryan,
thanks for your kind reply but it happend only with some fonts not all font file, (email with attachment is under verification by admin, so i resend this without attachment file) here i attach 2 screenshot one original folder and second backup folder, you can notice that the font .otf, .ttf, .dfont have no problem in rsync it copied as it is but the font that not show extension (Font
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
Interesting. I did not have the package installed, but I did at some
point extract Helvetica from some MacOSX font files and R was using that
just fine until 3.3. This is how the plot looks in 3.4 (still using
Helvetica): https://ptpb.pw/HikX.pdf . After removing Helvetica,
installing the ttf-mscorefonts-installer package, and running fc-cache
--force the plot looks like this:
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
On Fri, Jul 07, 2017 at 07:08:52PM +0200, Ilia Kats wrote:
> Interesting. I did not have the package installed, but I did at some point
> extract Helvetica from some MacOSX font files and R was using that just fine
> until 3.3. This is how the plot looks in 3.4 (still using Helvetica):
> https://ptpb.pw/HikX.pdf . After removing Helvetica, installing the
> ttf-mscorefonts-installer
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
2012 Nov 13
2
Tukey test for subgroups in a data frame
Hello,
I have a data frame with the following columns: "date","name","value"
the name is the same for each date
I would like to get TukeyHSD p-value for the differences of "value" between
"name"s in each "date" separately I tried different ANOVA (aov()) but can
only get either tukey by "name" or by "data" but not
2012 Apr 27
1
expression() and font.lab ?
Hi..
I managed to use expression() for superscripting and subscripting values in
my axis labels. However, I notice that the font and style that I had passed
through par() are ignored.
I used :
par(font.lab=2, font=2, family="sans")
but when I employ expression() for my xlab, the styling given above is
completely ignored.
I would greatly appreciate it if someone knew of a method of
2017 Jul 08
1
[Rd] italic font on cairo devices in R 3.4
Hi Ilia,
You may want to have a try of the showtext package
(https://github.com/yixuan/showtext). Below is a quick example:
library(showtext)
showtext.auto()
pdf("test.pdf")
## Use the "sans" font family provided by the showtext package
## font == 3 means italic font face
plot(1, xlab = "Unicode characters: \u00C0 \u00C6 \u00D8",
family = "sans",