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

learn more… | top users | synonyms

1
vote
2answers
109 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 ...
9
votes
1answer
108 views

Is equation numbering in exported HTML considered deprecated for built in stylesheets?

TLDR or simply stated: how do I export equation/section numbers to HTML? The built-in function doesn't seem to do it. Longer form of the question: So I've been tinkering around with the built in ...
3
votes
0answers
72 views

Export bug in combination with ParallelTable?

I am programming with Mathematica 10.3.1.0 on Windows 10 Professional 64 Bit and have an i7-4940-MX 3,1 GHz processor (4 cores). When I use in the example code below ...
0
votes
0answers
14 views
10
votes
2answers
1k views

Labels and tickmarks inside Frame

Is there a way to force Plot and related functions to place the tick labels inside, rather than outside a frame? For example, consider, ...
0
votes
0answers
50 views

Exporting a plot destroys plot style [closed]

I have a plot with $x$ and $y$ error bars, and when I export it with the Exportfunction Mathematica ignores the plot styles, so the quite small error cross does not ...
5
votes
1answer
50 views
16
votes
3answers
710 views

Export dataset to JSON including Unicode Characters

I'm experiencing a weird issue. Consider a dataset defined like this: dataset = Dataset[{<|"a" -> 1, "b" -> 2|>, <|"a" -> 3, "b" -> 4|>}]; ...
3
votes
1answer
29 views

Spacing control in export

While using, for example, the code ...
1
vote
1answer
79 views

Mysterious behaviour of ParallelTable

This question is related to Export bug in combination with ParallelTable?. The following code shows an even stranger bug than in the upper question. The y-axis should always be logarithmic, but in ...
4
votes
2answers
197 views

How can I encrypt/decrypt a directory?

I'd like to use Mathematica 10's new Encrypt and Decrypt functions to secure files and folders on my mac. Here's what I have so far but something goes wrong along the way, since by the end of this ...
3
votes
0answers
78 views

WDF specification?

Motivated by a recent question on the meaning of all sorts of W* acronyms, I would like to get more information about the Wolfram Data Framework (WDF). On its web page ...
1
vote
1answer
318 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 ...
4
votes
1answer
414 views

Mathematica exported movie quality

I am generating an animation using: anim = ListPlot[X]; Export["anim.mov", anim, ImageResolution -> 800, Antialiasing -> True]; The ...
1
vote
1answer
40 views

How to export data from ListLogLogPlot [closed]

I have a ListLogLogPlot, for example: data1 = ListLogLogPlot[Table[{i^2, i^(1/3)}, {i, 1, 20, 1}]] Note: I know that there is ...
0
votes
1answer
53 views

FrameTicks not appearing with Export to .png file

I'm using 10.1 on Ubuntu 14.04. I am trying to export some plots. However, when I export the plots using Export[file.png, figure, ImageResolution->360], the FrameTicks fail to appear. If I export ...
1
vote
2answers
43 views

Question regarding exporting of mx files

I want to export a bunch of data to .mx files. So I created a function str = (Print["a\n"]; Print[a]; Print["\nb\n"]; b); ...
1
vote
2answers
79 views

Void elements / self closing tags export to HTML

There are some built in rules in exporting that automatically create Void elements / self closing tags for some tags: ...
0
votes
0answers
27 views

Run mathematica script from python program [duplicate]

Is it possible to run the mathematica code inside the Python program? A simple pseudo-code to describe what I mean: ...
3
votes
1answer
548 views

Exporting animations under duration constraints for viewing on an iPad

I would like to show some eye-movements data as animation on an iPad, in order to see the "gazes" as they occurred as a function of time. Ideally, I would like to use and see ...
21
votes
2answers
2k views

How to translate interactive graphics from Mathematica to standard HTML+SVG?

I have a simple interactive plot in Mathematica, with controls for various parameters. The point of the plot is simply that users can explore how the plot changes as the parameters change by ...
5
votes
0answers
119 views

Call Magma in Mathematica

I've written some code in Mathematica, related to some group theory questions I have. Subsequently, I found that part of the code could be significantly sped up if I could just call a routine in ...
0
votes
0answers
30 views

Reduce size of exported contourplot [duplicate]

Following the answer given here, I am plotting contour lines in black/white: ...
18
votes
4answers
8k views

How to save animation in mp4 format instead of avi?

I'd like to save Manipulate[] output so that I can embed an mp4 in my pdf document (using the media9 latex package). I've done this successfully in the past by ...
3
votes
1answer
59 views

How to properly export string columns in csv?

How can I make sure that certain string columns of a matrix I want to export get properly formatted? That is, all quotes escaped, and every string wrapped in quotes. Here's what happens now: ...
6
votes
1answer
90 views

How to export interactive animations into D3.js? [duplicate]

Are there any existing examples or 3rd party repositories that attempt to make this possible at any level?
1
vote
0answers
272 views

Import/Export a FIT file, Fitness file created by Garmin GPS's and others

A FIT file is a binary replacement for GPX and TCX text files containing GPS and fitness data (heart monitors, etc.). Mathematica reads GPX and TCX files and represents them as XML. I would like to ...
3
votes
1answer
164 views

Extracting data from NDSolve result

Normally I wouldn't ask such question before even read the material from the Wolfram Documentation about what I'm trying to do but this time I have a pretty tigh dead end. I apologize for that. So, ...
3
votes
1answer
131 views

RawJSON vs JSON format

It has been very recently, since the release of version 10.3.0 I think, that Import/Export and ImportString/ExportString functions accept a format parameter with the value of "RawJSON". The ...
6
votes
1answer
95 views

Extracting PNG images from AVI movie

I have written the following code to extract all images from an uncompressed AVI movie and to save them as sequential PNGs. ...
14
votes
2answers
270 views

How to export textures?

Is there any object geometry format for which Mathematica supports the exporting of textures for external (non-Mathematica) use ? If not does anyone know of work arounds? All the texture primitives ...
37
votes
4answers
2k views

Saving a notebook as PDF, preserving syntax highlighting

Currently, one may save notebooks as PDFs from the menu by Save As... and then selecting PDF (on a Mac, I imagine it is similar on other OSs). However, the ...
4
votes
1answer
78 views

How to combine two large tables and export them to .txt file?

I have two large tables. I shall post only 2 rows out of 100+. I shall name the first table blabla and the elements are: ...
8
votes
1answer
144 views

Exporting Graphics3D is not complete

Bug fixed in 9.0.1 When I export the result defined as the variable pot1 to pdf, the lower contour plot isn't showing. How do I fix this? ...
0
votes
1answer
36 views

Exporting multiple sizes of the same image

I have generated an image using (for example) out = Plot[x^2, {x, -2, 0}, PlotLegends -> {x^2}] and would like to export two versions of that image, one that ...
7
votes
1answer
765 views

Font size in PDF export with legended plots not working

I need to export plots as PDF with a given image and font size. Everything is working fine if there is no legend for that plot. However, if I want to export legended plots, the font size is decreased ...
3
votes
1answer
82 views

Mathematica does not import .mat file correctly [closed]

I have .mat file that contains a binary (0,1) matrix with size 100*100*100. I have used this syntax to import it in mathematica ...
0
votes
2answers
70 views

From matrix to eps or png

My output is a matrix. I want to save this matrix as a picture whose format is eps or png. How can I convert it? Thank you.
1
vote
1answer
46 views

Export data to a file with row indices added

While Export["file.txt", A, "Table"] exports a file of data, A represents a data set, in column form the question is about how to export, or print, a set of data ...
0
votes
0answers
41 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...
1
vote
1answer
46 views

Edit header information of a DICOM file and export it again

I have some DICOM files and want to edit a part of the Header and export the DICOM files with this edited header. I know how to Import a DICOM files and extract the Header Information, but how to ...
0
votes
2answers
52 views

Why vertices number increased when importing .STL file

I import a .STL Import[*.st,"VertexData"] file on mathematica and I remark that the number of vertices is increased comparing to the number given by Blender. ...
8
votes
5answers
6k 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 ...
1
vote
0answers
14 views

Naming exported files after corresponding input files

I'm a relatively new user of Mathematica, and currently using it for image processing of multiple tiff movies. I am also exporting tiff files, and I would like a way of naming my exported files after ...
2
votes
0answers
33 views

Exporting or save graph to pdf, when will the rasterization occur?

For simple graph Plot[Sin[x], {x, 0, 10}] No matter right click save as pdf or export as pdf, the result is vector image. But for ...
0
votes
1answer
87 views

Loss of chart when exporting data in DynamicModule

Bug fixed in V 10.2 In DynamicModule, the result is to show a panel with a flowchart and a Piechart. But when I export the ...
4
votes
1answer
273 views

Why does setting the ImageResolution to a higher value result in a smaller picture?

Here's a way to reproduce the issue: export the following picture ...