similar to: win.metafile and multiple plots

Displaying 20 results from an estimated 11000 matches similar to: "win.metafile and multiple plots"

2011 Mar 23
3
Sweave: multiple graphic formats, e.g. win.metafile
Dear R devel, being constrained to a windows environment at work and having colleagues being accustomed to the Microsoft Office Suite, I was looking for a way to have the RweaveLatex driver for Sweave automatically generating 'win.metafile's in addition to the pdf graphics. Without this functionalilty, the generation of emf-graphics is quite laborious, I think: <<>>= plotit
2005 Oct 05
2
output a sequence of plots
I can output two histograms of variables AXFILTERED and AZPTOP as follows: win.metafile(filename="C:/AXFILTERED.emf",pointsize=12) hist(AXFILTERED,breaks=40) dev.off() win.metafile(filename="C:/AZPTOP.emf",pointsize=12) hist(AZPTOP,breaks=40) dev.off() But, I actually have a dataframe of 120 variables that I would like histograms of. Any solutions that would save me from
2007 Jun 29
1
Print grid/ggplot to a metafile
Dear UseRs called Hadley, or Paul, I am trying to print an edited ggplot2/grid graphics to a metafile. With the commented line below it works, but when I edit the plot by uncommenting the line, it fails, because it's illegal to have 2 graphics in a metafile. It works with pdf, but even then I get two plots, which is a nuisance. I found a workaround by using windows(); savePlot, but it only
2011 Feb 04
1
Can an xyplot() plus legend be saved as an Enhanced Windows Metafile (EMF)?
I am trying to save some graphical output including a legend in the Windows Enhanced Metafile (EMF) format. This fails when xyplot() is used rather than plot(). Here is a simple example: require(lattice) a <- c(1:10) b <- c(2,4,5,2,3,5,7,8,9,5) # Output can be saved (or copied to the clipboard) as a Windows EMF image file # from the Graphics Device output window. plot(a , b)
2003 Jul 03
2
Bug in plotting groupedData-objects
Dear Experts, May be the problem is still solved, however I tried to find the answer in the archives: I use: > R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 7.1 year 2003 month 06 day 16
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,
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
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
2010 Oct 29
2
plot pdf
I want to plot the unstadardized version of a normal plot.  Can you explain why that is not working? Dev.set(1) xcrit=-1.645 cord.x <- c(-3,seq(-3,xcrit,0.01),xcrit) cord.y <- c(0,dnorm(seq(-3,xcrit,0.01)),0)            # what does final 0 do here? curve(dnorm(x,0,1),xlim=c(-3,3),main='Normal PDF') polygon(cord.x,cord.y,col='orange')
2003 Oct 20
1
win.metafile() problem -- possible bug?
As a followup to a previous posting regarding the win.metafile() function, I've been having some problems as well. In my case, I've been converting some scripts from S-SPLUS to R that create graphs in order to take advantage of R's plotmath capabilities. In the sample code shown below, the axis labels display the units for the data. In particular, the units for the y axis are
1999 Jul 23
2
Getting R graphics into MS Word (more)
Further to my earlier question. Thank you to: John Maindonald, Ramon Diaz-Uriarte, Brian Ripley, Alvaro Novo, Simon Bond and David Scott for your helpful replies. I have looked at the problem in some more detail. I am using Rgui.exe Version 0.64.2 (July 3, 1999) running under Windows NT To demonstrate the problem, I run the program: > win.graph(width=5, height=3) > data(women) >
2009 Mar 09
1
Adding text to both grid and base graphs
Dear all, I'm stuck with the following problem: I generate graphs using both the grid system (with lattice) and the base system. I'd like to be able to identify these graphs later on with a bit of identifying text (e.g. a date and some comments). Adding text to these graphs cannot be done using a common system if you want to save them as emf files. I now use: mtext("labelling
2001 Aug 08
3
"Transparent" background in graphics exported as metafiles
Hi, Under Windows, I am exporting graphs from R (in metafile -emf- format), and want to combine them using a graphic package. It happens that the background of the graph is represented by a filled rectangle (with the color given by bg=...). This is to be expected. However, I find no options to disable this and produce a graph with transparent background. Does such an option exist? If not, then
2012 Apr 20
1
How to make nice tiny sized figures on graphic devices producing scalable vector output?
Hello! Usually whenever I want a tiny plot, I just create it as is (or even large) and then downscale it in the end application like LaTeX of MS Word. However, all these graphic devices like postscript, pdf, win.metafile retain physical sizes, so it would be natural if I can just insert graphics as is provided those have proper physical sizes embedded. The question is what is the best
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 ~
2004 May 08
0
Re: metafile copy and R 1.9.0, trellis, grid
OK. Deepayan sent me the copy of a chat on another list between John Fox, Duncan Murdoch and Paul Murrell. The bug in the gui.exe looks like being reported with an example to turn it before he has been definetely fixed. Just try: trellis.device("win.metafile", file="test.emf") data(iris) cloud(Sepal.Length ~ Petal.Length * Petal.Width | Species, data = iris, screen = list(x =
2003 Oct 20
0
Re: win.metafiles in linux and R
Dear all: Professor Ripley commented: > Note that libEMF's help page says > > It is also possible now to generate EMF files from PSTOEDIT > on POSIX > systems. Therefore, if your graphics code only outputs > PostScript, you > can now easily convert it to EMF. > > but that is only true on Windows (unfortunately). > Actually I have had some luck
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:
2007 Dec 02
1
odfWeave error
hello all, I trying to use the package 'odfWeave' and I get the follow error: ### error message ############################################################# ... Removing content.xml Post-processing the contents Error in .Call("RS_XML_Parse", file, handlers, as.logical(addContext), : Error in the XML event driven parser for content_1.xml: error parsing attribute name
2016 Apr 25
0
ylim in barplot()
If you are using a Windows system, you can Export the plot from RStudio and save it as a metafile without using package devEMF and it will crop the bars with xpd=FALSE. When I used devEMF on a Windows machine, the bars were not cropped with barplot() as you indicated, but when I switched to plotrix::barp() they were cropped. The arguments are a bit different, but I did not need xpd=FALSE: