Questions on converting data, graphics, sound etc. from Mathematica into other file formats.

learn more… | top users | synonyms

5
votes
2answers
165 views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
11
votes
2answers
3k views

How to dynamically name and date a file for export?

I have various functions that export Excel and text files, and need to have them named with a name based on the content of some variables in the function and the time and date. How can this be done ...
48
votes
1answer
1k views

Export Code to Pseudocode?

I'm writing a paper and all my code is in Mathematica. The snippets are mostly simple, and consist of loops, maps, variables, and conditionals. I'd like add it to my paper, however, not many academic ...
16
votes
3answers
4k views

How to convert a 2D image into a 3D graphics?

I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this? Can ...
39
votes
2answers
1k views

My donut has holes in it!

More than one hole, I mean… I’m trying to export from Mathematica into the X3D format, with the longer term goal of generating 3D figures for PDF inclusion. But I'm stuck at the first step: ...
12
votes
1answer
747 views

Exporting numbered equations to HTML/TeX using conversion rules

This question is a follow up from this one. It may also be considered a duplicate since I have already asked this question in stackoverflow almost a year ago. For a background on using numbered ...
12
votes
2answers
644 views

Exporting notebook to HTML, using conversion rules

The idea is to export the whole notebook to HTML with all the math equations in latex form. In this way we can add the mathjax script and it will take care of the math. Suppose we have the following ...
16
votes
1answer
3k views

How to export transparent raster plots?

Is there an easy way to get transparent plots that work with Save Graphic As using a compatible file format such as GIF or PNG? I tried ...
16
votes
4answers
2k views

Printing exported PDF graphics fails (version 8)

When I export even simple graphics, say, a DateListPlot to PDF under Windows, it refuses to print on any of the printers at work. Acrobat (Reader X) throws three ...
13
votes
1answer
379 views

Pass Options to Export[]

I'm working with Options to change the look and feel of some generated Graphics by passing Options to several functions, one of them being Export[]. For example: ...
12
votes
3answers
2k views

How can I transfer mathematical expressions between Mathematica and Maple?

Is there a simple way to copy mathematical expressions between Mathematica and Maple (or at least in one direction)? I mean only expressions built from numbers and predefined mathematical functions, ...
16
votes
2answers
567 views

Rasterize: Resolution option not working properly

Something about Rasterize which doesn't seem to work as intended. Recipe: Make some simple vector graphics: ...
6
votes
1answer
982 views

ImageSize as absolute (metric) value

I have wondered more and more often lately how the size of an image is handled when displayed or exported. The documentation implies that the via ImageSize the ...
13
votes
3answers
829 views

PDF exports of ArrayPlot's are fuzzy (OS X)

