search for: emf

Displaying 20 results from an estimated 172 matches for "emf".

Did you mean: elf
2011 Mar 23
3
Sweave: multiple graphic formats, e.g. win.metafile
...d 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 <- function () { # code which generates the graphic } win.metafile("foobar.emf") plotit() dev.off() pdf("foobar.pdf") plotit() dev.off() @ \includegraphics{foobar} I would like to have something like: <&...
2006 Aug 08
1
oodraw command line usage
I use R to create .eps graphics and then use oodraw to convert them to .emf versions. (One reason I do this is that OOo tends to re-size .eps files and I haven't found a way to stop it or change it once the graph is resized. .emf files are not distorted by OOo - fortunately.) I use a command like: > oodraw filename.eps & The gui opens and then I select .emf an...
2009 Sep 08
1
Changing font to times for EMF graphics
Hi, sorry for the simple question. I am usually able to change the font for PDF graphics with pdf.options(family="Times") However, I have found no way yet to get an emf file with a times font. I also tried a detour by using pstoedit to convert a pdf with the desired font to an emf but even there the font does not appear as times. Is there a way to get a times font in an emf file or is it even a restriction of the file format? I am on Win XP and R 2.9.1. Many t...
2010 Oct 29
2
plot pdf
...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') savePlot(filename="c:\\ssl_z.emf",type="emf")          #unable to create metafile?  why?    x=seq(80,200,1) plot(x,dnorm(x,140,15),type="l",ylab="Probability")   dev.set(4) xcrit=135.9 cord.x <- c(80,seq(80,xcrit,.1),xcrit) cord.y <- c(0,dnorm(seq(80,xcrit,.1))...
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) legend(&qu...
2005 Jul 22
0
Windows metafiles (emf) under Linux
G'day Folks, The R-help list has had assorted threads over the years on the best way for Linux users to produce EMF files, mainly for exchange with Windows users. There have been various suggestions for how this may be possible or ways around the problem, via other formats, but none have seemed very satisfactory. I've found what seems to be a quite simple way to produce EMFs from Linux that may interest...
2007 Oct 15
2
Bad EMF export
Hello dear useRs, I'm trying to export a barplot into an emf file. My problem is that the plot is properly printed into the file, except the bars that do not appear :( I've experienced some problems also with simple points plots, in which points did not appear (same problem). Can you help me please ? Thanks in advance ! Clement Poirier
2003 Jul 03
2
Bug in plotting groupedData-objects
...t, y)) d <- groupedData(y ~ visit|id, data=weight, labels=list(visit="Week", y="DHA", id="ID"), units=list(visit="(weeks)", y="(%)"), order.groups=F) plot(d) # save by hand: 1.5 MB if(interactive()) { win.metafile(filename="c:/tmp/mist.emf") plot(d) dev.off() } # The file mist.emf is empty, however the plot command before works. if(interactive()) { win.metafile(filename="c:/tmp/mist2.emf") plot(visit,y) dev.off() } # changing object, the file mist2.emf is not empty: if(interactive()) { jpeg(filename="c:...
2016 Apr 25
2
ylim in barplot()
...version with the bar problem: barplot(t(mydata), beside=TRUE, col=c("orange", "green", "yellow", "purple"), ylim=c(50,70), legend=TRUE, las=2, axis.lty=1) #I have tried using xpd=FALSE and this works fine withinRguior Rstudio but not when I plot within devEMF::emf() barplot(t(mydata), beside=TRUE, col=c("orange", "green", "yellow", "purple"), ylim=c(50,70), legend=TRUE, las=2, axis.lty=1, xpd=FALSE) I need the emf file to edit the plot. Why isn't it working with ylim alone? And why doesn't xpd work with...
2005 Jan 26
1
Savin Copier Print Processor
...s directly. When downloading the drivers, the Print Processor is listed as "winprint" and the default data type is RAW. When I manually install the drivers, the Print Processors are "HPPRN05" and "WinPrint" and data types are RAW, RAW [FF appended], RAW [FF auto], NT EMF 1.003, NT EMF 1.006, NT EMF 1.007, NT EMF 1.008, and TEXT. This is using the same exact drivers on Samba and on Windows: SAVIN 9935DPE/2035DPE PCL 5e. I have tried the PostScript driver and the PCL 6 driver with similar results (actually more garbled using these drivers). I have searched on Goog...
2016 Apr 26
1
ylim in barplot()
Thank you David, That's a nice workaround using plotrix::barp(), but that doesn't explain why ylim doesn't work as intended (or at least, as I expect it to work), or why xpd has no influence when using devEMF::emf()... The problem with saving directly in RStudio is that it requires to manually save the plot, and this becomes troublesome when there are a lot of plot commands in a single script. Bests, Ivan (on behalf of St?phanie) -- Ivan Calandra, PhD Scientific Mediator University of Reims Champag...
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: emf("TestPlot.emf") bar...
2000 Dec 20
1
syskern fails Rcmd check on Windows, gives incorrect information (PR#781)
...ample(system.call) systm.> system.call("ls") Error in system.call("ls") : system calls must be implemented for this operating system. But they are: > shell("ls -C") #R.bug.report# cvs-co test1 DF.R jpegsrc.v6b.tar.gz test2.emf GSD2.EMF libpng-1.0.8.tar.gz test3.emf R-1.2.0.tgz library test4.emf R.bug.report mri.dat test5.emf Rconsole mydata texinfo-4.0.tar.bz2 Rdist packages tools TB rw1020...
2002 Mar 29
2
wmf on Unix?
libEMF (http://sourceforge.net/projects/libemf/) looks like it may be the solution to generating WMF/EMF files on Unix. It's a general-purpose (LGPL) library that implements the EMF API ... (I was originally going to write to the list to ask why small circles appear to be filled (in src/gnuwin32/g...
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). &g...
2009 Oct 05
2
Loop function/comparison operator problem
Hi There, I have created the following function format<- function(){ repeat { form<-readline(paste("\nIn what format do you want to save these plots?\nChoose from: wmf, emf, png, jpg, jpeg, bmp, tif, tiff, ps, eps, or pdf.\nNote: eps is the suggested format for publication quality plots.\nPlot format --> ")); cat("\nI'm sorry, I don't know what that format is.\nPlease try again\nPress ENTER...");readline()} if (form == c("wmf", &q...
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 repeating this code 120...
2011 Jun 17
1
graphsheet and export.graph equivalents in R?
R Experts I'm currently using an S+ script of the following format and would like to convert it to R. The script opens a graphsheet with an associated name, plots something (in this case a boxplot) and then exports the contents of the graphsheet of the assigned name to an EMF file. I've been looking for something in R that would work the same way but to no avail. Could someone please show me how this or something similar is done in R? (I'm trying to convert to R.) Thanks. graphsheet(Name="SheetOne") boxplot(GraphSheet = &quo...
2009 Mar 09
1
Adding text to both grid and base graphs
...: 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 text",outer=TRUE,at=0.5,adj=0.5,line=-1.1,side=1,cex=0.7,col="darkgrey") for base graphs and grid.text("labelling text",x=0.5,y=0.005,just="bottom",gp=gpar(fontsize=8, col="darkgrey")) for grid graphs. Unfort...
1999 Jul 23
2
Getting R graphics into MS Word (more)
...on 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) > plot(women) Then, in the graph window, I select the command Save as metafile using the right mouse button, and save the file in c:\temp\women2.emf Then, in Microsoft Word (97 SR 2) , I can import this file using Insert/Picture/FromFile When I do this, the picture is truncated to about 70% of its correct width and height. I have looked at the metafile produced by R, and can make it import correctly into Word by increasing the FrameRight and...