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

learn more… | top users | synonyms

0
votes
0answers
61 views

Mathematica embeds some fonts in PDF, some not [duplicate]

I want to use the Computer Modern font in my plots and export the graphics to pdf. The OpenType Latin Modern fonts are installed, but now some of them are not embedded if I export to pdf. For example ...
4
votes
1answer
41 views

JSON export truncates numbers to 6 digits of precision

It seems that in version 10.0.2 and 10.1.0, floating point numbers are truncated to only 6 digits of precision when exporting to JSON. Example: ...
5
votes
1answer
108 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? ...
0
votes
2answers
47 views

Exporting and Importing solution sets from NSolve

I have a rather large data set that I need to solve for, then save to my hard disk and import in the same format at a later time. This proves to be tricky. I use ...
2
votes
0answers
33 views

Export Tube with VertexColors to 3DS

I would like to export a Tube object with VertexColors defined to 3DS format. Here's a minimum example: ...
11
votes
1answer
345 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 ...
4
votes
4answers
5k views

How to export data files using specific format

Very often, I have to export data files from Mathematica. These output files contain several columns and hundreds of lines with data. For the sake of the question let's create a sample list ...
4
votes
1answer
44 views

GridLines in TimelinePlot do not export to EPS

The below TimelinePlot produces the proper figure within a Mathematica session, but when that figure is exported as an .eps figure (to be used in a $\LaTeX$ ...
4
votes
0answers
75 views
2
votes
2answers
69 views

Export Text with Colors

Is there a way of using Export[] method to take a text with colors (using Style) and then export to file, such that when I open ...
2
votes
0answers
46 views

Transferring analytic expressions from Mathematica to R

I have a series of large-ish algebraic expressions I would like to move from MM to R. I've no doubt the way I'm doing it is rather stupid, but so far the best way i've found is to use CForm and then ...
1
vote
0answers
44 views
14
votes
2answers
268 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
2
votes
1answer
100 views

AutoGeneratedPackage Formatting

If you do Ctrl+Shift+o you open an option inspector. And then you can enable ...
3
votes
1answer
124 views

Export collection of plots to A4 pdf

Sometimes I want to Export a collection of plots or other Graphics to a pdf in A4 format. Right now I'm using a GraphicsGrid inside a panel which is an inset in a Graphics object. Here is an example: ...
3
votes
0answers
51 views

Export to MX seems to corrupt the in-memory Dataset

I have a function that does a large number of calculations (by calling out to other smaller functions), and then builds a large Dataset object. Then I do two ...
5
votes
0answers
126 views

Incorporating photos into a Mathematica-made web page

I use Mathematica to make my web page. I make various .nb files, usually with photos, and then use an Export command to convert the .nb file to an .html file with ...
2
votes
2answers
246 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
13
votes
2answers
1k views

Failure to export graphics by right-click when Notebook magnification is changed

Bug introduced in 9.0.1 or earlier and persisting through 10.1.0 or later When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing ...
8
votes
1answer
226 views

Prevent Export from overwriting files

Export["filepath1",Expression1] works for me, but if filepath1 already exists, it will be overwritten. I'd like ...
7
votes
2answers
117 views

Stitching Mathematica-produced movies together

I have hundred thousands of images from a numerical simulation and want to make a movie from them. This is easy done with Export["movie.mov", imagelist] However, ...
2
votes
2answers
127 views

Bug: Export sometimes adds unwanted background to PDF files

Update: WRI confirmed that this is a known issue with Export on 2015-05-14. I am trying to export the outputs of some Plot expressions as PDF files for inclusion ...
4
votes
2answers
105 views

How can export into an .XYZ file using decimals without scientific notation?

I have seen the other posts relating to this however there seems to be more restrictions when exporting to .XYZ. I am pretty new to this but I have been searching for hours. Basically, I have a ...
3
votes
1answer
587 views

Exporting 2D graphics to DXF

I have a design that I've produced in Mathematica, consisting of two sets of Rectangle objects. The second set is a mirror image of the first and was produced with ...
2
votes
1answer
53 views

How to prevent ExportString from reencoding diacritics when exporting as JSON

I'm not sure if it's a bug with Mathematica or if I'm missing something, but when trying to ExportString a UTF-8 string with diacritics as JSON, it's messing up the ...
1
vote
0answers
16 views

Deleting the header footer in the PDF output of a Mathematica code [duplicate]

I just saved my Mathematica notebook as a PDF file and realized that every page (except the first one) consists of a header footer (I don't know whether this is the correct name or not) indicating the ...
1
vote
1answer
58 views

Change parentheses to square-brackets when using CForm

I'm not experienced with Mathematica, but am learning to appreciate its awesome power for manipulations. I get the an expression like this when using CForm (I cut ...
0
votes
0answers
32 views

ImageSize in Export

According to the documentation, Export["foo.eps", out, ImageSize->500] should produce a graphic that is 500 printer points wide. When I execute that command with ...
17
votes
2answers
2k 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 ...
0
votes
0answers
23 views

4D array not exporting to .mat file

I am using Mma 9.0 I am trying to export an array with Dimensions {5,100,160,160} to a .mat-file using the Export command, but ...
25
votes
7answers
4k views

Embed Code Into Image

I often export images(plots, matrix, arrays, etc..) from mathematica which I end up putting in word documents or uploading to the web. The problem is that I often lose the original code and I am left ...
0
votes
0answers
41 views

Exporting the NDSolve to matlab with the argument

a = Table[Evaluate[y[x] /. sol], {x, 0, 10, 0.01}]; Export["a.mat", a]; works just fine but ...
0
votes
1answer
49 views

Exporting multiple files [duplicate]

I used Mathematica to export plots of NM measurements with this code: Do[Export["Plot" <> ToString[i] <> ".pdf", Plottable[[i]], "PDF"], {i, NM}]; ...
4
votes
2answers
162 views

How to export plot legend independently?

Let us take an adapted example from Mathematica doc's: ...
1
vote
1answer
34 views

How to set ExportOptions for custom HTML exports

I need to customize some html tags when exporting a mathematica notebook to HTML. I have to use Save As (HTML) and not Export for some other reasons. So, to make a basic example, this is something ...
0
votes
0answers
31 views

Fontsize becomes too large when exporting a table to pdf [duplicate]

I have the following Grid ar = Grid[{{a, c, e}, {b, d, f}}, Frame -> All]; When I use Export["~/Desktop/grid.pdf", ar]; ...
0
votes
2answers
121 views

Generate a list with random values between a and b [closed]

I am trying to perform system identification.. To properly identify the system i have to give the system a "rich" signal which are able to "activate" all the modes of the plant. A rich signal would ...
0
votes
1answer
42 views

How to output matfiles in Mathematica?

I am new to Mathematica, if there is anything wrong, do not hesitate to tell me? ...
2
votes
1answer
35 views

Eliminating the backward play in a SWF export of Manipulate

I find that the Export of Manipuate contains backforward play, see a simplified example: Export["try.swf", Manipulate[ Plot[Sin[2 x + φ], {x, 0, 10}], {φ, 0, 2 π}]] You can see the problem in ...
0
votes
0answers
24 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following ...
14
votes
1answer
726 views

Automating FTP upload within Mathematica?

I have MMA-generated html and would like to automate uploading to a named directory to a web host via SFTP or HTTP POST, ideally without creating local temp files. The closest question I could find on ...
2
votes
1answer
123 views

How do I download and export data from many weather stations?

I tried this code, which downloads data from several weather stations. ...
12
votes
3answers
2k views

How do I export to Excel in multiple, named worksheets?

If I have two lists: list1 = {{1, 2}, {3, 4}}; list2 = {{5, 6}, {7, 8}}; I want to export these two lists to an Excel file and have ...
0
votes
0answers
24 views

Unable to save a notebook as pdf

I have removed all the dynamic and manipulate cells. I can save short selections as pdf, but when I try to select the whole notebook, or use save as - pdf, the result is just one page, sometimes the ...
0
votes
0answers
48 views

STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
1
vote
2answers
49 views

Dimensions of pdf generated by Export[…]

I'm trying to export a Grid table to pdf. When I display the table in the notebook, it has a very long aspect ratio, which I want to preserve in the pdf. However, ...
3
votes
1answer
135 views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
3
votes
0answers
43 views

Is there a way to create named ranges for spreadsheet exports?

I am trying to figure out whether I can tell Mathematica to name ranges for data that I am exporting? I want to use this data in CPLEX, which unfortunately doesn't allow the use of the R1C1 notation, ...
28
votes
3answers
754 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 ...
-5
votes
1answer
122 views

Exporting data from different notebooks to a common file

I am doing some calculations from different notebooks. I need to export the results from all those notebooks in columns of the same file, like a1 b1 c1 a2 b2 c2 a3 b3 c3 . . . where a, b ...