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

learn more… | top users | synonyms (1)

1
vote
1answer
48 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
226 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 ...
1
vote
0answers
79 views

FrameTicks not appearing with Export to .png file [duplicate]

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 <...
1
vote
2answers
92 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
49 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
33 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
31 views

Reduce size of exported contourplot [duplicate]

Following the answer given here, I am plotting contour lines in black/white: ...
6
votes
0answers
134 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
93 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
155 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
88 views

Rasterize alters the quality of the figure

A quick 3D plot ...
6
votes
1answer
139 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
158 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 ...
1
vote
1answer
196 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
89 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
38 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
117 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
49 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
74 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.
15
votes
2answers
375 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
1answer
76 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
16 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
52 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
44 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
43 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
276 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
140 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
94 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 re-...
1
vote
1answer
132 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
32 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
50 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
84 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
81 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 ...
7
votes
0answers
124 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
117 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
58 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
162 views

FrameRate option for Manipulate [duplicate]

I'm using the following code ...
1
vote
2answers
118 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
61 views

Exporting Tooltip data to HTML [closed]

It would be very useful if one could export interactive Tooltip graphics to an HTML file like: ...
8
votes
1answer
96 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: <...
7
votes
1answer
674 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
55 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: ...
1
vote
1answer
99 views

Multiple Import and Export of Images

I wrote a program that imports an image and creates three new images, for example "black and white" or "grey scaled". My problem is that i work with around 200 images and it takes a long time to ...
5
votes
1answer
194 views

Version 10.3 PDF export [closed]

Before I upgrade to Version 10.3, can anyone tell me if the issues with hyperlinks and PDF export have been solved? Here is the original post and issue I am referring to. Hyperlinks not preserved ...
0
votes
1answer
63 views

Exported picture has less MB than imported

I have to duplicate a picture several times – and each time the duplicate shall have another name. I do this with mathematica 10 with the following easy code: ...
13
votes
0answers
209 views

Is there any way to export vector graphics with shading?

This has irked me for a while as I really feel its a significant shortfall in Mathematica's abilities but maybe I am missing something. I would like to export simple graphics with shading in a ...
1
vote
0answers
70 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
5
votes
2answers
387 views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
0
votes
1answer
133 views

Follow up: how to evaluate this double sum quickly

This question is a follow-up to my previous question. The code I use at the moment is the following: ...
1
vote
2answers
91 views

Export numeric data with preset decimal places

I have a table of pairs of numbers, each with 300 decimal places, which are all important. If saved using Export["data.dat", data] and then imported back via Import["data.dat"] - then the 300 decimal ...