On Apr 2, 2011, at 11:16 AM, David Winsemius wrote:
On Apr 2, 2011, at 6:02 AM, Erich Neuwirth wrote:
The problem of changing the default font used fpr the windows
graphics
device seems to be quite complicated.
As I wrote already
windowsFonts(myfont="Consolas")
par(family="myfont")
will
On Apr 2, 2011, at 6:02 AM, Erich Neuwirth wrote:
The problem of changing the default font used fpr the windows graphics
device seems to be quite complicated.
As I wrote already
windowsFonts(myfont="Consolas")
par(family="myfont")
will make the windows graphics device use Consolas as the
defa
The problem of changing the default font used fpr the windows graphics
device seems to be quite complicated.
As I wrote already
windowsFonts(myfont="Consolas")
par(family="myfont")
will make the windows graphics device use Consolas as the
defaut font for labels.
Therefore, a function call like
p
The easiest way of changing the font used for labels by the windows
graphics device (opened by a call to windows()) seems to be the following:
Let us assume we want to use the font Consolas for all labels:
windowsFonts(myfont="Consolas")
par(family="myfont")
If one later on wants to change the d
If you are doing multiple plots like this, there is no way I know of
to specify the fonts for labeling *once* for all such plots. However,
you can do something like this to save typing and keep things consistent:
my.largs <- list(
gp_labels = gpar(fontsize = 12, fontfamily = "calibri"),
Here is a more complete solution to my problem.
The fact that the parameters are called gp_varnames,
gp_labels, and gp_text on one hand, but main_gp and
and sub_gp on the other hand comes as a surprise
when one tries to find a solution.
windowsFonts(calibri = windowsFont("Calibri"))
mosaic(UCBAdm
On Wed, 30 Mar 2011, Achim Zeileis wrote:
On Wed, 30 Mar 2011, Erich Neuwirth wrote:
Achim
I simply want to replace the font R uses on mosaic (whatever it is)
by a font of my choice (say Calibri or Arial)
because I need to embed the R charts in a PowerPoint
presentation and want the fonts to m
On Wed, 30 Mar 2011, Erich Neuwirth wrote:
Achim
I simply want to replace the font R uses on mosaic (whatever it is)
by a font of my choice (say Calibri or Arial)
because I need to embed the R charts in a PowerPoint
presentation and want the fonts to match.
Ah, ok, sorry I misread your mail.
Try this:
windowsFonts(calibri = windowsFont("Calibri"))
mosaic(UCBAdmissions, labeling_args = list(
gp_labels = gpar(fontsize = 12, fontfamily = "calibri"),
gp_varnames = gpar(fontsize = 16, fontfamily = "calibri")
))
On Wed, Mar 30, 2011 at 3:25 PM, Erich Neuwirth
wrote:
> Achim
> I simpl
Achim
I simply want to replace the font R uses on mosaic (whatever it is)
by a font of my choice (say Calibri or Arial)
because I need to embed the R charts in a PowerPoint
presentation and want the fonts to match.
And I want the most simple way of accomplishing this.
I worked my way through the st
On Wed, 30 Mar 2011, Erich Neuwirth wrote:
I need to change the font(s) used in mosaic from package vcd.
The help file and the vignette do not give very explicit examples for
doing that.
The easiest solution would be changing the font for everything
on the graph: var labels, var names, title, su
I need to change the font(s) used in mosaic from package vcd.
The help file and the vignette do not give very explicit examples for
doing that.
The easiest solution would be changing the font for everything
on the graph: var labels, var names, title, subtitle, and cell labels.
What is the easiest w
12 matches
Mail list logo