meitei
February 10, 2022, 7:19pm
1
Hi all,
I have a Taylor diagram.
How can I export to EPS format?
suppressPackageStartupMessages({
library(dplyr, warn.conflicts = FALSE)
library(stringr)
library(openair)
})
dat=data.frame(
hist=sample(100,100),
obs=sample(100,100),
model=rep(c("abc", "def"),each=50)
)
TaylorDiagram(dat, obs = "obs", mod = "hist",
group = c("model"), main="(b)",rms.col="black",
normalise = TRUE, cex = 0.6,
col=c("red","blue"),
pch = c(1:2), fontsize = 20)
thank you..!!!
Try something like this
setEPS()
postscript("Taylor.eps")
TaylorDiagram(dat, obs = "obs", mod = "hist",
group = c("model"), main="(b)",rms.col="black",
normalise = TRUE, cex = 0.6,
col=c("red","blue"),
pch = c(1:2), fontsize = 20)
dev.off()
meitei
February 11, 2022, 9:40pm
3
HI, @jrkrideau thank you for the response. I'm not sure why I got the error
Warning message:
In grid.Call.graphics(C_lines, x$x, x$y, list(as.integer(1L:max(length(x$x), :
semi-transparency is not supported on this device: reported only once per page
For this, I tried as described here . But, not working. Did you encounter the same?
This is not an error, just a warning and I did get it . R still printed the eps file. Check your folders for an .eps file.
system
Closed
March 4, 2022, 9:47pm
5
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.