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

learn more… | top users | synonyms (1)

0
votes
1answer
40 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
274 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
138 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
81 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
109 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
28 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
37 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
73 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
58 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
119 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
113 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
54 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
119 views

FrameRate option for Manipulate [duplicate]

I'm using the following code ...
1
vote
2answers
116 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
55 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
66 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
409 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
54 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
93 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
189 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
197 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
68 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
310 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
130 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
78 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 ...
2
votes
0answers
100 views

Export Mathematica to $\LaTeX$ properly

I am simply trying to convert an existing sample in Mathematica to $\LaTeX$. For example, if I open a new Mathematica notebook using styled templates such as Journal article and save it as $\TeX$. ...
1
vote
0answers
55 views

errors STL export, contains rotate or GeometricTransformation

I failed to export a STL file containing a Graphics3D with a Rotate or GeometricTransformation. ...
5
votes
3answers
186 views

Exporting PDF with large PaperSize

Suppose I create a new Notebook: nb = CreateDocument[{TextCell["PDF Test", "Section"], Table[PieChart@Range@5, {7}]}]; And set a big paper ...
1
vote
0answers
33 views

Export vector in .txt file with newline separator [closed]

I need to export a 1-D list (vector) in .txt format with one line corresponding to one value : v = {v1, v2, v3, ..., vn}; And the result should be, in ...
2
votes
1answer
67 views

Exporting special characters

I'm trying to export a string with UTF8 characters, but... ToString[{"a" -> "\[Lambda]"}, CharacterEncoding -> "UTF8"] (* Out: "{a -> λ}" *) My FE ...
0
votes
0answers
34 views

How to export a list of graphics to a multi-page PDF, each on its separate page? [duplicate]

I tried with these codes: g1 = GraphData[{"Complete", 8}] g2 = GraphData[{"Complete", 4}] Export["Graphs.pdf", {g1, g2}] SystemOpen["Graphs.pdf"] to shown these ...
2
votes
3answers
139 views

Extract function from a parametric interpolating function

I've read the answers of How to make use of an interpolating function outside of Mathematica?, Interpreting the interpolating function and saving data to plot with external program, Extracting the ...
0
votes
0answers
29 views

Save lists to re-open with Mathematica [duplicate]

I want to save a result of a computation in a file to re-open then in Mathematica in a new session. What is the most efficient and simple way to do this? To be specific, I am using ...
3
votes
1answer
57 views
3
votes
1answer
88 views

PlotLegend reduces plot quality

I have used of these lines to plot three functions (in the first plotted figure) and I used of PlotLegend for them to be recognized. In the second plot I have used of all written for the first plot ...
2
votes
0answers
75 views

Exporting organization of Mathematica's documentation to a JSON file

In this answer, @Vitaliy Kaurov explores and utilizes new Mathematica's functionality WolframLanguageData: ...
1
vote
1answer
93 views

How hard is it to export numbers that can be used in other programs? [duplicate]

I am calculating a few lists of values that I have in arrays. I want to export these into a tab-delimited text file that I can import into other programs for analysis, plotting and so on but I am ...
2
votes
1answer
81 views

Export an animation as .avi file with sound?

If I have a list myTb containing Image objects, I can export the list as an .avi file using the command ...
2
votes
3answers
108 views

How to store the nonzero elements of a sparse array in a file? [duplicate]

Often I need to use same matrix several times and for that I save them in an external file. Converting the matrix into SparseArray can save a lot of space in this ...
2
votes
1answer
70 views

Having trouble modifying entry in a list

Hi, I am trying to create a small repository by entering three things as a list of string, namely the asp, sequence and description. The trouble that I am facing is that while I am manually ...
1
vote
2answers
110 views

How to export a “.wmf” type figure with the frame as a vector but the main figure as a scalar?

I would like to export the following figure in a ".wmf" type, so as to edit it further in PPT. But the exported figure size is too big, about 2 MB. The reason is that there are too many data points in ...
4
votes
1answer
43 views

Make Rasterize/Export use Notebook-specific options?

Sometimes I need Notebook-specific options such as Background color or FontProperties -> "ScreenResolution". (Ref: How to ...
13
votes
1answer
225 views

How to share a notebook?

I have a folder in dropbox syncing to my desktop. I tried sharing a notebook file this way, but this generates lots of errors, conflicts, and data loss: I have notebooks with Dynamic and other ...
3
votes
0answers
78 views

How to export to NetCDF format

Consider I have a scalar field on a grid f(x,y), where x and y can take values ...
0
votes
0answers
41 views

How do I change a 3d bspline curve to a polygon based graphic? [duplicate]

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
5
votes
1answer
125 views

How to analyze all the data in a directory

I am trying to import, analyze, and save all the .txt files in a specific directory. I can do this with a single .txt file using the following code: ...
3
votes
1answer
56 views

Export followed by Import producing “0.e1” numbers

I had a large table of data that I exported, and then when it had completed, I exported it to a file. (Just in the form Export["filename.dat", data], no specified ...
7
votes
1answer
329 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
8
votes
0answers
141 views

How to write crash-robust code?

When a notebook crashes all the work I was doing is lost - I'd like to ameliorate this situation! Is there a way to decorate a symbol so that it is saved to disk whenever it changes, or after a ...