search for: cairosvg

Displaying 6 results from an estimated 6 matches for "cairosvg".

2011 Sep 09
1
Using SVG in R
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen shot 2011-09-09 at 3.16.50 PM.png Type: image/png Size: 11933 bytes Desc: not available URL: <https://stat.ethz.ch...
2011 Mar 08
2
positions and margins differ between X11 and SVG device
...pen an X11 device with the size I want for the final output and I have now managed to arrange all the elements as I wanted in the R script that draws the plot. Saving the plot to a bitmap format preserves all the positions and sizes but the resulting quality is too low. Saving it to svg (also tried CairoSVG) of course gives me excellent quality, but the positions and margins are all completely different from the X11 window. Now I'm wondering how others deal with this (surely common) situation? Figuring out the positions while working blindly (saving to svg file all the time and opening it again to...
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
...ice window, and when I open test.pdf in Abode Reader or SumatraPDF. However, when I open the file in Inkscape or Firefox, each of the squares is blurred. I tried swapping grDevices::pdf for Cairo::CairoPDF and got the same result. I also tried generating SVGs using both grDevices::svg and Cairo::CairoSVG, and also got the same result. I see the same thing using R-devel and R3.2.2 under Windows, and (with an older version of R) under Linux. I don't know whether the problem is with grid's rasterGrobs, or how R writes PDF and SVG files, or with Inkscape and Firefox's method of rendering...
2010 Sep 29
1
svg plot and dashed lines
Dear users, When I boxplot(), the lines of the whiskers are dashed. However, when I save in an svg file, the dashed lines of the whiskers are not dashed anymore. How can I have the dashed lines in the svg file? I don't have this problem with a ps file, but I cannot edit such file as easily as an svg file. That's why I'd like to stick to the svg format. Thanks in advance, Ivan df
2010 Oct 11
0
help with Cairo
Dear users, As an alternative to RSvgDevice::devSVG, I have tried using Cairo and cairoDevice. When opening the svg file from Cairo::CairoSVG() as well as from cairoDevice::Cairo_svg() in Illustrator, I got a warning message (which is damn hard to translate since I don't understand it), something like: "clipping (?) will be lost at reexportation to format 'Tiny'". I then have a huge black square and some huge bla...
2011 May 19
2
Error in svg() : cairo-based devices are not supported on this build
Hello, Sorry if it is not the right place.. I installed R-2.13.0 on a x86_64 linux server. All went fine, but the svg() function yells: > svg() Error in svg() : cairo-based devices are not supported on this build I have the Cairo, cairoDevice, RSvgDevice packages installed, and running. > Cairo.capabilities() png jpeg tiff pdf svg ps x11 win TRUE TRUE TRUE TRUE TRUE