Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [svg-format]

Questions on the use of Mathematica to export in SVG vector graphics format.

3
votes
0answers
38 views

Is there a limit to the amount of data that can be Run?

I need this command to work through the WolframKernel and it seems well beyond my understanding why it does not work above a certain amount of data size I'm passing to ...
4
votes
0answers
66 views

Specify an SVG encoding algorithm?

This recursive function definition creates a number series that I'm interested in: f[y_][x_] := f[y][x] = Mod[10 f[y][x - 1], y]; f[y_][1] = 1 When applying it ...
0
votes
1answer
84 views

How to save the image generated by Plot3D as svg? [duplicate]

pic11 = Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}];Export["ff.svg", pic11] The generated svg diagram is very vague, why is this? How to convert the map ...
1
vote
0answers
59 views

Saving in 2D and 3D in vectorial (pdf or svg) format

Good Day everybody, I have difficulties to save both 2D and 3D plots in vectorial format. I can get acceptable results if I save manually: righ-click on image, "Save Graphic as..." or "Print as...". ...
-1
votes
1answer
103 views

Visualising the Twelve Days of Christmas in 3D [closed]

On a related topics, here. I am wondering if it is possible to make a better visualisation of this svg file in Mathematica, so I can see it in 3D and rotate it too. Note if you pause your mouse onto ...
6
votes
3answers
262 views

Why do grid marks appear when exporting SVG but not EPS?

Observe the following Mathematica Code: ...
5
votes
1answer
411 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
0answers
82 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: ...
5
votes
1answer
125 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 ...
2
votes
1answer
62 views

Exported SVG graphic has numbers along edges

I'm trying to export a stream plot to an SVG grapic. I make the stream plot like this: g = StreamPlot[{-x, y}, {x, -3, 3}, {y, -3, 3}] Then export it like this ...
4
votes
1answer
111 views

The width and height for resulting SVG when Exporting

I Export a Graphics object to SVG, but how do I control the bounding box in the resulting SVG file? Here's my code: ...
2
votes
0answers
77 views

How to get smooth fonts in SVG graphics generated through a WolframScript script?

Below are screenshots of the x-axis labels plots generated and exported in SVG format using exactly the same code, either "interactively" or "programmatically": interactively programmatically By "...
2
votes
0answers
170 views

Exporting rasterized graphics to svg does not create a single raster image in Mathematica 11

I am trying to export a rasterized density plot with vector axes and vector graphics overlayed. E.g. ...
0
votes
0answers
54 views

Problem displaying “/” correctly in exported svg file of Plot in Mathematica 8

In a plot, I use "/" on the axes labels to denote units. E.g. "t/s" meaning time in seconds. I believe this is pretty standard in Physics. ...
9
votes
1answer
332 views

Plot axes are not exported to SVG properly in Mathematica 10.1

In the past, I was able to export Mathematica plots as SVG files with relative ease. However, when I tried to do this recently, I found that the text in the plot axes was rendered completely illegible,...
1
vote
1answer
536 views
5
votes
1answer
1k views

Problem When Trying to Export Graphics with Transparency to SVG

I'm trying to export a graph as a graphic to an SVG file with transparent background. When the background is specified as a color (or unspecified), it works just fine. When the background is specified ...
2
votes
0answers
336 views

Read in Bézier curve from SVG file

I am trying to do some calculation of some SVG file. After reading in with Import["filename", "XML"] and some easy operation, I can get the string of the Bézier ...
8
votes
1answer
279 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 ...
12
votes
1answer
1k views

How can I set id attribute of elements when I export an SVG file?

Suppose I have a Mathematica graphic such as g = Graphics[{Disk[{-1, 0}, 1/2], Rectangle[]}] I would like to be able to export this graphic from Mathematica as ...
11
votes
1answer
1k 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: ...
34
votes
3answers
4k 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 ...
6
votes
2answers
439 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 ...
22
votes
0answers
655 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 ...