Questions tagged [export]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
53 views

Incomplete data transfer: large CSV data Import, computation outputs exported as MX, then import the MX data [closed]

I have a very large CSV data file, which I imported it to my active Notebook: ...
2
votes
1answer
131 views

export and import of 3D arrays

I have a very large (up to 1 Mio elements) 3D array A = {{{1,2,3,4},{5,6,7,8}},{{9,10,11,12},{13,14,15,16}}, ......, {{....},{....},{....}}} which I want to Export ...
1
vote
2answers
67 views

Import all files in folder, perform operation, re-export with appended file name

I'm trying to write a short program that does the following over and over again. Import all files in a folder Automatically generate names for the imported files based on source file name. Perform a ...
4
votes
1answer
70 views

Exporting Associations (containing lists and strings as keys and values) to python dictionaries

Since Mathematica Associations are similar objects to python dictionaries I think there should be an easy way to export a Mathematica ...
1
vote
0answers
24 views

Molecule export to PDB fails in WL but succeeds in rdkit

The following is one of a whole list of molecules which Mathematica fails to export to PDB: ...
1
vote
1answer
96 views

Why does Mathematica set a resolution when exporting a PNG file with given pixel size?

I use the export command Export[path_to_png_image,content,ImageSize->{xres,yres},Background->None] to create PNG images with transparency and some fixed ...
1
vote
1answer
38 views

Difference between ImageSize and RasterSize when exporting to PNG

I export 2D and 3D plots to PNG images using the export command. I can set ImageSize->{xsize,ysize} or ...
0
votes
2answers
150 views

How to save the output data of second order differential equation in Mathematica?

I am beginner in Mathematica. I am trying to save the output data as a text file but I could not save ! ...
12
votes
1answer
244 views

Export infinite looping GIFs by default

frames=Table[Plot[Sin[x(1+a x)],{x,0,6}],{a,0,2,0.2}]; Export["test.gif",frames] The above code runs in version 9.0 to get a infinite looping GIF ...
0
votes
0answers
53 views

Saving DensityPlot as vector graphics in Mathematica 12.1 and above

I want to save DensityPlot[] as vector graphics to PDF. As an example, let's save this plot: ...
7
votes
2answers
188 views

Exporting image and scale

Let us say I have a plot, for example that one: Plot[x^2,{x,0,5},AspectRatio->5] and I would like to export it as a PDF in such a way that if I print the PDF ...
3
votes
1answer
79 views

Export Discretized ImplicitRegion as step using OpenCascade

Following the reply by @user21 to this post on exporting a region to a step file, I tried to do the same for a Discretized ImplicitRegion, but OpenCascadeShape didn't appear to work. Is there a switch ...
1
vote
0answers
35 views

Creating a library of saved function values [duplicate]

I have a command of the form J[b,c,n] which outputs a list of complex numbers, obtained by using FindRoot. Some outputs take ...
4
votes
3answers
183 views

How to run a whole mathematica notebook within a for loop?

I have some data sets labelled data1.dat, data2.dat, and so on, and I have written a notebook which will import a single ...
3
votes
1answer
47 views

Dashed arrowhead when exporting to PDF

Dashed styling gets erroneously applied to the head of an Arrow when exported to PDF in version 12.1-12.2 on Mac -- it looks ...
0
votes
3answers
186 views

Saving a notebook as PDF not working

I'm trying to save the notebook as PDF with working. I tried all methods in old threads but nothing works. Does anyone know how to make this work? (version 12.0.0.0, windows 64-bit) ...
3
votes
2answers
334 views

How to extract a picture from Manipulate, without frame, sliders and axes?

I would like to extract some pictures from a Manipulate that uses a slider, but when I do it from the pop-up menu, I get all the frame and slider with it. How can ...
0
votes
1answer
32 views

Extract and name PNG's from loops [duplicate]

I want to extract PNG files and name them depending on the dummy variable of a loop. For example, starting from ...
6
votes
2answers
254 views

Why do the frame ticks disapear when a plot is exported as PNG?

I am using M12.0.0.0 on Ubuntu and I have these two plots: ...
1
vote
1answer
130 views

Exporting 3D objects for people who do not use Mathematica

I want to export a 3D graphic object plot that I can rotate using the mouse or the trackpad, and send it via email to my collaborators, in such a way that they con rotate it too as they prefer. This ...
9
votes
3answers
373 views

How to stop Mathematica 12.1 from chopping off the axes arrows?

Using the following code, I make a simple graph that is exported to pdf: ...
1
vote
1answer
163 views

Export data from NDSolve when they meet a certain condition

I need to export to a txt file the data from the following system of equations: ...
-1
votes
2answers
77 views

Non-linear equation

I have to solve this equation but the problem is X is function of x it means X[x] $$X(X-a)+ b e^{-2 X t}=B,$$ a,b,B are constants. How we can I get some result for ...
1
vote
0answers
52 views

Export and Import trained neural net

I have trained a neural network and would like to save it to disk. I am using Wolfram version 12.1.1.0 on Windows (64-bit). I have entered the following commands: ...
3
votes
2answers
154 views

Why does BarLegend change its position when exported?

I have this code to create some DensityPlot with M12.0.0.0 on Ubuntu ...
5
votes
0answers
72 views