This is now fixed in version 10.3. The problem is present up to version 10.2 only. [The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a ...
12
votes
3answers
4k views

Saving high-quality graphics through commands

Say I make and display a graph in a Mathematica notebook: graph = CompleteGraph[100] If I drag the corner of the graph to increase its size, and then save it to ...
11
votes
2answers
308 views

Sqrt disappeared when exporting plot to PDF in version 10

Bug introduced in 10.0.0 and fixed in 10.1.0 In version 10, if we plot with Sqrt in y-axis, and export to PDF, the square root disappears in the PDF file. ...
10
votes
3answers
425 views

Export MatrixPlot graphics to PDF

I am trying to export a plot generated by MatrixPlot to PDF but am having problems with the way the exported PDF is rendered. ...
7
votes
1answer
255 views

Exporting equations from Mathematica to Corel with full Latex quality

I am wondering if there is any possible solution to exporting equations from Mathematica to Corel. I was trying first to export an equation as pdf from Mathematica and then to import .pdf to Corel, ...
6
votes
5answers
488 views
4
votes
2answers
282 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 ...
9
votes
2answers
287 views

How to export Speak output?

I made a series of interval workouts based on Speak[], where the voice tells me when the intervals start, when they stop and how much time I have left to prepare. ...
7
votes
1answer
488 views

Export to PDF on OS X, font missing on Windows

Here is another problem with Mathematica plots and PDF. I have Mathematica 9.0.1 on Mac OS X. I want to export my plots to PDF to include them in a LaTeX document. If I export the plot with the ...
7
votes
2answers
828 views

Cropped pdf file after export

I have plot generated by Plot[] function that I want to export to pdf file. The problem is that Export[] function somehow cuts a ...
6
votes
3answers
451 views

How to preserve clipping when exporting a framed histogram with font embedding?

I work with histograms and would like to export it to EPS format. I've noticed that my exported image loses the PlotRangeClipping option that I set up when I export the plot. This is true for at least ...
5
votes
1answer
143 views

How to monitor the progress of exporting of animated GIF?

My Export is taking a very long time, I was hoping there might be a way to monitor the progress when exporting graphics? ...
2
votes
2answers
186 views

Problem with NumberForm when exporting

I have a two-part question regarding NumberForm First question In my attempt at answering this i stumbled upon a strange behavior by NumberForm when the final result is exported. Lets say I ...
6
votes
0answers
267 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors [duplicate]

Bug introduced in 9.0.1 or earlier and persisting through 10.0.2 or later I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be ...
3
votes
1answer
356 views

Exporting lists to files

I am trying to write a program which will generate a list of objects and then exports it in a separate file and clears its memory. As an example I tried the following ...
2
votes
2answers
1k views

Interpreting the interpolating function and saving data to plot with external program

So far I have been solving non-linear pdes with NDSolve and then plotting the result with the in-built Plot3D and ...
33
votes
3answers
1k views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
28
votes
1answer
389 views

Exporting extremely large images; arrays generated via TensorProduct use 5 times as much RAM as expected?

I am generating plots of the roots of certain classes of polynomials, in the spirit of the multicolored visuals on the Wiki page on algebraic numbers. I've thus far been able to make some extremely ...
24
votes
1answer
434 views

How to export a Mathematica notebook into Markdown?

Is there a way to export a Mathematica notebook into Markdown? I'm sure it's possible to implement rules for converting each Mathematica cell subexpression into Markdown, but I'm also sure that I ...
17
votes
2answers
3k views

Edit a Mathematica plot in Illustrator, missing font problem

I export my Mathematica generated plot as an eps and then open it in Adobe Illustrator to make a few changes. When I try to do this I get this error message: Times-Roman: Font not found on ...
11
votes
1answer
495 views

Dynamic visualization of Graph[] on a webpage

How can we embed a dynamic version of a Graph object on a web page, similar to the one showcased on the networkx home page? This sort of dynamic visualization can ...
24
votes
2answers
414 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
13
votes
3answers
4k views

Changing the speed of exported AVI videos

I am exporting an animation created using Manipulate in the .avi format. However the video runs very fast (I am putting it in ...
9
votes
2answers
1k views

Exporting data from Excel into Mathematica using clipboard

I know that it's possible to import Excel data into Mathematica using the Import command, as we can see in this post. But some times, I need just to do some fast ...
16
votes
2answers
825 views

Exporting a dashed plot with a color gradient to a vector graphics format ruins the dashing

When exporting a dashed plot with a color gradient to a vector graphics format such as EPS or PDF, the dashing is partly ruined. For example, this command: ...
8
votes
1answer
169 views

Remove the extra white-space padding introduced by implicit use of Inset in GraphicsColumn

Simple Context This is a question about understanding how Inset really works and how GraphicsColumn and the like automatically ...
8
votes
2answers
1k views

Converting a notebook to plain text programmatically

It is possible to export a notebook to plain text format (practically just extracting all the text from it and discarding formatting) using the ...
10
votes
1answer
424 views

How can I use “Save as (html)” and still render code as text?

I use notebook "Save as ... (html)" to convert my .nb to web. Formulas and plots get converted to images, which is fine. But code (input cells) get converted too into images. I would like people to be ...
9
votes
2answers
205 views

Export[] performance

Consider this sequence of commands: ...
8
votes
1answer
1k views

Quality control when exporting graphics into JPG

If I export a graphics from Mathematica to JPG format the image quality in JPG is visibly lower than that in Mathematica. Is it possible to control and eventually increase the quality of the exported ...
7
votes
4answers
1k views

Obtaining better quality in ListPlot

I have a data file which can be downloaded from here. In order to plot this, I use the following Mathematica code ...
7
votes
2answers
1k views

Is it possible to export a graph as graphic to Excel?

It is straightforward to export lists to Excel with Export. Can I export a graphic image, too? This does not work: ...
6
votes
2answers
1k views

Exporting interpolating functions to excel

I have a question about exporting an InterpolatingFunction to excel. I checked the forum, but I still couldn't completely understand how to solve my problem. Could someone help me with this problem? ...
5
votes
1answer
620 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: ...
21
votes
2answers
473 views

Is Compress[] compatible between different Mathematica versions?

Compress[] was introduced in version 6 of Mathematica. It gives a compressed version of expressions represented as a string of ASCII characters. It preserves more ...
10
votes
1answer
314 views

How to work around incorrect tooltips in plots exported to HTML

This is an issue that I always wanted to investigate but haven't gotten around to solving yet: The tooltips for contour lines in a plot like this can be very useful in the Notebook interface: ...
9
votes
1answer
509 views

Generating high quality charts in Mathematica for use in LaTeX and Word

I frequently have a probelem using my charts in reports because the text (axes labels and tick marks) look low resolution (fuzzy). When I export my charts, i export them as PNG files. Unless I'm ...