Gadfly.jl
Gadfly.jl copied to clipboard
[Q] Is there a way to zoom in the vanilla SVG files (no JS)?
Is there a way to zoom in the normal JS-less SVG files as we can do with SVGJS? I mean, is the interactive zooming feature of SVGJS something specifically implemented by Gadfly in JS or something that can be done generally given the right viewers? I ask this because it seems to me that using SVGJS is less "portable" than vanilla SVG (e.g., converting it to a PNG later on). But the fact that SVGJS plots can change their original scale is also pretty appealing, so I am wondering if it's possible to get both.
On a side note: Is there a way to generate a plot with a given zoom factor? I know changing the scale is possible by setting xmin and et al, but just setting a zoom factor is easier. (It should just work like the interactive zoom of SVGJS.)
I think some browsers have extensions that do svg zooming (google zoom svg extension).
Side note q: I don't think there's a way to generate a plot with a given zoom factor, but it's worth investigating if that can be implemented.