similar to: Print grid/ggplot to a metafile

Displaying 20 results from an estimated 1200 matches similar to: "Print grid/ggplot to a metafile"

2005 Oct 03
2
grob questions
If I run the following example from: http://www.stat.auckland.ac.nz/~paul/grid/doc/grobs.pdf > grid.newpage() > pushViewport(viewport(w = 0.5, h = 0.5)) > myplot <- gTree(name = "myplot", children = gList(rectGrob(name = "box", + gp = gpar(col = "grey")), xaxisGrob(name = "xaxis"))) > grid.draw(myplot) >
2006 Feb 17
3
Windows metafile problem
Hi All: I'm using win.metafile() to produce windows metafiles. When I use Word to insert the wmf picture, Word gives an error! I did my homework in posting this question, and couldn't find a fix. Any suggestions? Phil Smith CDC
2002 Mar 13
1
win.metafile and multiple plots
I'm having difficulty using the win.metafile command. I'd like to place three plots in one window and then save the window as a metafile. The commands I want to use are: win.metafile("mike.emf",width=3,height=2,pointsize=10) nf <- layout(matrix(c(1,2,3), 3, 1), heights=c(1,1,1)) layout.show(nf) plot(rnorm(10)) plot(rnorm(10)) plot(rnorm(10)) dev.off() However, I get the
2010 Dec 22
1
Poor quality plotting symbols in Windows metafile
Hello, when I try to use the filled circle (pch = 16) in a Windows metafile, it appears highly pixelated rather than as a smooth vector. The other filled circles (pch = 19 and 20) are vector circles, filled with pixels. Results are the same whether I use windows() and save or copy as a metafile, or win.metafile() Also, some of the other symbols are misshapen, e.g. the diamond pch = 23 is not
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message: > win.metafile(file = "//.../plot1.wmf", + width = 8.5, height = 6.25) > lset( list( background = list(col = "white"))) Error in get(x, envir, mode, inherits) : variable "win.metafile://.../plot1.wmf" was not found > traceback() 4: get(device) 3: trellis.device(device = .Device, new = FALSE) 2: trellis.par.get(item) 1:
2010 Mar 18
2
multiple print commands in win.metafile()
Hi All, I need a file which I can import to MS Word, I'm trying win.metafile(), but it does not seem to support multiple print commands at once (please see below). Is there an alternative to get plots file which can be used in powerpoint/word? # R code: # this does not work; but same thing works with pdf() library(lattice) win.metafile("test.wmf") p1 <- xyplot(decrease ~
2008 Dec 08
1
Save image as metafile
Hi, how can I save an image as a metafile? I know within windows you can do a right click and then 'save image as metafile' but I use Mac OS X...I know as well that mac users have a right click as well, but it does not work. Is there a command in R for saving images as metafiles? Regards, mentor -- View this message in context:
2003 Mar 15
1
plots to metafile and x/y ratio
Dear all, I have a problem which I'm not sure if it is due to my machine or if I'm doing something wrong. I'm ploting a little map using plot(val, type="l", asp=1) where val is the object with the latitude/longitude data. In the screen the figure is perfect, and I can copy to the clipboard and paste it to other places. I can also saved using png() or jpeg(), althoug
2004 May 08
2
metafile copy and R 1.9.0
Dear all, I'm running into problem in R-1.9.0 that hasn't happened with R-1.8.x If I make a plot with xyplot(), and use the menu to either save to a metafile or copy to clipboard as a metafile to export to eg Powerpoint, I can just copy a blank then. This does not occur with the classical plot(). Thus, I suppose that it may come from lattice or grid (going through the R-archives I
2003 Sep 12
1
win.metafile, devga, tkrplot in R 1.8.0
Hi, I just downloaded rw1080dev.exe 09-Sep-2003 07:42 21.6M from http://www.stats.uwo.ca/faculty/murdoch/software/r-devel/ and tried using tkrplot on Windows 2000. .First.lib failed to load the dll: .Tcl(paste("load", file, "Rplot")) appeared to be mixing up double-backslashes and forward slashes: [tcl] couldn't load library "C:w1080devlibrary
2009 Jun 18
1
win.metafile() and family
Hi all, I recently discovered how great win.metafile is for getting high resolution graphics into word. Having problems with specifying families though... #pdf works fine pdf("test.pdf",width=14,height=9) par(family="Helvetica") plot(1:10) text(4,4,"trial") dev.off() windows 2 #metafile doesnt like helvetica family
1999 Jul 05
1
win.metafile use
Platform: Windows 95 Version : R0641 Problem : I wish to plot and save a large number of graphics files in windows metafont format. I have a very crude postscript printing function, which happily handles repeated calls: psf<-function(filename){ dev.print(postscript,file=paste(sep="",filename,".ps"),horizontal=F) return() } To produce metafont files, I
2004 Apr 26
1
Lost graph contents using Copy as metafile
Dear colleagues: I use R 1.9.0 on Windows XP. One of my common tasks is to get R graphs into Word documents. A open windows() device, almost always trellis.device() for me, provides great convenience with the right-click shortcut menu item "Copy as metafile". I typically have the History > Recording feature turned on as well. Since upgrading to 1.9.0, I have experienced an
2005 Sep 21
2
win.metafile on linux?
Dear R-help, Is it possible to use win.metafile() on *nix versions of R? I tried R 2.1.1 on FreeBSD and R 1.9.0 on redhat with no success. I need to give some graphs generated in R to my boss so that he can modify them in Powerpoint to fit he style of his presentation. Recommendations on other methods are appreciated as well. Hao -- : Hao Chen, Ph.D. : Instructor : Department of
2000 May 22
1
Inconsistencies (PR#550)
Dear all, I was playing around with some C-code that I dynamically linked to R and noticed the following inconsistency: > dat <- matrix(1,3,3) > is.double(dat) [1] TRUE > is.integer(dat) [1] FALSE > dat <- matrix(1:9,3,3) > is.double(dat) [1] FALSE > is.integer(dat) [1] TRUE How did I find out? I passed `dat' to a double * in the C-code and printed out the matrix
2012 Feb 04
1
problem with windows metafile
Hi there! I have following problem: I created some graphics with "win.metafile", which I wanted to use in a Powerpoint presentation, but when I paste them into Powerpoint the graphics are missing the axes. It looks like the axes are cut off and I was wondering, if somebody know this problem and how to solve this?? Thanks for your help! :) win.metafile("example.wmf", width=7,
2000 Feb 08
2
Windows metafile
Running R : Copyright 1999, The R Development Core Team Version 0.90.1 (December 15, 1999) on NT 4.0 gives me problems with: win.metafile(file="./x.emf") x <- 1:100/7 plot(x,cos(x),type="n") lines(x,sin(x)) abline(v=0:15,h=-2:2/2,col=gray(0.8)) Only labels and titles on axes are in the file. No axes or lines of any kind. (I look at the file by inserting it in Word,
2007 Apr 25
1
identify() and metafile copies under Windows XP (PR#9634)
I am running R version as follows under Windows XP. platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 5.0 year 2007
2009 Jun 26
1
gradient fill of a grid.polygon
Dear list, Following a recent enquiry, I've been playing with the idea of creating a colour gradient for a polygon, using the Grid package. The idea is to draw a number of stripes of different colours, using the grid.clip function. Below is my current attempt at this, library(grid) rotate.polygon <- function(g, angle=0){ # utility function, works fine matR <- matrix(c(cos(angle),
2003 Oct 20
2
win.metafile and Linux
Hi Folks, I see that people have been discussing the win.metafile device on the list since before 2000. Yet I have never seen this on a Linux distribution of R. Is this because the device works by making calls (GPL calls of course!) to a proprietary Windows library? In that case I can understand that it would be far from kosher to implement it on Linux. But I'd like confirmation. I must