Perhaps the problem could be solved by playing with the pointsize argument
to CairoSVG or the various plotting parameters of hist().
More generally, this code:
R> library(CairoSVG)
R> CairoSVG()
R> hist(rpois(500,3))
R> dev.off()
produced an entirely acceptable SVG image on my computer so I can't
replicate the problem...
As a general life question, why in a question about SVG files would you send
us a PNG screenshot rather than the SVG itself? Can SVG's not be sent over
the mailing list?
Michael
On Fri, Sep 9, 2011 at 5:19 PM, Fong Chun Chan
<fongchunchan@gmail.com>wrote:
> Hi,
>
> I've been trying to use SVG in R using the function svg, but all my my
> graphics end up with the text being very small to be point you can't
even
> see them. I've attached a screenshot of what the output for a
histogram
> looks like. Here is my code:
>
> CairoSVG('file/location')
> hist(....)
> dev.off()
>
> Am I missing something here? Thanks,
>
> Fong
>
> ______________________________________________
> 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.
>
>
[[alternative HTML version deleted]]