On Mon, 17 Aug 2009 16:47:23 +0000 mohsin ali <[email protected]>
wrote:

MA> I also found this way much easier. But when to have figure on MS
MA> Word, it is copied and then pasted on MS word then minor pixels
MA> appears. How to get a clear figure?

Use another device. I personally use *.eps which can be obtained by:

postscript("myplot.eps",width=8,height=8,paper="special",horizontal=F)
plot(...)
dev.off()

note that width and height are different here to the png device where
the size is in points.

You can use this in word 200x but note that the plot will look ugly on
the screen. It will look great when you print it with a postscript
printer or when you produce a pdf out of that word file.

Look also here on how you could produce wmf/emf files:
http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export#exporting_r_graphs_-_cross-platform_solutions

hth
Stefan

______________________________________________
[email protected] 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