Exported arrow to PDF or EPS messes up its tip [duplicate]

The code g = Graphics[{AbsoluteThickness[20], Arrowheads[0.5], Arrow[{{0, 0}, {1, 1}}]}, PlotRange -> {{0, 1.1}, {0, 1.1}}] Export["Arrow.eps", g]; ...
2
votes
2answers
136 views

Running a notebook which imports and exports files repeatedly

I am trying to automate the process of running a Mathematica notebook that takes as an input a .txt file and exports another .txt file. This notebook was not written by me, and I don't fully ...
3
votes
1answer
82 views

Blunt arrowhead when exporting 2D plot

I have the following code to generate a 2D plot: ...
0
votes
2answers
53 views

Export Roots of EigenValue Function from Mathematica to Excel file

For[i=2,i<200, i++, Print[FindRoot[1-x Cot [x]==24,{x,i}]] I have this equation in for loop. it prints the value but I want to export these values in excel file....
1
vote
0answers
38 views

Exporting a .gif from 3D graphics while keeping the ability to manipulate [closed]

I am aware of a related question but I think my questions is slightly different. I have a table of 3D graphics (as an example you could think of a ball or torus and each element of the table is a ...
0
votes
0answers
26 views

Why the image is decomposed in three images when exporting to FITS fromat?

I have a large data set which when plotted gives: image = MatrixPlot[data, Frame -> False, PlotLegends -> Automatic] Now I want to export this image in the ...
1
vote
0answers
60 views

Exported plot range of PNG not displayed properly

I am tring to export the plotted graphics as PNG, but its range is not coming properly: ...
11
votes
2answers
936 views

How to export Speak output?

I made a series of interval workouts based on Speak[], where the voice tells me when the intervals start, when they stop and how much time I have left to prepare. ...
1
vote
1answer
35 views

How to export Speak to wav or mp3 file?

How to export Speak["valentine"] to wav or mp3 file?
1
vote
1answer
73 views

Exporting selected columns of multiple table into a single Excel file [closed]

Please suggest how to export multiple tables in a single excel file. I am trying to use the code given below: ...
2
votes
1answer
68 views

Include parameter values with data for safe Export and Import

Usually, when saving data as dat. file I include information about the parameters used to generate the data in the file name. Could I include that information with the generated data in the dat. file, ...
1
vote
2answers
73 views

How do I export a movie in AVI or Mov without altering the color and resolution?

Lossless movie export. How do I do that ? Or how do I export such that the color doesn't change. AVI makes changes the color and mov changes resolution and color. If you export a still image (in BMP ...
0
votes
2answers
105 views

How to save in STL format for 3D printing

I have the code of a spherical gyroid written in Mathematica and I am unable to save it in STL format. The image is shown in the figure below and the code is shown below. I need help with a code on ...
0
votes
2answers
57 views

Exporting tabulated data into an ASCII file preserving column alignment

I have some problems exporting Table data into ASCII files preserving column alignment. By example (under Mathematica v11.2 + Linux): I generate a random table with 2 columns ...
0
votes
1answer
60 views

Exporting string with newline and tab symbols to LaTeX

We have a string that has "tab" symbol between letters "B" and "C" and "newline" symbol between letters "C" and "D": Input: ...
4
votes
1answer
110 views

Exporting to PDF with correct size and resolution

I am trying to export a GraphicsGrid to a PDF such that the PDF has a size of 8x10 inches and a resolution of 300 dpi. Here is what I have done: Create the ...
8
votes
0answers
122 views

Why 99.998474% instead of 100%?

I want to export a red square to the SVG file Export["red_square.svg", Graphics[{Red, RegularPolygon[4]}]] I noticed that in the exported SVG file, the ...
1
vote
1answer
91 views

Exported Excel File - decimals

Im trying to export data from the interpolating function result to excel. everything works fine and the plots are as expected, but if I want to export these data to excel using ...
18
votes
3answers
4k views

Transfer graphics from Mathematica to Word without loss of quality

I want some high-quality 2D graphics produced by Mathematica in my paper. My step-by-step operation as follows: First I make the plot, for example, ...
1
vote
2answers
29 views

Follow-up to “Plot, extract data to file”

This is literally a follow-up to part of Mr.Wizard's answer to: Plot, extract data to a file Specifically in reference to ...
13
votes
1answer
548 views

Can Mathematica be used to edit MP3 tags?

Can Mathematica edit mp3 tags? I have a set of files and I'd like to batch process artist, album title, etc. I know other tools exist; I wonder if Mathematica can do it.
0
votes
1answer
20 views

Loop a fourier calculation and export each tested parameter to a mutiple column csv-file

I want to evaluate the code below for a series of s, running s from for example 1 to 100, or with s being a list of specific numbers in a list such as {5,7,10, etc}. I have attached a small sample of ...
4
votes
1answer
475 views

How to Export to/Import from GeoGebra?

I'd like to convert geometric figures between Mathematica and GeoGebra. Does anyone know how to do that?
0
votes
0answers
21 views

Having trouble when exporting my data

I'm exporting data, but getting curly bracket in every column digit of the exported data. I am using the Table. ...

1
2
3 4 5
33