Displaying 20 results from an estimated 900 matches similar to: "CairoPDF and greek letter spacing"
2011 Apr 16
1
CairoPDF, Fonts, and Windows 7
Hi All:
I have some basic questions about Cairo graphics engine. I'm trying to use the Cairo package to produce PDF output, mainly because I perceive it to be easy to use with a wide variety of fonts.
But right now, I'm stuck trying to figure out what fonts are available to be used with Cairo, specifically the CairoPDF function. I've been able to successfully produce some test PDFs
2011 Jan 26
0
Greek letters in CairoPDF
Hello there,
Straight to the point: it seems that CairoPDF from package "Cairo"
cannot handle greek letters from expression(). For example,
> eta = seq(from=-pi, to=pi, length=100)
> f = sin(eta)^2
> pdf(file = "temp_pdf.pdf")
> plot(eta, f, type="l", main=expression(f(eta)==sin(eta)^2), xlab=expression(eta), ylab=expression(f(eta)))
> dev.off()
2009 Nov 25
1
Kerning issues with CairoPDF
Dear list members
I'm using CairoPDF to generate PDF (because of its font embedding and
support for transparent colours). However, at least on my (Windows)
system, the text it outputs seems to have completely wrong kerning.
Here's an example:
CairoPDF("test.pdf")
plot(rnorm(100),xlab="Ovreset")
dev.off()
The v is (slightly) too far away from the O, it's much
2009 Apr 24
0
Problem with greek "beta" symbol in plot using CairoPDF (Windows)
Dear R-Helpers,
I have a problem with displaying the greek "beta" symbol in PDF files
using Cairo library - it displays as an empty box. The same also happens
for a dash symbol in subscript. Both symbols are displayed correctly if
the plot is produced on screen (outside of CairoPDF).
The syntax that I use for it in plot command is:
2010 Apr 27
1
Cairo package failure to load backend
Hi R friends,
I've been attempting to create plots with multiple alpha values using
Cairo to save them on a windows (32b XP) platform as it doesn't support
more than 3 alpha values. This worked well until I wanted a postscript
file (unsupported) and as a attempted work around I installed RGtk2. So
far so good, however now when I try to use a
>CairoPDF("alpha.pdf", 6, 6,
2010 Mar 09
3
Fine Tuning Plotrix
Dear All,
Please see the code snippet at the end of the email.
I am using the color2D.matplot in Plotrix to plot a matrix.
It works great, but there are a few things I cannot figure out
(1) the value of cex.axis in the code snippet does not seem to affect
the final pdf at all (at least on my system, Ubuntu 9.10, plotrix and
Cairo installed from cran). How do I specify the size of the axis ticks
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
I've just been trying to post-process some R-created heatmaps using
Inkscape, but I can't get them to display correctly in that software.
To reproduce:
library(grid)
r <- as.raster(matrix(runif(25), 5, 5))
pdf("test.pdf")
grid.newpage()
grid.raster(r, interpolate = FALSE)
dev.off()
This figure should be a five by five block of grey squares. This is
what I see in the R GUI
2011 Aug 17
1
Symbol Font Baseline, Cairo, Card Symbols
I think I found a bug in the Cairo library, plus weird behavior in
both the Cairo and the normal pdf device. The baseline of the spades
symbol seems to be off. This is easier to show than it is to explain.
The problem does not appear in the normal pdf device, which is why I
am guessing this is a Cairo bug. moreover, I cannot figure out why
three of the card symbols seem to be transparent, but
2010 Aug 18
1
Fwd: \ell symbol (log-likelihood)
I sent this privately to ivo welch yesterday, and he thinks it might
be useful to someone else as well. Since I'm on a Mac the screen
device is quartz():
> quartz()
> plot( c(0,1), c(0,1) );
> text( 0.5, 0.5, "\u2113" )
# and then File/Save As/
--
David.
Begin forwarded message:
> From: David Winsemius <dwinsemius at comcast.net>
> Date: August 17,
2019 Feb 18
3
Encoding issues
Hi,
We found a (to our eyes) strange behaviour that might be a bug. First
a little bit of context. The 'units' package allows us to set the unit
using both SE or NSE. E.g., these both work in the same way:
units::set_units(1:10, "?m")
#> Units: [?m]
#> [1] 1 2 3 4 5 6 7 8 9 10
units::set_units(1:10, ?m)
#> Units: [?m]
#> [1] 1 2 3 4 5 6 7 8 9 10
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
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 Sep 10
1
Greek letter included in a character vector
Hello,
In the past I have used "expression" to include greek letters in axis labels,
but this time I need to include the greek letter as part of a legend. Basically,
I need to create the following vector to rename the levels of a factor:
c("Interferon-gamma", "IL-10", "IL-5"), where "gamma" obviously needs to be
printed as the greek letter
2011 Aug 25
1
Combining a greek letter and a newline on the same label
Hi,
I would like to add a two-lines label consisting of:
"Delta word1\n
word2"
(with Delta being the actual greek letter).
However, when I try "expression(paste(Delta,"word1\nword2"))", I obtain the
following display:
"word1\n
Delta word2".
Do you have any idea on how to obtain the desired display?
Thank you for your help!
Sebastien
[[alternative HTML
2011 Nov 01
3
Greek letter
Hi everyone.
I'm trying to use small letter phi in a graph produced in R. However, the
small letter phi does not look as it should.
In fact, it looks like this:
http://r.789695.n4.nabble.com/file/n3963311/Untitled.png
instead of what is here http://en.wikipedia.org/wiki/Phi
Here's the code I use:
expression(phi [1])
Anyone has an idea?
With regards,
Phil
--
View this message
2010 Jun 11
2
Misplacement of Greek letter
Hello.
I am trying to get my axis label to read as follows
(The symbol) Delta AUC blah blah...
then below it...(some other text)
The problem is the Delta symbol shows up beside the "(some other text)"
rather than the "AUC". Does any one know how I can get the Delta to remain
beside AUC?
Here is the actual command should you care to look at it.
par(mar=c(8,8,4,4))
2011 Jan 27
2
pdf greek letter typos
Hi there,
yet on the topic of greek letters and pdf plotting: when I run the
following code
pdf(file="temp.pdf")
mu=seq(from=-pi, to=pi, length=100)
plot(mu, sin(mu^2),
type="l",
xlab=expression(mu%in%(list(-pi,pi))),
ylab=expression(sin(mu^2)),
main=expression((list(mu,sin(mu^2)))))
dev.off()
I get a "proportional to" symbol in place of a
2011 Feb 16
3
image() with a vector
Hi,
I have a vectors x and z, for example,
x <- 0:20
z <- round(runif(20,1,7))
y <- 0.5
and I want to display z as an image. However if I then call image() with a vector
image(x,y,t(z),zlim=c(1,7),col=heat.colors(7),xlab="Year",ylab="Action",yaxt="n",xaxs="r",yaxs="r")
then I get the error
Error in image.default(x, y, t(z), zlim =
2017 Feb 20
2
[FORGED] Re: Replaying a recorded plot (mixed base and grid) from pdf() in cairo_pdf() crashes R
Hi
This appears to be happening (at least) because cairo_pdf() delays
initialising a Cairo surface until BM_NewPage(), rather than
initiliasing a Cairo surface in BM_Open(), and replayPlot() triggers
some activity (set clip region) on the device BEFORE a new page is
started (so the pointer to the Cairo surface is null, so BOOM).
Not sure yet whether to blame replayPlot() for not starting
2019 Feb 18
0
Encoding issues
>From "Writing R Extensions":
"Only ASCII characters (and the control characters tab, formfeed, LF
and CR) should be used in code files."
So I am afraid you cannot use ?m.
Gabor
On Mon, Feb 18, 2019 at 3:36 PM I?aki Ucar <iucar at fedoraproject.org> wrote:
>
> Hi,
>
> We found a (to our eyes) strange behaviour that might be a bug. First
> a little