Displaying 20 results from an estimated 10000 matches similar to: "SVG and user interaction"
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
2007 Jun 11
5
Problem with RSVGTipsDevice
Hi there.
I am still trying to get the RSVGTipsDevice to work, yet I can not.
I have copied the first example from RSVGTipsDevice documentation:
library(RSVGTipsDevice)
devSVGTips("C:\\svgplot1.svg", toolTipMode=1,
title="SVG example plot 1: shapes and points, tooltips are title + 1 line")
plot(c(0,10),c(0,10), type="n", xlab="x", ylab="y",
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
2010 Nov 12
1
Graphics API version mismatch with RSVGTipsDevice
Dear Colleagues
I have been struggling with a problem and could not find a similar
previous posting in any of my searches, so I decided to write to the
list. I am trying to produce svg files from plots using RSVGTipsDevice
in R 2.12.0 in Ubuntu 10.04, but I am getting the following error
message:
> require(RSVGTipsDevice)
Loading required package: RSVGTipsDevice
> devSVGTips(file =
2007 May 04
0
new package: RSVGTipsDevice: create SVG plots with tooltips & hyperlinks
the DESCRIPTION file:
Package: RSVGTipsDevice
Version: 0.7.0
Date: 04/30/2007
Title: An R SVG graphics device with dynamic tips and hyperlinks
Author: Tony Plate <tplate at acm.org>, based on RSvgDevice by T Jake
Luciani <jakeluciani at yahoo.com>
Maintainer: Tony Plate <tplate at acm.org>
Depends: R (>= 1.4)
Description: A graphics device for R that uses the w3.org
2007 May 04
0
new package: RSVGTipsDevice: create SVG plots with tooltips & hyperlinks
the DESCRIPTION file:
Package: RSVGTipsDevice
Version: 0.7.0
Date: 04/30/2007
Title: An R SVG graphics device with dynamic tips and hyperlinks
Author: Tony Plate <tplate at acm.org>, based on RSvgDevice by T Jake
Luciani <jakeluciani at yahoo.com>
Maintainer: Tony Plate <tplate at acm.org>
Depends: R (>= 1.4)
Description: A graphics device for R that uses the w3.org
2023 Mar 07
2
insert hyperlink into svg graphic
Perhaps this thread on stackoverflow (from a search on "include hyperlink
in svg graphic") may be of use:
https://stackoverflow.com/questions/41970535/a-hyperlink-in-svg-use
Cheers,
Bert
On Tue, Mar 7, 2023 at 12:34?AM Rusty Travis <rusytravis19 at gmail.com> wrote:
> Greetings,
>
> I am creating plots of weather data and wish to include a link to the
> data source
2023 Mar 08
1
insert hyperlink into svg graphic
Hi
On 8/03/23 15:27, Rusty Travis wrote:
> On 3/7/23 13:12, Paul Murrell wrote:
>> Hi
>>
>> I think the main issue here is that you are *drawing* text on the
>> graphics device, so I would only expect to see literal XML text output
>> in the result.
>> '''
>>
>> Hope that helps
>
> Thank you for your consideration of the
2006 Mar 27
2
svg image link
the link_to command is really nice, especially with confirm built in -
wondering if there is a way to use it with SVG images since SVG doesn''t
seem to work with image_tag
I can display svg images (in Firefox) with the following code:
<embed width=32 height=32 src="/images/quit.svg"
type="image/svg+xml"></embed>
"normal" link_to code:
2023 Mar 08
1
insert hyperlink into svg graphic
On 3/7/23 13:12, Paul Murrell wrote:
> Hi
>
> I think the main issue here is that you are *drawing* text on the
> graphics device, so I would only expect to see literal XML text output
> in the result.
> '''
>
> Hope that helps
Thank you for your consideration of the matter, but that seems
extraordinarily overly-complicated for the results of
2023 Mar 07
1
insert hyperlink into svg graphic
Greetings,
I am creating plots of weather data and wish to include a link to the
data source into a title() object in the plot. My syntax must be wrong
though, as the hyperlink doesn't display, just the text and tags.
> svg("/tmp/temps.svg", width=9, height=6)
> #plot created here
> title(sub="produced by Rusty Travis? \nusing data from <a
2011 Dec 20
1
Why is the 64bit Windows version of package RSVGTipsDevice not available on CRAN?
On CRAN, the package RSVGTipsDevice is only installed for 32bit Windows, and is not available as a 64bit package for Windows.
The file linked to in the package check summary on CRAN says "NB: this package is only installed for sub-architecture 'i386' ".
What do I need to do to make it available as both 64bit and 32bit on CRAN? (I am the maintainer of the package).
It builds,
2012 Jan 03
1
Options for generating editable figures?
Hello all,
I'm using R to produce figures for people who want to be able to edit
the figures directly, and who use PowerPoint a lot. I use a Mac, and I'd
appreciate any advice about how to approach this. Here's what I've come
up with so far:
1) I can use xfig() and then ask them to install Inkscape to edit the
files. Downsides are no transparency and a learning curve with
2007 May 28
1
svg as a spescial case for image
SVG starts to become more useful in browsers like Firefox, OmniWeb,
Opera and soon Safari. There is a couple problem. Since no browser
support svg embedded with img one need to fall back to html from:
<object data="/path/to/img.svg" type="image/svg+xml"
width="512" height="384">Alt text</object>
Second, one need to write the width
2019 Jun 19
3
point size in svg
Hello, All:
????? I'm unable to control the font size in plots to svg.? Consider
the following:
svg('cex-svg.svg')
cex. <- 5
plot(1:2, cex.axis=cex.)
text(1:2, 1:2, c('as', 'DF'),
????????? cex=cex.)
dev.off()
????? When I open this in Gimp 2.10.4, the font size is tiny.? I also
tried:
svg('cex-svg.svg', width=15, height=15, pointsize=24)
cex.
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
2011 Mar 14
2
svg malformed on CentOS (epel R)
There is an issue with the default svg device on a centos workstation that I
am using. It does not result in an error, but it produces malformed svg
images. Exactly the same script works just fine on an ubuntu box. On Ubuntu
I am using R binary that comes with maverick, on centos I am using the
latest R binary from EPEL. Other than that both boxes are pretty clean, with
only the dependencies
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong
Version: 2.8.1
OS: Mac OS X 10.4
Submission from: (NULL) (78.149.167.246)
When printing a plot to and svg file, text intended to be in italics is rendered
in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9.
For example, try viewing the test.svg file generated by
svg("test.svg", width=4,4,8)
plot.new();
2009 Jul 31
1
SVG output on Windows OS
How may one save a graphic as svg on Windows? The svg() command is
recognized and functions well on Linux, etc., but not on Windows, it seems.
I'm trying to use Hadley Wickam's ggplot2 and I would like to be able to
save created charts as svg for later input into Illustrator. I am able to
accomplish this workflow under Linux, but I don't know how to get R to
recognize the svg() command
2006 Mar 17
6
SVG showstopper
We seem unable to get SVG running under Rails with apparent memory
conflicts between the SVG xml object and parameters. For us, unless we
can get SVG running okay under Rails, it is a showstopper for us to use
Rails.
There seem to be only 2 examples out there for SVG, the graph project
that actually converts SVG to another image format (way too
cumbersome/unworkable for our needs) and the