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

learn more… | top users | synonyms

1
vote
1answer
57 views

Can Save[] produce a .nb file instead of a text file?

(I use Mathematica 9.0.1 on OS X 10.10.2.) Suppose I have a notebook in which I make some definitions and assignments. ...
0
votes
1answer
33 views

Writing a text to a file including af mixture of signs

I'm trying to write this to a file: j/?xml version="1.0" encoding="UTF-8"?> However, when using WriteString, the "-marks are not accepted. If I use Write, however, the "-marks are accepted, but ...
2
votes
1answer
57 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: ...
0
votes
2answers
73 views

Exporting a table to Excel in CSV format

I am trying to create a table which when exported in a .csv format and opened in MS.Excel has the following form; ...
4
votes
1answer
36 views

Video encodings in Ubuntu

When exporting videos from Mathematica 10.0.2 on Ubuntu 12.04, I have one video codec to choose from: Internal`$VideoEncodings (* {"Uncompressed"} *) That means ...
0
votes
1answer
45 views

Making a simple text log file

I have a model and want to export the run parameters to a log file. The idea is to get the following example into a decent text export: ...
-1
votes
1answer
37 views

ListLinePlot plots my table, but the table doesn't contain numerical values

I am trying to export a table of data to file, but the code does not appear to be returning numerical data even though ListLinePlot can plot it. Can you please ...
5
votes
1answer
73 views

Exporting pdf with a precise page dimension in metric units, rather than printer points

Mathematica uses a screen resolution of 72 dpi. For post-processing figures I use Corel, which conveniently allows me to use metric units (mm) for positioning and resizing figures. Say, I want to ...
1
vote
1answer
56 views
0
votes
0answers
54 views

Issue with creating gif [on hold]

I want to export a gif generated by following code. ...
4
votes
1answer
60 views

Conversion to TeX results in infinite recursion

I'm trying to export to $\TeX$ a Message cell. For example, after evaluating Sin[a,b], ...
0
votes
1answer
68 views

Animating a Large Graphic Aborts, but Dynamic Works Fine

I'm trying to animate a large Graphics output, and it is returning $Aborted. I'm confused because when I use Dynamic and Slider, the graphics output is exactly what I want, i.e., I can 'animate' the ...
1
vote
1answer
30 views

Export nested list with complex structure

I have a list that looks like this l = {elem1, elem2, ...} Where elem_={t, {d1,d2,d3} } How can I export it? I tried ...
0
votes
1answer
41 views

Huge eps file in Export with ListPlot and Filling

I'm trying to export and eps file from a plot which contains a ListPlot with Filling ...
2
votes
0answers
42 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 ...
-1
votes
1answer
47 views

Exporting Data file in .dat format [duplicate]

Here I'm solving two simultaneous to get different values of the roots depending upon another variable 'x'. I've written up to the following using 'Find Root' ...
7
votes
1answer
102 views

Inconsistent behavior of undocumented Encode->Import->StringToStream->Get on password-locked stream

Let's save a definition. Encode it with password/key and Get it again. We will not use Get ...
0
votes
0answers
35 views

“Enlarge” a plot for export

I wish to export a plot with more resolution than it starts with. Interactively, I can do this by enlarging the image, and then exporting. Is there a way to do this programmatically? I attempted to ...
6
votes
2answers
108 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. ...
2
votes
2answers
63 views

Math diacritics go missing when exporting graphics

Take this example plot: plot = Plot[x, {x, -1, 1}, Frame -> True, FrameLabel -> {"x", "\!\(\*OverscriptBox[\(x\), \(_\)]\)"}] When I export it to PDF, ...
6
votes
1answer
169 views

Prevent Export from overwriting files

Export["filepath1",Expression1] works for me, but if filepath1 already exists, it will be overwritten. I'd like ...
0
votes
1answer
68 views

Copy/export a plot as vector EMF

I want to generate a plot using Plot, copy it and paste to a Word/PowerPoint document as a vector EMF file in order to preserve best quality of an image. However I found out that if I Copy Graphic ...
-1
votes
1answer
45 views

How to encrypt an arbitrary file?

I'd like to use Mathematica to password protect a zip file I have, instead of using the terminal or buying an app like keka. You can use the terminal zip -e but not ...
1
vote
1answer
59 views

PNG image is exported smaller size than imported

I upload a PNG file and then split it into its red, green and blue components. I then save these components. The original image is 1440 x 764 pixels, 2.21MB. But the 3 saved files are each 360x198 ...
1
vote
2answers
37 views

How to export many images within a For-loop [duplicate]

I'm trying to export a lot of files at one time with a For-loop. I'm using ToString so I can number the output files. It's not working. Does anyone know how to ...
2
votes
1answer
56 views

Export a Pyramid to VRML format

How do you export a Pyramid to vrml format in Mathematica ? I have been trying to do this the following way ...
2
votes
1answer
66 views

Export Multiple Arrays Into a Single Worksheet with Column Headers

I'm importing financial data into Mathematica, creating column headers for each array and exporting to Excel. The code below accomplishes most of this, but it creates a different worksheet for each ...
0
votes
0answers
36 views

How to export a PNG with an alpha channel?

Is "RGBA" not a supported colorspace? Export["test.png", RandomImage[1, {100, 100}], ColorSpace -> "RGBA"]
1
vote
1answer
34 views

Export the animation labeled with time in the animation?

I want to export the solution of a equation ...
1
vote
1answer
68 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 ...
2
votes
1answer
42 views

Exporting and importing lists of lists

I have a list of lists of data on the following form (one element): {"NYSE:AEM", 7.13*10^9, "Gold", {{2014, 4, 16}, {2014, 5, 2}, {2014, 7, 31}}} And all I want ...
1
vote
1answer
77 views

Importing, sorting and exporting lists

I have several TSV lists (.txt) of something like 2000*2000 numerics (e.g. 1.8645) to import ...
1
vote
1answer
54 views

Export and Import a list of graphs?

I want to export a list of graphs that come as output to my program. However, I tried exporting all the graphs as graphs using Map and an Export statement with "graph.gml" statement, but got an error. ...
1
vote
0answers
13 views

Difficulty with Copy as PDF in Mathematica 10.0.2.0 [duplicate]

I just installed Mathematica 10.0.2.0 on my Mac and I find that I can no longer use the Copy as PDF commands to copy a Mathematica graphic and paste it into a powerpoint presentation. When I do this ...
2
votes
1answer
41 views

Export as Table with alignment?

I have a table in Mathematica as a list of lists. How to export the table, and force Mathematica to insert as many spaces as needed between columns so that columns are aligned? For example, ...
1
vote
1answer
44 views

BarLegend rasterized in EMF and EPS export

A while ago you guys gave me a splendid workaround to the rasterization bug in exported BarCharts. Now I noticed that the workaround is not working for BarLegends. My problem is, that ...
2
votes
1answer
84 views

Export generated mesh

Say I have generated a mesh using ToElementMesh, following one of the examples here: http://reference.wolfram.com/language/FEMDocumentation/ref/ToElementMesh.html ...
1
vote
0answers
17 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
56 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 ...
0
votes
2answers
35 views

how to change the name of exporting file automatically

I want to export some sort of data from Mathematica to .txt files but every time with a different name.clearly I want the name of files change automatically in each loop for each series of data that ...
1
vote
1answer
37 views

How to get the raw data of solutions of partial differential equation in mathematica

I am using NDSolve command of mathematica solving a very complicated partial differential equation (two independents "t" and "x", three master variable "u", "v", "w"). Each time I solve it, it takes ...
22
votes
3answers
550 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 ...
4
votes
1answer
142 views

Extra spaces when exporting strings into pdf (bug, linux)

Rationale: Imagine you would like to create a publication quality figure in Mathematica, from under Linux. Naturally, it will contain text/labels. Problem: Here is a simple string ...
0
votes
0answers
24 views

Code to import and export “.cine” image format?

I need to work with a set of experimental data in the form of ".cine" format image files. This is a data format developed by Vision Research for high-speed imaging and video. I would like to import ...
0
votes
0answers
28 views

Problem when importing EPS files created with Mathematica into TeX

I create a figure in EPS format with Mathematica. The graph of some function. Then I add some items to the figure (bullets, points, shaded lines, some math text). I save this in EPS format and ...
0
votes
1answer
43 views

Subscript und Superscript in FrameLabel and Export

I'm creating plots that I want to export as png. Which works, but when I add sub- or superscript into the FrameLables or get 10^x in LogPlots the sub- or superscript letters in the exported png will ...
0
votes
1answer
148 views

Export graphic as Pdf gives incorrect font size [duplicate]

In Mathematica 10.0.2 I have this plot: Now, when I export as pdf, I have these huge fonts. Any workaround?
1
vote
1answer
80 views

Exporting A4 size

I have a few tables and graphs that I want to export to a PDF file using Export[....,"PDF"], but I would like to be able to print this PDF-file and still be able to read it. So how can I control the ...
3
votes
2answers
193 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...