Questions tagged [export]
Questions on converting data, graphics, sound etc. from Mathematica into other file formats.
1,615
questions
9
votes
5answers
3k views
Using Greek $\LaTeX$ fonts
I want to use the $\LaTeX$ font in graphics. For text/numbers, this is easily done by FontFamily -> "CMU Serif" (on Ubuntu) like this:
...
2
votes
0answers
88 views
Mathematica 12.1 breaks exporting to postscript - workaround?
If you uncomment the ColorFunction in the code below, the resulting PS file is 200kb (compared to 32kb in 12.0) and is rejected by applications such as Scientific ...
2
votes
1answer
84 views
Why does PageBreakAbove / PageBreakBelow not work here?
Bug introduced in 12.0 or earlier and persisting through 12.1
Create a notebook having interspersed cells of figures and text:
...
4
votes
1answer
38 views
GeoDistance and Excel export
I'm trying to export the distance matrix below to an excel file. I have no interested on the unit. I just care the value of a distance. A standard export command does not work properly.
How should I ...
0
votes
0answers
21 views
Exporting a Mixed (text and numeric) List to a File and Reimporting it Without Unwanted Changes
I found a few similar posts, but not close enough to give me an idea what to do. My problem is that I have a mixed format (data and string) nested list which I want to output to a file. I then want to ...
8
votes
1answer
987 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 ...
6
votes
2answers
1k views
21
votes
2answers
2k views
Rasterize: Resolution option not working properly
Bug introduced in 7 or earlier and fixed in 12.1
Bug isn't present in version 5.2
Something about Rasterize which doesn't seem to work as intended.
Recipe:
Make ...
3
votes
1answer
69 views
how to save a file in STL format
good morning. I have written a code of a spherical gyroid when I run it, it gives me a 3D drawing. now I need to save it in STL format for 3D printing. Mathematical doesn't have the option to save the ...
4
votes
1answer
93 views
The rendering of plot meshes on exported x3d files is inconsistently rendered by different browsers
I'm exporting some plots from Mathematica into x3d for display on the web, and I'm having some trouble getting the plot mesh to display consistently. I believe this behaviour is ultimately a bug on ...
1
vote
0answers
40 views
Writing a data file without curly brackets and commas [duplicate]
I want to rewrite a data file without curly brackets and commas. Here is a sample of my huge file,
...
2
votes
1answer
143 views
Exporting a spherical gyroid for 3D printing [duplicate]
I have been able to wite a code which can produce a 3D contour plot if a spherical gyroid. Now I need to add a thickness to the gyroid. I also want to know how to export the 3D drawing to other ...
7
votes
1answer
51 views
Exporting a tall grid as pdf with reasonable pagination
I'd like a way of exporting a grid to PDF that isn't one super long page, moreover I'd like the page breaks to be chosen automatically (so that the grid fits/fills each normal sized page).
Is there ...
2
votes
2answers
108 views
How do I perform Bessel function computations for data imported from MS excel?
I am trying to perform Bessel function computations of the form Jn(b*x) where n is the order of the Bessel function. I have three columns representing x, b and n. I wish to import this data into ...
3
votes
1answer
59 views
Exporting data from an Interpolating Function
Apologies if this question is repetitive, but I have browsed the questions already posed on exporting data from NDSolve and haven't been able to successfully apply the information I found to my own ...
9
votes
1answer
73 views
Export graph6 issue
I am exporting large lists of graphs to files in graph6 format, using something like
Export["somefile.g6",graphList,"Graph6"]
but this always starts the file ...
5
votes
0answers
296 views
How to export high dpi PDF graphics at a low physical dimension with small file size?
Exporting PDFs
While it is seemingly obvious how to export higher resolution pdf vector graphics:
https://mathematica.stackexchange.com/search?q=pdf+export+high+resolution
There is nothing to be ...
8
votes
1answer
259 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, ...
0
votes
0answers
60 views
convert rational number to a text-string fraction — i.e Numerator “/” Denominator — for file export
I experience difficulties attempting to convert a list of rationals to textstring fractions with numerator divided by (i.e. '/') denominator, and outputting each on a subsequent line to a file (i.e. [...
2
votes
0answers
32 views
Export and Printout3D missing pieces in STL file
I'm experiencing some strange behavior when using Export and Printout3D on the entire object created below. Exporting each part individually or using Printout3D work just fine. Also, for some reason ...
0
votes
0answers
71 views
Problems with nonalphanumeric characters when exporting to PDF/SVG on Mma 12
It seems that exporting cells containing nonalphanumeric characters to SVG or PDF formats doesn't work as it should in Mma 12 on Linux (Fedora 30). For example
...
17
votes
5answers
853 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 ...
0
votes
0answers
43 views
How to show the value of $ x $-axis based on $ y $-axis and saved into table?
I have a code here to calculate the value of y-axis of each partition based on mx. What I would like to do next is:
To show the value of each x-axis from the ...
3
votes
1answer
114 views
0
votes
1answer
49 views
Can I use StringReplace to write the number of row which I am replacing?
I have a text file which I have constructed as
...
0
votes
0answers
60 views
Is there a more efficient way to use StringReplace?
I have constructed a table that I want to save in such a way that it looks like a python input because of reasons. For that I save the table's output in a .txt file and then perform a StringReplace ...
0
votes
1answer
27 views
Generate a texte file of 3 columns from a function of 3 variables
How to export a function f(x,y,z) as a table of 3 simple columns ?
When I use Export["result.txt", Flatten /@ data, "Table"], I don't get the data in the form:
...
0
votes
1answer
38 views
export Nintegrate
I use the following NIntegrate to calculate my integral.
When I use, Export, I get the f(r) value in the text file but not r. ...
1
vote
1answer
61 views
Export new data in JSON [closed]
While processing data in cycle my code create some json object like this:
...
1
vote
1answer
62 views
Exporting column vector as matrix in latex via “Copy as” doesn't always work. Example with vector
I want the simplest way of exporting matrices, and vector from mathematica to Latex.
Usually, I display my matrices in MatrixForm and copy as Latex to paste in my latex document. However it seems it ...
2
votes
1answer
48 views
Export to Excel with empty cells as dilimiters
I would like to combine some pieces of data and export the data to Excel, but I need to insert some empty cells between pieces of data as the delimiter. For example, I have two lists ...
0
votes
1answer
79 views
How to export a table of functions [closed]
Consider a table having rows {a, b, f[a,b,t]}, where a,b are parameters while f is a function of t (being the numeric solution of some differential equation). Is it ...
2
votes
1answer
122 views
Convert Plot to Base64 [closed]
My goal is to get a Base64 string directly from a plot (or any Graphics object) in Mathematica such that, when using a Base64 decoder online, such as this one, I ...
43
votes
1answer
3k views
How to export a Mathematica notebook into Markdown?
Is there a way to export a Mathematica notebook into Markdown?
I'm sure it's possible to implement rules for converting each Mathematica cell subexpression into Markdown, but I'm also sure that I ...
2
votes
0answers
42 views
Having problems with exporting a large notebook as a PDF file
I have a largish notebook (300 hundred pages when printed) that I have exported to PDF in the past (version 11?). I am having trouble with this in version 12.0. A PDF is produced (except once), but ...
1
vote
1answer
42 views
1
vote
0answers
73 views
Preserving mathematica formatting when exporting to Excel [closed]
I have a list:
lis = {{"a", "b", "c"}, {"d", "e", "f"}, {"g", "h", "c"}}
I would like to format the list such that whenever "c" occurs as the last element in a ...
2
votes
0answers
41 views
Exporting Manipulate objects as .mov without UI controls [duplicate]
For a video project I am using Mathematica to create graphic mathematical visuals. However, I can't quite find the necessary setting in order to get a good looking image. I am using ...
22
votes
2answers
942 views
PlotRangeClipping not working correctly with small ImageSize and PDF-export
Bug introduced in 8 or earlier and persists through 12.0.0 or later
Although Mathematica has some nice plotting capabilities, there are some things which are annoying me.
I like to export a ...
4
votes
3answers
175 views
Converting between XML and JSON?
I can't seem to find a way to convert between an XML string and RawJSON:
...
0
votes
1answer
64 views
How to reduce number of decimal Mathematica outputs in excel
I have a code which returns numbers with 20 decimals, when I copy them and paste in excel I can't reduce number of decimals, Is there any special way or trick to copy and paste so that I can reduce ...
1
vote
1answer
51 views
2
votes
3answers
104 views
Writing files out to disk with names that incorporate a parameter value
I have a notebook I run for different values of aspect ratio A all integers except 2.5 and copies its multiple plot results to my hard disc. So when I change A and rerun it, I have to manually change ...
1
vote
2answers
292 views
Properly Exporting Data to Excel
I have been looking at wind speed data from various locations. And I'd like to export this to excel. That part works. But the data are difficult to work with in excel. This is what the raw export ...
3
votes
0answers
79 views
Preserving ColorFunction when exporting 3D density plot? [closed]
I am trying to produce a 3D density plot from a set of points. Minimal code to generate a similar set of points and plot is
...
2
votes
1answer
170 views
Exporting the data points from two plotted curves
I am using Wolfram Mathematica 11. Given these quantities:
...
3
votes
1answer
88 views
18
votes
2answers
994 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
vote
0answers
18 views
Exporting output from many NDSolve's to common .txt [duplicate]
Let there be the following working example
...
2
votes
1answer
115 views