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')
On 09/13/2010 11:32 AM, Joel wrote:
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 :)
The problem is that the plot goes only to one graphics device, the last
one you defined. Just make the plot twice:
On Sep 13, 2010, at 5:32 AM, Joel wrote:
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 :)
Are you trying to embed a png file in a graphic or do you just want
two different files?
If the first (obviously
Thx for all the help!
Dave:
Its the second ones so now it looks like this and works but its abit ugly as
you have to plot the same thing two times but dossent seem to be any other
way or?
try(png('/home/joel/Skrivbord/mammamu2.png'))
plot(irisct)
dev.off()
-help@r-project.org
Subject: Re: [R] Saveing plot to multiple locations
Thx for all the help!
Dave:
Its the second ones so now it looks like this and works but its abit
ugly as
you have to plot the same thing two times but dossent seem to be any
other
way or?
try(png('/home/joel
5 matches
Mail list logo