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

learn more… | top users | synonyms

50
votes
0answers
2k views

Numbered equations/formulas

How do you number equations in Mathematica notebooks so that they are exported correctly into latex? In case you don't know how to put numbered equations here is quick review. Open a new notebook ...
10
votes
0answers
83 views

Is there a way to stop Export if the file size is too big?

I've got code that's exporting a file, but the file might be so big that it will take up too much space on the cluster I'm using and crash other users' processes. Is there anything like ...
10
votes
0answers
240 views

Setting non-standard ImageResolution for EMF export as default

Mathematica has a bug in that BarCharts and ListPlots with Filling will export as a ...
8
votes
0answers
397 views

How can I export aligned equations to $\LaTeX$?

Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as: ...
7
votes
0answers
114 views

How to export a text into eps without splitting

I want to use MathPSFrag in Mathematica to export graphics to EPS for inclusion in LaTeX files. However, with recent versions of Mathematica this does not seem to work very well anymore. I have fixed ...
7
votes
0answers
299 views

What are the known differences between Save and DumpSave, and how to account for them?

Edit: I changed the title and (slightly) the wording of this question in order to make it more easily answerable. If I evaluate this in Mathematica 9: ...
5
votes
0answers
121 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 ...
5
votes
0answers
169 views

How to fix a PDF line rendering problem in V9

If I run this in V8 ...
5
votes
0answers
372 views

Mathematica inserts extra \left and \right for absolute values in LaTeX output

Type the following in a Mathematica DisplayFormula cell(other styles may also encounter this problem): Esc+l+|+Esc and Esc+r+|+Esc, and save as LaTeX. Note: See the difference of the character ...
5
votes
0answers
223 views

Exporting large numbers in WDX format

I have a list of 10 000 3×3 matrices in Mathematica. The entries are rational numbers. I would like to write this to a file so I can load it again in the future. After some fussing with file formats, ...
5
votes
0answers
522 views

Export matrix to $\LaTeX$ with style

Is it possible to export a matrix to $\LaTeX$ with style? For example this code will create a matrix with equal spacing matrix and with background colors in some cell, is it possible to export that ...
5
votes
0answers
173 views

Can styles be exported in EPS as simple text tags for use by LaTeX's psfrag?

Is there a way to export graphics as EPS so that LaTeX can perform style substitutions or modifications on them? I know that it is possible to replace simple text elements in imported EPS files using ...
4
votes
0answers
131 views

Problem importing individual frames from QuickTime file

I am having difficulties with a code I am trying to run. Essentially I want to Read in a large .mov video file (60000+frames). ...
4
votes
0answers
350 views

How can I create jpeg images of a given file size?

Cross-posted at Wolfram Community I would like to have a function makeJPG[megabytes_] that generates random jpg images of given file sizes with itf filesize (in megabytes) watermarked on the image ...
4
votes
0answers
236 views

Strange behavior of undocumented RawArray and ArrayObject expressions

I discovered several strange results and inconsistencies while trying to understand what undocumented RawArray and ArrayObject ...
3
votes
0answers
72 views

How to export a Mathematica notebook into Markdown?

Is there a way to do this other than html + pandoc?
3
votes
0answers
48 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 ...
3
votes
0answers
42 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, ...
3
votes
0answers
127 views

Export to JSON format specifically for MongoDB

It is a nice thing that, if you have a data as a list of rules (even nested), Mathematica can export them in JSON format. After generating useful data in Mathematica, Therefore, it seems it ought to ...
3
votes
0answers
70 views

Export and manipulate 3d plots

How can I export 3d Mathematica plots such that I can put them into a presentation and still being able to rotate them? Is there a specific format or does it depend on the program used to create the ...
3
votes
0answers
120 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: ...
3
votes
0answers
74 views

Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
3
votes
0answers
171 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
3
votes
0answers
271 views

Exported PDF figure looks different in Apple's Preview than in Adobe PDF Reader

I'm trying to export figures into pdf, and the results looks good in Preview, but very bad in Adobe pdf reader. I'm using Mathematica version 8 on Mac 10.8.5. The Preview version is 6.0.1 (765.6) and ...
3
votes
0answers
206 views

