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

learn more… | top users | synonyms

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
104 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: ...
1
vote
0answers
27 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 ...
13
votes
2answers
198 views

Can Mathematica produce manipulatable WebGL 3D plots?

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 ...
3
votes
1answer
50 views

Running bits of code in a separate kernel

I am using Mathematica to generate 3D graphics frame for a video. The process goes as follows: Loop over a counter i Use ...
5
votes
0answers
111 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
237 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
1
vote
1answer
103 views

Exporting File Outside Home Directory

When running Mathematica (v10) on my Raspberry Pi, I'd like to output an image file to a directory other than /home/pi. I understand that letting Mathematica write ...
12
votes
2answers
943 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
204 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
100 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
98 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 ...
0
votes
1answer
40 views

Is there the possibility to write many times a value in definite list of file1.nb?

The commands testData = RandomReal[{0, 1}, {1, 1}]; Export["C:\\Users\\Alex\\Desktop\\1\\file1.nb", testData]; write the “testData” (value generated by ...
4
votes
2answers
89 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
550 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
40 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
11 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
45 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 ...
9
votes
1answer
391 views
0
votes
0answers
28 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 ...
16
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
19 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
3k 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
25 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 ...
1
vote
2answers
42 views

Export Text with Colors

There is someway using Export method to take a text with colors (using Style) and the export to file, such that, and after, when I open this file, the text show it ...
0
votes
1answer
38 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
144 views

How to export plot legend independently?

Let us take an adapted example from Mathematica doc's: ...
1
vote
1answer
28 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
30 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]; ...
4
votes
2answers
119 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
5
votes
1answer
169 views

Conversion to TeX results in infinite recursion

Bug introduced in 9.0 and persisting through 10.1 or later Confirmed as bug by WRI: [CASE:3059683] I'm trying to export to $\TeX$ a Message cell. For example, ...
0
votes
2answers
106 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
39 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
27 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
18 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
692 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
104 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
1answer
184 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
3
votes
1answer
158 views

Exporting multiple arrays in a single HDF5 file in Mathematica 7

I am using Mathematica 7 and I need to export a table of data and the corresponding x and y arrays. I would like to format them ...
0
votes
0answers
19 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
27 views

STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
1
vote
2answers
44 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
82 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
41 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, ...
26
votes
3answers
649 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
120 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 ...
0
votes
1answer
70 views

Unexpected results from output with NumberForm and ScientificForm

I wrote this little function to help me export tables with formatted numbers to files: (By the way, if you have suggestions on how to make it more efficient and compact, it would be great) ...
32
votes
3answers
2k views

How to do http POST in Mathematica?

The Import command lets you do a HTTP GET from a URL, like this Import @ "http://merkosoncampus.com/wp-content/uploads/2011/05/higgs-boson.jpg" This sends an ...
1
vote
1answer
33 views

Speeding up EPS exporting ?

I'm using Mathematica 10 to render some figures, and I'm noticing some strange behaviour with EPS figures. I'm making figures like the one below in EPS format. And to do so, I use some code like ...