Questions tagged [svg-format]
Questions on the use of Mathematica to export in SVG vector graphics format.
12
questions
44
votes
4
answers
6k
views
How to translate interactive graphics from Mathematica to standard HTML+SVG?
I have a simple interactive plot in Mathematica, with controls for various parameters. The point of the plot is simply that users can explore how the plot changes as the parameters change by ...
12
votes
1
answer
2k
views
Exporting Mathematica expression as SVG
I was thinking it would be nice if I could export Mathematica expressions as svg, but I am having some issues. At first blush everything seems to work fine. This piece of code does produce a svg file:
...
6
votes
2
answers
609
views
How can I get Mathematica to include size information in exported SVG?
When I use Export to export graphics in SVG format, the exported file contains no width ...
8
votes
1
answer
367
views
Avoiding overcomplicated structure of groups, masks and splited text on vector format plot export
I'm trying to generate a template for exporting figures and plots in a consistent way that will allow easy editing in any vector based drawing software (such as illustrator). My problem is that ...
8
votes
1
answer
2k
views
Exporting 2D projection of 3D graph in SVG form
For 3D, Mathematica does not export SVG as vector graphics, it just puts an encoded png image inside svg file. Same happens if one exports as .eps or .pdf
This question does not address the problem ...
0
votes
0
answers
202
views
Using Export to save output of Show as an svg file makes disorders text in the files
I used the code shown below to save the output of Show:
...
23
votes
1
answer
842
views
Getting EPS imports to respect the original fill rule
One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
19
votes
3
answers
2k
views
How to import SVG files?
In the document I found that SVG files can be exported, but there is no information of Import.
How can I do that?
7
votes
4
answers
982
views
Converting an Unicode's image into polygon data for an SVG
So, I have the the Chinese character 熙, which I can easily turn into an image:
img=Rasterize[Text[Style[FromCharacterCode[{29081}], FontSize -> 300]]]
which ...
7
votes
1
answer
747
views
How can I copy a figure to the clipboard in SVG?
I frequently include plots in my emails. The easiest and most reliable way I have found is to just capture a part of the screen using greenshot (Windows) and paste into the message.
Microsoft ...
6
votes
3
answers
288
views
How to export a .svg with same width as the front-end window
ResourceFunction["CreateSortableUniqueID"][20]
As we see, each row has 2 UUID in the current window. But when I export ...
6
votes
3
answers
819
views
Why do grid marks appear when exporting SVG but not EPS?
Observe the following Mathematica Code:
...