Displaying 4 results from an estimated 4 matches for "devemf".
Did you mean:
devem
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...
2016 Apr 25
2
ylim in barplot()
...lim 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...
2015 Jun 29
0
Support for transparency in metafile export & support for export to Powerpoint
Dear all,
For vector-based output, PDF export of R graphs works well, but unfortunately Office on Windows provide poor support for PDF and importing & exporting to other formats using Inkscape can be buggy.
Enhanced metafile export in turn does not support transparency (also not in package devEMF - are there any plans to support this perhaps in the future?). And rasterising graphs to a PNG I often find dissatisfactory, as vector-based graphs should ideally stay in vector format, especially when it comes to axes and axes labels etc.
So this means that by default, there are rather few good op...