library(ggplot2)
a <- data.frame(x=rnorm(10), y=rnorm(10))

#conversion of mm to points 2.83464567
plot.demo <- qplot(x, y, data=a, xlab="test.x",
ylab="test.y")+theme(panel.border=element_rect(fill=NA, size=1),
axis.title.x = element_text(size=10*2.83464567, family="Arial"),
axis.title.y = element_text(size=12*2.83464567, family="Arial"),
axis.text.y = element_text(size=10*2.83464567, family="Arial"), axis.text.x
= element_text(size=10*2.83464567, family="Arial"))

print(plot.demo)

Happy New Year Everyone!

I would like to preserve point size with different figure sizes using the
svg graphics device.

#for instance
#ggsave("~/Desktop/test2.svg", p ,height=3, width=3)
#ggsave("~/Desktop/test2.svg", p ,height=10, width=10)

#both look very different to me. What am I missing? Thank you for all of
the help in advance.

Stephen



-- 
Stephen Sefick
**************************************************
Auburn University
Biological Sciences
331 Funchess Hall
Auburn, Alabama
36849
**************************************************
sas0025@auburn.edu
http://www.auburn.edu/~sas0025
**************************************************

Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods.  We are mammals, and have not exhausted the annoying little
problems of being mammals.

                                -K. Mullis

"A big computer, a complex algorithm and a long time does not equal
science."

                              -Robert Gentleman

	[[alternative HTML version deleted]]

