similar to: Setting fontsize in dev.copy2eps

Displaying 20 results from an estimated 1000 matches similar to: "Setting fontsize in dev.copy2eps"

2000 Dec 29
1
dev.copy2eps: position of figure on page
The definition for dev.copy2eps contains the following line: oc$paper <- "special" The result of this is that the output will be placed in the left bottom corner of the page. Even though dev.copy2eps is meant for creating files that are to be included into other documents, you might want to print the figure directly, just to see how it will look on paper. (Of course, this will
2000 Dec 20
1
Shortcut for dev.copy2eps
I want to use a shortcut for copying figures to EPS. I defined this function in .Rprofile: ps <- function(file="Rplot.eps", width=7, height=7, ...) { dev.copy2eps(file=file, width=width, height=height, ...) } This doesn't work: > data(cars) > plot(cars) > ps() Error in device(...) : Object "width" not found Can anyone tell me
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List, I am trying unsucessfully to modify the fontsize of lables in mosaic: require(vcd) mosaic(Titanic, pop=FALSE, labeling_args=list(rot_labels=c(bottom=90,top=90), set_varnames = c(Sex = "Gender"), gp_text=gpar(fontsize=20))) #can't get it to resize text tab <- ifelse(Titanic < 6, NA, Titanic) # it works for labeling_cells labeling_cells(text = tab,
2003 Jun 05
1
dev.copy2eps: Why did the colors come into my postscript output?
On a RedHat 7.3 system with R-1.6.1, I did this > x11(width=3.5,height=4,colortype="gray") Then plotted (with matplot) a nice looking no-color graph on the screen, then I did this: > dev.copy2eps(file="test.eps",height=4,width=3.5) I was surprised that the output in the eps file included the colored lines from the plot, even though the screen device was set to
2001 Mar 07
2
help with dev.copy2eps
HI! I'm using the function dev.copy2eps to store a plot into a file. How can I change the default name of the file and the path where the file should be created ? Thanks -- Frank Gerrit Zoellner -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2005 Jan 21
2
Windows plots & fontsize
I recently wrote a package that runs on both Linux and Windows. The functions fetch data to an SQL database and make diverse plots, usually with many labels and annotations. I recently noticed that on SOME windows computers the fonts in the plots were too large, which caused labels to overlap. On other windows computers this does not happen. However on both computers the command
2008 Jan 29
1
Documentation of the dev.copy2eps function. (PR#10656)
Full_Name: clement raievsky Version: R version 2.4.0 Patched (2006-11-25 r39997) OS: debian (stable/testing) Submission from: (NULL) (132.210.56.80) The documentation of the dev.copy2eps() function should mention the "file" option which set the output file name Thanks for the wonderfull software. Cl?ment.
2008 Feb 12
1
controlling the edge linewidth in Rgraphviz
Hello, I would like to have different linewidths for the edges of my graph. I read the documentation but could not find how to control this. On the Graphviz help page I've seen that there is something called "penwidth" but I could not find it in the R edge attributes. Thanks a lot for any help. Adrian Dragulescu
2002 Aug 01
0
dev.copy2eps() problem
Hello experts! I've tried to make single plot, but with changed ticks length, and then copy them to file by dev.copy2eps(). Here is the code: x11 ( , 5, 5) par (tcl = +5) plot (0) # wow! I see the ugly plot with great # ticks on the graph viewport! cool :) dev.copy2eps (file = "out.eps") Well, I had a look at "out.ps" and ..
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
>>>>> "StEgl" == Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: StEgl> Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 StEgl> machine. I now have problems with the following code: StEgl> %E /tmp 43% R --vanilla StEgl> Version 1.1.0 (June 15, 2000) StEgl> ... >> test2 <- function () {
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding the postscript output from R. It's difficult for me to tell whether or not this is an R problem or a ghostview/gv/interpreter problem. Just to note, I think it's exactly the same situation reported here: http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html The following code produces a working plot (no
2003 Apr 04
3
trellis.graphic in for-loop
Hi list, I am unsuccessfully trying to produce a serious of trellis barcharts from within a for-loop. The barcharts work outside the loop. What am I missing? Example attached. Thanks Herry #XXXXXXXXXXXXXXXXXXXXXX trellis.device(bg="white") trellis.par.get("fontsize")->fontsize fontsize$default<-16 trellis.par.set("fontsize",fontsize)
2009 Jan 20
1
Problem with cyrillic in postscript
Hi all, When I plot some graph with cyrillic (namely russian) titles it looks ok, but after saving this figure as eps file I get damaged title fonts. The command dev.copy2eps was used in the following manner: dev.copy2eps("test.eps") or, for example dev.copy2eps("test.eps",family='NimbusSan') What is wrong? I use R 2.6.0 under Windows. Any help will be appreciated.
2008 Sep 26
2
adjusting textsize and spacing in mosaic (vcd package)
I'm trying to find a way to change the font size in a mosaic plot (the grid version, not the base graphics one). Here's an example to demonstrate: #Basic plot library(vcd) mosaic(HairEyeColor, shade = TRUE) #Bad first guess: this stops the default cell colouring, and doesn't change the font size mosaic(HairEyeColor, shade = TRUE, gp=gpar(fontsize=16)) #This successfully changes
2009 Feb 10
0
Resize edge's label fontsize
Hi, I'm trying to create a connectivity diagram using RgraphViz library. I want to increase the edge's label fontsize, but the size did not change. Did I do something wrong ? M <- matrix(nrow=5,ncol=5,byrow=TRUE,data=mytable) colnames(M) <- levels(pf$agent) A <- new("graphAM", M, "directed", values = list(weight=M)) eAttrs <- list() ew <-
2002 Dec 06
2
Controlling graphics parameters in lattice
I'm just starting to work with lattice graphics, and am having difficulty understanding how to control various graphic parameters (font sizes, etc.). [I'm actually using xyplot via plot.effect() in the car package, and would like to be able to set some global defaults.] I read ?xyplot and ?trellis.par.set-- which contains no complete list of parameters, just a reference to
2002 Jan 27
1
SUMMARY: EPS->LaTeX problem
Earlier today I posted a problem importing an R graph into a LaTeX file of seminar class: specifically, the graphic was showing up rotated 180 degrees, along with the rest of the page it was on. In a real victory for open-source software, I got lots of responses with three distinct approaches, each of which appears to solve the problem. Try getting fast, correct help from Microsoft on a Sunday
2007 May 01
1
creating eps files
Hello, For a long time, I have been creating eps files from R using the following command: dev.copy2eps(file="my.eps") This has worked very well. But recently, the compositor of a journal is complaining that "The eps files would be useable except that they have not converted the type to outlines" Sorry for being vague, but I have no idea what this compositor is talking
2006 Mar 26
1
new to the list - problems with non-solid lines in eps export
Dear all, I am new to this list and, unfortunately, could not provide help to anyone as yet. I hope I can do so in the future, though! Until then, I am grateful for helpful hints from you more experienced users. For use in an upcoming publication, I generated an eps figure from my x11 window under Debian Linux with dev.copy2eps. It contains 28 line plots with 2 lines each, one solid and one
2011 Mar 07
2
Sweave with scan()-ed data
In an Sweave slide, I want to use sem::read.moments() and sem::specify.model(), which work by using scan() to read the following lines, up to the first blank line. However, Sweave throws an error: > Sweave("sem-thurstone.Rnw") Writing to file sem-thurstone.tex Processing code chunks ... 1 : term hide (label=arrests-setup) 2 : echo term hide (label=thurstone-data) Error: