Displaying 3 results from an estimated 3 matches for "exampleplot".
Did you mean:
example_plot
2012 May 22
0
trouble with png image creation in R v2.14.0 on Red Hat 6
...lified the instance to a bit of code below.
For example, this shell script works:
*#!/bin/csh -f*
*R --no-save <<Eoi*
*ow <- options("warn")*
*rootDir <- "$1"*
*filePrefix <- "$2"*
*
*
*filename <- paste(rootDir,"/",filePrefix,".examplePlot.png", sep="")*
*png(file=filename, width = 1600, height = 1070, units = "px",type=c("cairo"
))*
*
*
*errors <- matrix(nrow = 5, ncol = 2)*
*for (i in 1:5) {*
* errors[i,1] <- i*
* errors[i,2] <- i*i*
*}*
*
*
*par(mfrow = c(2,1))*
*plot(err...
2017 Nov 28
1
Height not set properly in grDevices::jpeg() with type = "cairo"
...er anti-aliasing. When trying to set the physical
size with units = "cm" or units = "mm", the width is set correctly but
the height is not - it looks like the height is simply treated as
pixels regardless of the 'units' argument.
Example:
x = 1:10
y = 2 * x
jpeg("ExamplePlot.jpg",
type = "cairo",
width = 200,
height = 200,
units = "mm",
res = 96)
plot(x, y)
dev.off()
On my system (Windows 7, running R 3.4.2), this produces a plot that
is 755 x 200 pixels, and is vertically very squashed.
Looking at grDevices::jpeg, i...
2004 May 24
2
Metafiiles into Word R 1.9.0
Dear R-helpers,
I recently upgraded to R 1.9.0 in my computer at work and at home:
1.-The computer at home has Windows XP and Office XP and it seems to work
perfectly and I copy-paste graphics perfectly.
2.-The computer at work has Microsoft Windows 2000 (5.00.2195 Service Pack
2) and Word 2000 (9.0.4402 SR-1) I cannot copy-paste windows metafiles into
Office applications in my computer at