search for: gridsvg

Displaying 13 results from an estimated 13 matches for "gridsvg".

Did you mean: grids
2010 Oct 13
2
Scripting SVG with R
...ripted SVG, I am wondering whether there are already any examples of inserting R code into SVG documents (or a Javascript canvas?) either directly, or perhaps more likely through a JavaScript layer, to dynamically generate graphics or make them interactive? I am aware of the excellent packages gridSVG and SVGAnnotation, which facilitate making R-generated SVG plots more interesting either at construction time or by postprocessing; the above question is about employing R at viewing time. Best wishes Wolfgang Huber EMBL http://www.embl.de/research/units/genome_biology/huber
2003 Nov 12
2
Alpha values
Hi, Does anyone know whether it is possible to construct a colour for plotting with an alpha value as well as simply specifying rgb values? Crispin -------------------------------------------------------- This email is confidential and intended solely for the use o...{{dropped}}
2023 Mar 07
1
insert hyperlink into svg graphic
This was actually the first thing that ChatGPT debugged for me. The issue was that I was able to click on the link when I displayed the raw SVG in the browser (you can use that to test whether the syntax is even correct), but not when the svg displays inside a html page with the <img ...> tag. ChatGPT correctly identified the issue and suggested a solution using <object ...> tags
2013 Mar 01
3
interactive visualizations - anyone use SVGAnnotation?
Hi all:I found some great demonstrations of interactive presentation graphics generated in R with the SVGAnnotation package, here:http://www.omegahat.org/SVGAnnotation/http://www.omegahat.org/SVGAnnotation/SVGAnnotationPaper/SVGAnnotationPaper.htmlI tried to install the package available at that website (it's not on CRAN) and am getting some pretty uninformative errors (see below). My best
2003 Oct 14
2
Trasparent graphs?
Hi R-users and R-experts: Is it posible to make transparent graphics on R? I mean, one graphic with colors over another one but both visible with transparent options? Thank you for your help Kenneth --
2005 Mar 04
2
how to draw graphs within clickable hyperlink
Hi all I want to draw a graph containing points and edges. Package graphics could do this. However I want to make each those points and edges clickable with a hyperlink on them. Anybody know how to do this? Thanks very much.
2005 Sep 03
1
producing SVG files
I am trying to use the RSvgDevice package to produce some SVG graphs which I want to edit with Inkscape 0.42. Under Linux (Kubuntu 5.04) I use the following: library(RSvgDevice) plot(1:10, 1:10) devSVG(file = "/home/adi/Rplots.svg", width = 10, height = 8, bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE) but when I tried to load the file into Inkscape it
2006 Jan 15
0
Firefox slide show with embedded SVG
...n produce SVG output from ordinary plots, not necessarily just those made with grid. Since Firefox and Mozilla support SVG (in recent versions), this might be a good way to put figures in web pages in a way that can be easily scaled, and even (with tweaking) manipulated with scripts. (Note that gridSVG can also help here, although I haven't tried it.) I have now (finally) figured out how to get SVG into a slide show. I use Firefox for talks (and lectures). I remove the sidebar and all toolbars, and move the location window into the one remaining bar, the one with "File" etc. (I...
2013 Mar 13
1
2 questions about svg output
Hi everybody :) I use R to plot things in svg format. One of the things is text, of course. I noticed that text() in svg() gets saved as path, which is unacceptable for my purposes. (Interestingly, text() in cairo_pdf() gets saved as text.) Is there a way to save text as text in svg? And paths also is what I plot a lot. I know there is segments(), which plots disconnected segments, and things
2007 Mar 06
2
SVG and tooltips, hyperlinks
Dear all, is there a good way to create SVG plots with R whose elements have titles (tooltips) or act as hyperlinks? I am using the RSvgDevice package, which works great - but it doesn't seem to support the notion that plot objects have titles or are act as hyperlinks, so I am helping myself by giving the objects funny unique colors and then postprocessing the .svg file. I wonder
2011 Nov 18
1
How to fill irregular polygons with patterns?
Hi, I'm looking the best way to fill irregular polygons with patterns, Something like the function grid.pattern do, but my case is with irregular polygons. Whit this script I can get it, but I'm looking for an "elegant" solution.. library(grid) grid.polygon(x=c(0.2, 0.8, 0.6, 0.6, 0.8, 0.2), y=c(0.2, 0.2, 0.3, 0.5, 0.7,0.7), gp=gpar(fill="grey",
2017 Oct 24
3
draw a circle with a gradient fill
Hi all,I would like to draw a simple circle where the color gradient follows the rule color = 1/(r^2) where r is the distance from the circle. I would also like to add a color bar with values going from -40 to -110 (and associate those with the color gradient that fills the circle). So far I experiemented with draw circle
2007 Aug 05
1
Any "special interest" in R/pic interface?
Hi Folks, I'm wondering if there are people out there who would be interested in what would be involved in developing an interface between R graphics and the 'pic' language. Explanation; 'pic' has been part of the Unix 'troff' typesetting suite since very early days (1970s), and also of the GNU troff: 'groff'. Its function is to act as a preprocessor,