Displaying 2 results from an estimated 2 matches for "skrivbord".
2010 Sep 13
2
Saveing plot to multiple locations
Hi
Im trying to save a plot both to a pdf and as just a picture but without
success so if someone can help me I would be happy :)
my code:
require(party)
irisct <- ctree(Species ~ .,data = iris)
data(iris)
attach(iris)
pdf('/home/joel/Skrivbord/mammamu.pdf')
try(png('/home/joel/Skrivbord/mammamu1.png'))
plot(Sepal.Length, Petal.Length, col=unclass(Species))
legend(4.5, 7, levels(Species), col=plot_colors, cex=0.8, fill=1:3)
try(png('/home/joel/Skrivbord/mammamu2.png'))
plot(irisct)
dev.off()
readBin(pic,'raw',...
2010 Oct 22
1
Display list redraw incomplete when exporting plots
...g message:
In dev.copy(device = function (filename = "Rplot%03d.jpeg", width = 480, :
`mgp[1:3]' are of differing sign
Messages, warnings, or errors:
Error in dev.copy(device = function (filename = "Rplot%03d.jpeg", width =
480, :
could not open file '/home/jonas/Skrivbord/art/station.jpg'
Calls: local ... dev.print -> dev.off -> eval.parent -> eval -> eval ->
dev.copy
Messages, warnings, or errors:
Warning message:
In dev.copy(device = function (filename = "Rplot%03d.png", width = 480, :
`mgp[1:3]' are of differing sign
Messages...