I am using LyX with the Sweave module to generate some R figures within a document. I can't seem to get the figures to be smaller, and they tend to take up half a page which is far too large.
I have tried:
<<echo=F, fig=T, width=0.5, height=0.5>>=
bit it throws an error. Putting any value greater than 1 for width and height make my figure lines thick and font huge but the amount of space it takes up is essentially the same.
So is there anyway to make the output figures smaller?
Which version of
LyXare you using? If you are using 2.0.3 (the newest stable version), you can use
knitrwhich is more flexible, in my opinion. Note that you have to have
R, which you can do by
install.packages('knitr'). Then, in LyX, for the module instead of
Once you have
Rand loaded in
LyX, this works well for me: