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

learn more… | top users | synonyms

0
votes
0answers
14 views

Export a .NOFF file without color information

I have the following piece of code: ...
5
votes
1answer
48 views

Export ListPlot to .eps - line overlays

I have got something like this: ...
0
votes
0answers
50 views

Exporting a plot destroys plot style [on hold]

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

Spacing control in export

While using, for example, the code ...
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
78 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 ...
3
votes
0answers
71 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 ...
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 ...
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 ...
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
78 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: ...
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); ...
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: ...
0
votes
0answers
30 views

Reduce size of exported contourplot [duplicate]

Following the answer given here, I am plotting contour lines in black/white: ...
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 ...
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?
3
votes
1answer
62 views

Rasterize alters the quality of the figure

A quick 3D plot ...
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. ...
3
votes
1answer
130 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 ...
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, ...
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: ...
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 ...
3
votes
1answer
81 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 ...
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
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.
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 ...
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. ...
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 ...
2
votes
1answer
38 views

Why do I sometimes get errors when exporting 3D graphics which have been translated or scaled?

When I try and export 3D graphics, I get an error if some of the graphics complexes are translated. such as: ...
0
votes
1answer
37 views

Import a 3D CSV file results in the wrong dimensions

I exported a some of my data to a file, the data looks like this before the export ...
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 ...
6
votes
1answer
129 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
1
vote
1answer
64 views

How to import an external pdf file leaving text as text?

When Importing in Mathematica (v10.3) a pdf file containing some text, the text is "vectorialized", meaning that it does not seem to be loaded as text, and ...
1
vote
1answer
85 views

Reducing the size of exported .eps files to the minimum necessary

Running version 10.3 on my Power Mac with 22 Gbytes of memory I can create and export an .eps or .pdf graphics such as, ...
0
votes
0answers
21 views

Overwriting a file with export[SystemDialogInput[]]

When I use the following code: Export[SystemDialogInput["FileSave", "myP1P3bmp.png"],Image[myBitMap, "Bit"], "PNG"]; I get a somewhat unexpected behavior. I can ...
2
votes
1answer
28 views

How can I export to HDF5 with a specific Datatype (“DataFormat”)

I am trying to export some largish integer arrays to HDF5 and know that every entry in them would fit into an unsigned 8 bit integer array. As the default "DataFormat" for export that Mathematica is ...
-1
votes
1answer
58 views

Export table to latex - copy as

I have the following final expression which is a table (I am posting only a subsection of the table to illustrate the problem). I am pasting it from mathematica without table formatting (to the bottom ...
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 ...
6
votes
0answers
107 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
6
votes
0answers
98 views

How can I export a notebook as a single huge pdf page?

I have a notebook that I would like to export as a pdf file. I currently want to send this to a collaborator, but in general I'd like to keep the technique to future-proof my notebook collection ...
0
votes
0answers
47 views

Mathematica creates a huge eps file [duplicate]

I use the following code (based on the responses in my recent relevant questions) in order to generate randomly distributed unidirectional cylinders in a cylinder of elliptical cross section. ...
1
vote
1answer
79 views

FrameRate option for Manipulate [duplicate]

I'm using the following code ...
1
vote
2answers
112 views

Trouble adding elements to array [closed]

I need to generate array and export it to file. For n = 1 , second element must be 0 For n = 2.. 819, second element must be 1 For n = 820.. 1637, second element must be -1 For n = 1638.. 16384, ...
1
vote
0answers
41 views

Exporting Tooltip data to HTML [closed]

It would be very useful if one could export interactive Tooltip graphics to an HTML file like: ...
6
votes
1answer
62 views

Exported graphics have issues with word wrapping

I am trying to export a plot as an image. My actual plot uses Show to combine a ListPlot and several Plots, with a common legend. The code below is a dummy version that produces the same problem: ...
6
votes
0answers
98 views

Causes “libGL error: failed to load driver: swrast” an Huge Overhead in Parallel under Version 10.3?

Under Linux (SUSE Linux Enterprise 11) for Mathematica Version 10.2/10.3 I observe the following error in parallel ...
2
votes
0answers
45 views

Problem with exporting plot data into .txt: not whole range is exported [closed]

I need to export my data into a .txt document to import it in $\LaTeX$. For a given M, I used the follow code to export: ...