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

learn more… | top users | synonyms

0
votes
1answer
14 views

Elegant ways of solving this file batching task

There are a batch of data files in a folder (dir = "D:\\Documents\\datadir"), each of which consists of a list of data items, one per line. Each data item is a pair ...
0
votes
0answers
22 views

FeynRules issue when trying to export UFO file

I am having problems with the UFO file generated by a very simple model using FeynRules. The following error occurs when MadGraph tries to import the "Model_UFO" file: ...
1
vote
1answer
73 views

Greek letters do not export correctly

Here is a simple plot P0 = Plot[x, {x, -7, 7}, Frame -> True, FrameLabel -> {"Ω", "Y"}] Then I want to export as .pdf it using ...
0
votes
1answer
80 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 ...
18
votes
1answer
8k views

Is it possible to export the equations from Mathematica to MATLAB?

Is it possible to export the output expressions from Mathematica computations (e.g., equations) in valid MATLAB syntax?
11
votes
2answers
142 views

Mathematica, animations, and external ray tracing programs

As much as I enjoy and admire Mathematica's animation capabilities, I would like to take my animations to the next level by exporting the geometry of every frame to an external ray tracing program ...
2
votes
1answer
51 views

How to export a ParametricPlot3D as .stl for 3D printing

I am a attempting to render and export a model lorenz attractor to .stl using Mathematica, so that I may 3D print it! I was able to come across a notebook (from a deeper end of Mathematica than I swim ...
0
votes
1answer
40 views

AutoGeneratedPackage Formatting

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

How to print $\odot$ without it being cropped? (\[CircleDot] symbol)

Preamble: In some applications (astronomy, cosmology, etc), it is useful to measure things in solar quantities, say distances in $R_\odot$ or masses in $M_\odot$, and so on. Now and then I see ...
6
votes
1answer
236 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 ...
0
votes
2answers
46 views

File Handling. How to save the progress in a file?

Assuming I already have the file created. I have a programme that,returns an output, in our case number. I want Mathematica to save this number in a file, together with results saved from previous ...
0
votes
0answers
34 views

Export “Print” command to text file

I am trying to create a text file with specific information in exact locations. This is my code: ...
4
votes
1answer
712 views

How do you export the result of a RevolutionPlot3D to STL for printing?

How do you export the result of a RevolutionPlot3D to STL (STereoLithography) file format for printing? I am a tyro when it comes to 3D rendering and printing.
6
votes
3answers
166 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. ...
5
votes
3answers
419 views

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

[The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a Graphics object with ...
4
votes
0answers
51 views
2
votes
1answer
82 views

`Export` to `.eps` ruins the formatting of subfigures

As a result of this question an issue of Export emerged. I.e., when I set my .eps figures with ...
6
votes
1answer
115 views

How to export to .html .nb file together with links «in» and «out»

If use «File > Save As > HTML» links «in» and «out» are lost How to save a document without loss of these lines/links? UPD: You can write in the css rules (...
35
votes
4answers
3k views

How well does Mathematica code exported to C compare to code directly written for C?

Essentially what it says in the title. Mathematica can export its code to C. How much overhead does that inflict on the code, as compared to writing it from scratch in C?
0
votes
1answer
61 views

how to read an excel file using mathematica? [closed]

I have to do some data analysis and i have data in an excel file. Please tell me how to read an excel file in mathematica.
3
votes
2answers
64 views

BarChart rasterized in EMF export

My boss wants several Mathematica graphics as vector graphics in EMF format. All my plots are exported neatly, except for a BarChart which gets rasterized for no apparent reason: ...
13
votes
1answer
950 views

Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica allows me to type in of formulas. It is really easy to type complicated expressions with shortcuts on the keyboard. It would be great if I could use Mathematica ...
0
votes
1answer
53 views

Manipulate Slider Value on the Plot

Lets say I have a very simple manipulate in Mathematica given by: Manipulate[Plot[Sin[a x],{x,-2 Pi,2 Pi}],{a,0,5}] I want two things which I am unable to do: I ...
4
votes
2answers
193 views

How to prevent Grid from breaking the line upon export

I want to create a legend for my plots (a mixture of RegionPlots and ContourPlots). The legend should show the meanins of colors as boxes with text in them and the meaning of contours as framed number ...
6
votes
1answer
109 views

How to find the options available for a function? [duplicate]

I was trying to create an animated .gif with Mathematica. I knew that the function to use was Export["animation.gif",tableplot] where ...
1
vote
0answers
79 views

Bug? Side effects when exporting to .mx

I seem to have encountered a bug when exporting to .mx, at least on OS X. Can anyone reproduce this? I am on MMA 10, OS X 10.9.4. ...
1
vote
1answer
55 views

Exporting to a single spreadsheet in excel

I would like to export the output to excel file. But when I exported,for each value $q$ I am getting a different sheet. Can someone help me how to export it to a single sheet of an excel file. Thanks ...
2
votes
3answers
165 views

How to export 3D graphics to Collada (.dae) format?

I'm looking for a way to export 3D graphics objects to the Collada (.dae) format. I need an automated way, i.e. using Blender to manually convert from another ...
1
vote
0answers
32 views

How to export quicktime video as h.264?

I am trying to export sequences of images as quicktime movies. The dafault codec (cinepak) produces low quality and large file sizes. There is little documentation of the other codecs, which can be ...
3
votes
1answer
53 views

Exporting animated gifs; “AnimationRepetitions”->1 doesn't work

I'm trying to export a table of graphics into a gif animated file with just one repetition. Export["C:\Race.gif", t, "AnimationRepetitions" -> 1] It doesn't ...
2
votes
1answer
24 views

Put/Get don't accept a string-valued expression as filename [duplicate]

I'm trying to do the following with an expression: filename=StringJoin[{"myfile", ToString[someNumber],".m"}]; expression >> filename; But mathematica ...
1
vote
2answers
93 views

How to solve ArcSinh equation for many differents parameters?

I am totally stuck trying to solve the equation below (1/2) x Sqrt[1 + 4 a^2 x^2] + ArcSinh[2 a x]/(4 a) == d Where a and ...
1
vote
1answer
48 views

How to append data in an already existing data .txt file in newline or in tab separtion?

Say I have an already existing .txt file containing data in the following format. $a \qquad b$ Now at different times I will successively have data like ...
1
vote
2answers
39 views

Exporting mixed data of matrices and vectors / lists

thank you for reading my question. I have a problem trying to export mixed data from Mathematica. I have different matrices and vectors, which should be combined to a output file. Here a ...
4
votes
1answer
84 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
4
votes
1answer
97 views

HDF5 and complex numbers

I "Export" an array with complex numbers with HDF5 format. When I "Import" it, I only get the real part. Simple example: ...
1
vote
0answers
64 views

Exporting Code to pdf

I want to export Mathematica Input and Output code to pdf (for usage with Latex). I select the cells and use "Save selection as". However, the font size of the pdfs is to large for Latex usage and if ...
9
votes
0answers
65 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
2answers
980 views

Exporting a .xlsx file with about 500 columns

When I want to Export["text.xlsx", data] where data is a matrix with 500 columns and 10000 rows, I get the error message: ...
3
votes
2answers
150 views

Exporting an overlay of two plots

I have a ListLinePlot and I'm trying to place a close-up of a specific range in the ListLinePlot. Using overlay I solved this problem with: ...
5
votes
0answers
52 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 ...
0
votes
1answer
50 views
3
votes
2answers
79 views

How to add and export custom metainformation with image

v.10 In the documentation, it shows you can add custom metainformation to an image under Metainformation. However, I would like to export the image with the custom metainformation and be able to ...
5
votes
0answers
358 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 ...
4
votes
1answer
126 views

Exported animated gif with matrices will not work?

I want to export a list of matrices as a gif so that they will appear one after another 2 seconds apart. I've tried the following but when I open it up it only does the first two matrices and I have ...
2
votes
0answers
57 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 ...
1
vote
1answer
51 views

Export data from NDSolve when they meet a certain condition

I need to export to a txt file the data from the following system of equations: ...
4
votes
2answers
60 views

exporting mathematica videos [closed]

Peter Boardman has created a most excellent tutorial titled, "Basic Image Processing in Mathematica." It is an iBooks presentation that only runs on the iPad and 'feels' similar to a Powerpoint ...
4
votes
1answer
129 views