Exporting Specific Cells of Many Workbooks into One using Mathematica

I currently have a large number of detailed files from which I would like to extract certain cells' information to make an Archive spreadsheet. There are approximately 9 parameters of each ...
2
votes
0answers
100 views

Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: ...
2
votes
0answers
38 views

Export on local machine results of a parallel computation using remote kernels

I've got a long calculus to do with Mathematica. I've Parallelized the code using local kernels and remote kernels. I'm using a ParallelDo loop with an ...
2
votes
0answers
32 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: ...
2
votes
0answers
43 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 ...
2
votes
0answers
126 views

problem exporting eps figures since mathematica 10

I am having trouble when exporting eps figures since I have upgraded to mathematica 10.0 in linux. Basically the text in the frame label and in the frameticks come out bad. The letters are much to ...
2
votes
0answers
99 views

Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
2
votes
0answers
57 views

Export Time-dependent STL Graphics

I have recently found that Mathematica may export files (.stl) which may be used for Blender (3D pictures and animations). However, I am interested in mathematics visualization, and I suppose that ...
2
votes
0answers
71 views

Frame text is cropped while exporting as EPS

I have generated an eps file with using Export["filename.eps", figure, "eps"], but the text on the frame labels and tick numbers are cropped like this: Screenshot ...
2
votes
0answers
117 views

Exporting BSplineSurface to STL

I have encountered some difficulties getting BSplineSurface to export to STL. The following code works and generates a triangulated polygon mesh from the NURBS ...
2
votes
0answers
183 views

Export Notebook causes an INTERNAL SELF-TEST ERROR: Files2|c|1713 message

On my machine (Windows 8.1) and M10 the following two lines, that must be run on an already saved notebook, ...
2
votes
0answers
91 views

Add content to an existing .zip file

I have been looking over the .zip documentation from Mathematica (http://reference.wolfram.com/mathematica/ref/format/ZIP.html). It seems pretty straighforward to export and import from/to a .zip ...
2
votes
0answers
38 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
2
votes
0answers
63 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
2
votes
0answers
160 views

Tooltip in Listplot - Export to PDF

I would like to export a listplot as a PDF document without loosing the tooltip information on the single points. It kind of works with hyperlinks. Nevertheless this workaround is pretty limited and ...
2
votes
0answers
65 views

The “right” way to define a custom Encoding format?

I have implemented an Import|Export format for xz that behaves like gzip and other encoding formats: ...
2
votes
0answers
117 views

How do I incorporate metadata using Export?

I have Export["file.png",codeThatMakesAGraphicsObject[],"PNG"]; and want to embed some specific metadata information. Is there a simple way to do that? Note ...
2
votes
0answers
205 views

Controlling page breaks

I'm writing a bunch of cells to a new notebook nb and am trying to control the pagebreaks. That is, I want a pagebreak after each Length[listOef] number of cells. ...
2
votes
0answers
260 views

Script with command line argument

As a test I want a simple script to take a command line argument and print it to a file: ...
2
votes
0answers
175 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
2
votes
0answers
814 views

Automatically sending to Print (using CutePDF Writer)

I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
2
votes
0answers
94 views

What exactly does AddTeX2Eps do and how does one use it?

What exactly is Janko Slavic's addon package AddTeX2Eps supposed to do, and exactly how does one get it to work? I do understand it's supposed to allow one to use TeX ...
1
vote
0answers
43 views

ImageAssemble and Export gif takes too much memory

Errr.... First Let's create some gifs: ...
1
vote
0answers
66 views

Transforming/exporting text to image

I have a string in a .txt which I process as follow: ...
1
vote
0answers
21 views

How to specify alignment of columns when exporting a table using Export, and how to use spaces instead of tabs?

I have a table in list representation. How can I export it, specifying that some columns must be right-aligned and others left-aligned? Morevoer, columns should be space-separated (with an appropriate ...
1
vote
0answers
85 views

Append new data to excel?

From this post I know that I can export my data from mma into any given position (such as "B3"), but now I want to append new data to the old one. As an example, ...