Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [export]

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

0
votes
1answer
70 views

How can I save values generated by a Manipulate expression to a CSV file?

I have trouble generating and saving data from a manipulation that determines parameters. Can someone please help me? Manipulate[Plot[{func,x}, {x, 0, 3}] I ...
0
votes
0answers
31 views

How to export a multidimensional array in which each element is also an array?

I have a {15,5,2} dimensional array and each element is itself a {14,16} dimensional array. When I export/import my file as an excel file I get a {15,,5,2} dimensional array but with {} dimension for ...
5
votes
1answer
50 views

Augment Export function to support custom number formatting

It's a shame that the Export framework provides no support for custom formatting of real numbers. Is it possible to augment the framework so that a "NumberForm" ...
6
votes
1answer
547 views

How to export dynamics into D3 [duplicate]

Are there any existing examples or 3rd party repositories that attempt to make this possible at any level? Update: This is different from the linked question because it specifically asks for D3 ...
10
votes
2answers
236 views

Export BatchNormalizationLayer as MXNet

Bug introduced in 11.2 and remains in 12.0.0 I just tried to import a net from mathemtica into pythons using MXNet. It works fine with the following manual. However, as soon as I try to add a ...
4
votes
1answer
128 views

How to export a 3D tube model without any error?

I want to export a 3d tube model but I get two errors. I found that I won't get any error if I use a different model. So, how can I solve this problem in a simple way? Thanks. ...
13
votes
6answers
11k views

How to export data files using specific number 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: ...
0
votes
1answer
50 views

How to transpose a data of N lists?

I am using a command like this data = Transpose[{t1, Table[z1[[i]], {i, 1, 10}]}] //Tableform There will be N lists t1,z1[[1]],...z1[[10]] I would like to ...
1
vote
0answers
32 views

High-dpi screen having troubles with exporting DensityPlot as PDF

I recently upgraded my laptop to one with a higher dpi screen (72->96), and it has caused a world of problems with various applications, specifically Mathematica. I run Ubuntu 18.04, and previous to ...
5
votes
1answer
366 views

Is it possible to create .stp 3D model from Graphics3D ?

I want to create some 3D solid model by Mathematica, and then export it into stp (step) format for further finite element or finite volume analysis in Fluent/ANSYS or Abaqus. But so far to me, it ...
0
votes
1answer
57 views

Writing a script that exports results depending on user input

Is there a way to tell Export to hold its arguments and just Export. I tried to use ...
124
votes
9answers
26k views

$\LaTeX$ and Mathematica

I quite often would like to draw graphics in my $\LaTeX$ documents using Mathematica. I have encountered three problems. I would like to know if there are any workarounds to these problems I would ...
6
votes
0answers
210 views

EMF Export Bug in v12

Bug introduced in 12.0 or earlier For some reason EMF vector image export deteriorates with every version. In v12.0 for Windows create a simple BarChart: ...
0
votes
1answer
41 views
1
vote
0answers
23 views

ForwardsBackwards running of a gif in Export

I'm trying to export a gif from a list of images The AnimationRepetitions command works, but the AnimationDirection does not. It just goes one way. Is there a way to loop back and forth? Here's some ...
0
votes
0answers
14 views

Plot exporting to PDF with incorrect font on macOS [duplicate]

I have a plot that uses the font TeX Gyre Pagella. Which is not a native font of Mac OS but I installed it through the font book to all users and the system. In ...
-1
votes
1answer
160 views

Native function in Mathematica export functions from Mathematica to MATLAB

Is there any native function in Mathematica (not ToMatlab) that I can export a function from Mathematica to MATLAB, to Paraview or to any plotting software? Clarification: I want to export something ...
8
votes
1answer
156 views

Most efficient method for export/import of non-traditional tensor-style dimensions of matrices/tables/lists-of-lists-of-lists(-of lists)?

Hello World! (I did it for my first answer, so it only feels proper...I'm not nostalgic, you are!) OKAY, here we go! Let's start off with the good-stuff, here's my code, made relatively arbitrary, ...
3
votes
1answer
55 views

Exporting data to txt file

I am doing a calculation that I have set the precision to 20 i.e. N[expression,20] and the output on Mma is indeed 20 significant digits, but when I export this ...
2
votes
1answer
79 views

Flickering GIF in exporting Animation

I am trying to export an Animate object to a GIF file, but the saved GIF file keeps flickering. How do I fix this? ...
0
votes
0answers
21 views

FLAC to MP3 converter errors exporting meta information

So I'm making a simple .flac to .mp3 converter, but it can't handle the metadata for the files, as sometimes they have incompatible tags. (For example, Xiph is only found in .flac) The code so far: <...
0
votes
1answer
94 views

Padding a number doesn't work when transferring to LaTeX

I have some numbers which I calculate via some previous code. The calculation works fine. However since I want to compare it with experimental data I only need the numbers to a certain number of ...
2
votes
2answers
79 views

Export in slave notebook

I have a very complicated analysis running on a notebook named Called_notebook.nb which depends on two parameters. To automate the process, I call this notebook in a loop from a master notebook, like ...
2
votes
0answers
38 views

How to post the rotatable images of Plot3D to Facebook

I made the rotatable images of Plot3D and can post them as still images to Facebook. Is it possible to post the rotatable images of Plot3D as rotatable to Facebook?
2
votes
1answer
30 views

Preventing Export of PDF putting rows into columns

I have some graphics with two plots per row. When I Export as pdf all the plots are in a column. I want to keep them in rows. Here is a minimum working example. <...
0
votes
0answers
21 views
8
votes
2answers
798 views

HDF5 and complex numbers

I'm exporting an array with complex numbers with HDF5 format. When I'm import it, I only get the real part. Simple example: ...
6
votes
2answers
181 views

How to read .npy file in Mathematica?

I have a .npy file which is created by numpy of Python as below:- ...
14
votes
1answer
180 views

Exporting graph object for later use

Bug introduced in 10.0 or earlier and fixed in 12.0 We are planning to analyze the geometry of artery branch patterns. We convert the binarized image into graph object using ...
2
votes
1answer
80 views

How to write both Attributes and DataFormat to an HDF5 file?

I can't figure out the command to Export an HDF5 file from Mathematica that includes both an Attribute and a DataFormat. I can do one or the other, but not both. Related questions: How to export ...
0
votes
1answer
42 views

Changing the animation length of exported file

Below is the code i used to generate a point travelling a parametric plot ...
22
votes
4answers
965 views

PDF export on macOS Mojave produces bold fonts

I have updated my OS to macOS 10.14 Mojave. I found whenever I export a plot into a PDF file, the font of the label and ticks are automatically replaced into a bold font. I use Mathematica 11.3. Any ...
10
votes
4answers
1k views

How to export attributes or annotations to an HDF5 file?

I'm trying to export attributes and annotations to an HDF5 file. But the documentation here is horrible and there are no examples of this. I spent some time playing, but I can't get it to work. Here ...
4
votes
3answers
230 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 ...
2
votes
0answers
35 views

Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I'm not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server. I can, however, export Raster Image ...
2
votes
1answer
41 views

How to export parameters in a text file?

I have some parameters defined in my notebook as, for example, a=1; b=2; c=3; and I want to export these parameters to a .txt file in which I have the following ...
2
votes
1answer
31 views

How to export multiple column to excell from mathematica with each name at the sheet

I have a generated a dataset, name TRES. Its a data between wavelength vs intensity for different time. time varies from 0 ns to 5ns with an interval of 0.1ns. So there is a 51 no of set, and I want ...
12
votes
1answer
395 views

Conversion to TeX results in infinite recursion

Bug introduced in 9.0 and persisting through 11.3 or later Confirmed, as bug, by WRI: [CASE:3059683] I'm trying to export to $\TeX$ a Message cell. For example, ...
2
votes
2answers
85 views

Rotated ellipsoid exporting gives Export::type warning

I tried to export the following model for 3D printing but failed: ...
2
votes
1answer
379 views

How to Convert a Number to String for Export a Table

I am generating a table with 4 columns, wheras only the columns 3 and 4 have the same length. ...
4
votes
0answers
144 views

How do I prevent plot range clipping errors in a pdf printout?

Bug introduced in 11.3 or earlier I am using Mathematica 11.3 on a Windows 10 computer. I plotted several data sets of mine in a ListLinePlot. While the .pdf file looks perfectly in the current Adobe ...
0
votes
0answers
29 views

Export XYZ matrix selecting positive Z data points in three files and keeping the matrix form

The following code saves XYZ points in a separated file but keeping the matrix shape. ...
1
vote
1answer
68 views

How to generate letters for multiple people from a list of names

I need to generate many letters of invitation from a list of people. I thought this would be already asked/answered in this forum, but I can't find anything useful. Basically, I need to write a letter ...
0
votes
1answer
30 views

ViewPoint not preserved during Graphics3D Export

When I define a variable myfig as a Graphics3D object rendered with a specified ViewPoint, ...
0
votes
0answers
36 views

How to save a multidimensional matrix in separated files for each dimension

I need to export to a file a multidimensional matrix, each dimension to a file. For example: ...
0
votes
1answer
77 views

Exporting a tensor

I have a complicated and large tensor what can be shown in the simplest form as follows How can I export it in this form?
13
votes
4answers
549 views

Graphics3D to three.js converter?

This question is a duplicate of a question on stack overflow But since the answer is 6 years old, things may have changed somewhat. Question I would like to render Mathematica ...
2
votes
1answer
101 views

Decimal format in Mathematica exported output

I am using ReadList to read an input file as Table format, and exporting the results. The ...
1
vote
0answers
31 views

Low quality when copying bitmap through Context Menu

The easiest method to share your immediate MMA results to non-MMA users among your peers is to just copy the result onto an email and send it. Figure below shows a ...
15
votes
3answers
2k views

Converting a notebook to plain text programmatically

It is possible to export a notebook to plain text format (practically just extracting all the text from it and discarding formatting) using the File -> Save As......