How to vectorize plot graphic?
You have mentioned nothing about the device you are writing the plot to. If to the default and you are copying it from there as a bitmap, then what you are describing sounds as expected. Read the R Input/Output manual (again) for other output options.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Alexander Shenkin <ashenkin at ufl.edu> wrote:
Hi Folks, Using ggplot, I've produced the following graphic: http://i.imgur.com/39a139C.png The graphics in the plot seem to be bitmapped and not vectorized. That is, the vertical and horizontal lines jump rows of pixels instead of having just nice, angled lines. Any thoughts about how to get these graphics vectorized? Or am I misunderstanding something? Another example: The code: require(ggplot2) df = data.frame(x = c(1:360), y = sin(seq(0,2*pi*3,length.out = 360))) ggplot(df, aes(x=x, y=y)) + geom_line() produces http://i.imgur.com/mjjSKih.png Perhaps what I'm dealing with here is my screen resolution. However, I use ggsave() to save .wmf files, and those also turn out to be bitmaps and not vectors. Thanks, Allie [[alternative HTML version deleted]]
______________________________________________ R-help at 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.