Questions tagged [export]

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

0
votes
2answers
26 views

Change input filename according to ticker

I want to import a series of files with similar filenames that change according to a "ticker". An example is filenames A1_data.dat, ...
0
votes
1answer
27 views

Simplest way to export (and import) definitions?

Consider I have this code : f[1]=2 f[1.5]=6 f[3]=4 What is the simplest way to save the array f defined on those three numbers in a file ? (in my case, I will ...
1
vote
1answer
28 views

Export multiple lists in table form to the same file

I have a list, call it mylist, made of many sublists that are just points from a plot and I would like to export that to a single file. Let's say I have, for example, something like this ...
0
votes
0answers
45 views

Mathematica Online and Exporting Animations

I am using the online trial version of Wolfram Mathematica. I have created an animation and I am trying to export this animation as a video. I have tried ...
4
votes
0answers
53 views

How to export a notebook to Jupyter?

I would like a tool to convert any Mathematica notebook into a Jupyter labs notebook, preserving as much content as possible (.ipynb files are just special json). Obviously, this would need to ...
-1
votes
0answers
37 views

Exporting graphics with an inset in .pdf format

I have a 3D graphics realised with an inset object. However, if I try to export it as a .pdf file (right click -> Save Graphics As...) everything is shown but the inset object. This does not happen if ...
0
votes
0answers
35 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
52 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" ...
0
votes
1answer
51 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 ...
0
votes
1answer
42 views

Discrepancy in the solution provided by NSolve

I have a code which goes like this: First one ...
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
15 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 ...
8
votes
1answer
157 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
58 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 ...
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
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: <...
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

String getting modified after exporting to PDF

I create and export the plot: ...
6
votes
2answers
188 views

How to read .npy file in Mathematica?

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

Changing the animation length of exported file

Below is the code i used to generate a point travelling a parametric plot ...
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 ...
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 ...
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: ...
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 ...
2
votes
1answer
82 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? ...
2
votes
2answers
85 views

Rotated ellipsoid exporting gives Export::type warning

I tried to export the following model for 3D printing but failed: ...
4
votes
1answer
130 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. ...
0
votes
0answers
30 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
69 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
32 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
37 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
80 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?
4
votes
0answers
145 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 ...
2
votes
1answer
103 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 ...
0
votes
0answers
37 views

Generating GIF animations of nested Manipulate expressions

I have a quick and dirty function that I use a lot for generating interfaces for internal demonstrations: ...
8
votes
1answer
183 views

Programmatically creating a notebook containing plots for PDF export

In order to save computation results, I want to programmatically create some MMA notebooks and export them as PDF files. It works fine for text: ...
2
votes
0answers
47 views

Exporting a vector field in VTK format

How could I export a VectorPlot3D object to VTK format? I wish to export a vector field created by Mathematica in a VTK format to visualize in Paraview. All I have ...
1
vote
1answer
45 views

Exporting dat in 3 column format

I have data like the following dat = {{{0, 0, 311.429}, {0, 1, 0.0154873}}, {{1, 0, 0.0483966}, {1, 1, 0.0154212}}, {{2, 0, 0.0702652}, {2, 1, 0.0152236}}} I want the data to be exported in text ...
0
votes
1answer
61 views

Printing all elements of table in Fortran form

Let's say I have some Table object. The elements of this table are accessed as Table[[i,j,k]]. For each element in the array I ...
1
vote
0answers
38 views

Export system of inequalities in MPS format

I am interested in the .MPS format, usually used in Linear Programming problems (see here). When importing a file in the .MPS ...
0
votes
1answer
49 views

Export and import sound give different data

If I export a sound object and then I import the same sound I have a different data array. The errors seem to have a certain regularity. They are all multiples of the same value: Why does it ...
0
votes
1answer
68 views

The best way to export a set of n matrices [closed]

Suppose I have 20 Matrices: Mat[1], Mat[2],...,Mat[20]. What is the best way to export (and Import) this set of Matrices in a file? How can I do that? (may be any format, for example: csv). Thanks.
2
votes
0answers
45 views

Why does Export not raise an error message? [closed]

Why does Export["str", str, "Table"] not evaluate to an error, where str is any expression?
1
vote
0answers
29 views

How can I split a column across pages in PDF export?

Suppose I have two cells. The first cell is styled with "Section", and has contents "Section". The second cell is ...
1
vote
1answer
82 views

Exporting Data to NetCDF

I previously asked for help with accessing metadata in .HDR (version 4) files. I am obliged to work also with NetCDF files, with which I am only briefly acquainted. (I am aware that my question ...