I am saving R graph as a jpeg image and the border is plotted defaultly when
you open the image.How can I avoid the border?
small R code is as follows :- 

volume<- seq(100,10,-10)

           jpeg(filename = "mygraph.jpg",width=366,height=284,units="px")
        {
                pie(volume,main=title,radius=radius ,bty="n",clockwise = 
TRUE,col=color,
                font.main = 2,cex.main = 1.8,cex.lab=1.5,border = FALSE)
                
        }
        dev.off()
 when I open this image  automaticaly border is  plotted around the graph.
How to avoid this?

-- 
View this message in context: 
http://r.789695.n4.nabble.com/how-to-remove-border-while-saving-R-plots-tp3031713p3031713.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to