Questions tagged [export]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
41 views

Should behavior of Cube[] and Cubeoid[] be the same in these cases?

While attempting to export a symbol with head Region (or Graphics3D) as an OBJ file, I run in to problems using Cube[] that are not readily apparent with ...
3
votes
3answers
2k views

How do I add EOF character to a CSV file?

I am using Mathematica to create a CSV file to be used by another program (SRIM if needed). The file must end with the EOF character. I get an error from SRIM telling me that the file does not have ...
0
votes
0answers
51 views

How do I add the carriage return at the end each line?

I am working with SRIM. It takes as input, files each of whose lines end with the carriage return and line feed characters (respectively #13 and #10 ASCII characters) as said in the tutorial (page 15):...
1
vote
1answer
79 views

Write data to output file

since I am new to Wolfram Mathematica I am wondering if somebody can help me with my problem. (it is simple I guess) Basically I would like to extract the data from a function I defined in Mathematica ...
0
votes
0answers
29 views

How to avoid CSV exporting all results in one row

I have this function which works fine: ...
3
votes
1answer
135 views

Exporting a Manipulate/Animate with sound to create a Video

In the Documentation of Video (under Scope, 4th example) a Manipulation is combined with audio and exported as a file.mp4 video: ...
0
votes
1answer
164 views

How to export list of lists to a CSV without “Row[{}]” text?

When I export a CSV file using the code above, I get something like this: I'd like to export the answers / text on the right column without "Row[{}]" but just the raw text. Is this possible?...
0
votes
0answers
57 views

Wrong image size when exporting to pdf

I'm having trouble in getting a plot adequate size when exporting as pdf. When I select my cell and use "Save Selection As...", everything turns almost ok. Sadly, I get an annoying "Out[...
3
votes
1answer
71 views

Exported animation loops automatically

I want to export an animation, anim = Animate[Plot[Sin[x + a], {x, 0, 10}], {a, 0, 5}, AnimationRepetitions -> 1, AnimationDirection -> Forward] then export ...
1
vote
1answer
42 views

Error while exporting animation [closed]

When trying to export a video in the following manner ...
1
vote
0answers
64 views

Export Large Sparse Matrix As .mtx File

I'm trying to export a large sparse matrix of dimension 1164960 by 1164960 with 17815680 elements as an .mtx file so I can import it into Python. I first the run the following code successfully. <...
0
votes
0answers
55 views

Is it possible to generate and export plots in a high-performance cluster environment?

I have access to a cluster that uses SLURM. I am not very knowledgeable about using clusters, so figuring out how to submit Mathematica jobs was a challenge but eventually something was worked out. ...
0
votes
1answer
229 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 ...
2
votes
1answer
30 views

Linebreaks in labels after PDF export

This just drives me crazy: Suppose I have a label label that I want to put on top of a Graphics (or any other Mathematica object ...
41
votes
3answers
5k views

How to translate interactive graphics from Mathematica to standard HTML+SVG?

I have a simple interactive plot in Mathematica, with controls for various parameters. The point of the plot is simply that users can explore how the plot changes as the parameters change by ...
4
votes
0answers
43 views

pushing Mathematica-generated HTML to the web (RemoteFile/SFTP) [duplicate]

I would like to use Mathematica to create some simple web pages. I prefer not to use CloudDeploy because I can host these pages more cheaply locally and they have no interactivity. Generating a page ...
10
votes
1answer
150 views

Problem exporting Graphics3D into PDF

When I try to export some Graphics3D, like this one: into a PDF file I get a bad appearance like this: It's possible to fix? Steps to reproduce the problem: <...
4
votes
1answer
254 views

How to export in Wolfram Cloud?

So I'm using the Wolfram Cloud Development Platform to code in Mathematica and I'm trying to download an animation I made. I write Export["conic.avi", conic] and it ...
2
votes
1answer
256 views

Exporting data from Wolfram Cloud [duplicate]

I have this table: data = Table[{x, y, Sqrt[r^2-x^2-y^2]-r+RandomReal[{0,0.005}]}, {x, 0, 2.5,0.5}, {y, 0, 2.5,0.5}]; How can I export it to a .txt file using ...
8
votes
1answer
1k views

How can I efficiently write formatted data to a Gaussian Cube file?

I am working with data files that contain information about electronic wave functions. The data format is specified by the quantum chemistry program Gaussian. I need to import the data, manipulate ...
2
votes
1answer
39 views

Export data in multiple columns

Let's say I have a function W[x_]; and would like to export the data for xrange -100 to 100 I have tried this ...
1
vote
0answers
96 views

Exporting to GIF doesn't work

I cannot export a list of images (or a single image) to GIF format. I use Win10 with Mathematica 9.0. It previously worked on an other device with Win7. I can also export an image to other formats, ...
0
votes
1answer
56 views

Making a list of Strings from the SymbolNames for a list of Graphics

Having generated a list of plots, such as plot01 = Plot[Sin[x], {x, 0, 6}]; plot02 = Plot[Cos[x], {x, 0, 6}]; plotList = {plot01, plot02} Then create strings ...
0
votes
1answer
32 views

Export data from NIntegrate and Piecewise

I use the following to calculate my Integral. ...
2
votes
0answers
70 views

saving edited Mathematica image at high resolution

I've created several graphs for a book I'm writing by using Mathematica commands to create an output image and then adding labels, etc. with Mathematica's drawing tools. My issue is that I can't seem ...
6
votes
1answer
88 views

Where can I obtain the package Mathpsfrag?

Documentation for mathpsfrag can be found here: https://arxiv.org/abs/0801.2175 http://www.tug.org/tugboat/tb29-1/tb91grosse.pdf However, the authors webpage recorded on http://packagedata.net ...
0
votes
1answer
26 views

Exporting data in grid format splitting the last column

I have a list of lists, and I displayed it in grid format. The grid is huge, so I will show here an example: ...
4
votes
1answer
82 views

Printing several A4 pages in PDF

I want to create a pdf file with several pages. Each page should contain only an image without any margins. It works fine when I'm exporting just one image as pdf, but some weird margins appear when I'...
1
vote
2answers
120 views

How to Export my results to an excel sheet

I have a nonlinear equation in single variable( $x \tan(x)=5$ ) and it have an infinite number of roots , I got some of them and I want to add them in a table this is my code please, tell me how to do ...
9
votes
1answer
374 views

How to reproduce Wolfram Language's base64 encoded string with command-line tool?

With Wolfram Language: In[7]:= ExportString["foobar中文", "Base64"] Out[7]= "Zm9vYmFyXDo0ZTJkXDo2NTg3" With the closest command-line software I could think of <...
7
votes
2answers
138 views

HatchFilling exports as non-vector graphics

As of version 12.1, there is an interesting new function to perform object pattern filling: HatchFilling It works great, but it seems that any graphics containing ...
18
votes
4answers
7k views

How can I transfer mathematical expressions between Mathematica and Maple?

Is there a simple way to copy mathematical expressions between Mathematica and Maple (or at least in one direction)? I mean only expressions built from numbers and predefined mathematical functions, ...
2
votes
1answer
96 views

What's the right way to export a DXF file in Mathematica?

I have exported a DXF file from Mathematica and I am trying to import it in AutoCAD. The file that has been exported is output of a command like the following ...
5
votes
1answer
156 views

How to export a volume mesh?

Let's say that I generate a volume mesh using the following command: Icosahedron[] // BoundaryDiscretizeGraphics // TriangulateMesh which gives the following: As ...
2
votes
2answers
52 views

Prevent Export from wrapping Row of plots

I assign a few LinePlots to plotA, plotB, plotC and ...
0
votes
0answers
30 views

How do I share a Dataset using Wolfram Player?

I can Export a Dataset to a Notebook or CDF and share it with another person who only has access to Wolfram player. They can see ...
2
votes
1answer
60 views

Printing newline in `Export` properly

I am using the following code to print some data to an external file : ...
5
votes
1answer
5k views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
0
votes
1answer
97 views

Mathematica temporary files

I have a notebook which takes 24 hours or so for evaluation. The notebook uses Export command to output a dat file with two ...
3
votes
1answer
51 views

How to control the content of a .gml output of a graph?

Say there's a .gml file with a graph: ...
3
votes
1answer
229 views

Delete dataset from hdf5 file

Is there any way to remove a dataset from an hdf5 file using mathematica? Or, alternatively, is it possible to overwrite a dataset while keeping the other datasets intact? I've tried the following <...
0
votes
1answer
136 views

Graphics3D from Mathematica to stl

I made these two Regular skew apeirohedra using Graphics3D. The flow of my code is like this : (1) calculate all vertexcoordinates and faceindices (in "mucube", but in "muoctahedron" I just used ...
61
votes
1answer
6k views

Export Code to Pseudocode?

I'm writing a paper and all my code is in Mathematica. The snippets are mostly simple, and consist of loops, maps, variables, and conditionals. I'd like add it to my paper, however, not many academic ...
1
vote
2answers
33 views

Save an equality in Mathematica

I am trying to do the simplest thing, just to export f = Log[z] in a .m file. I don't want just to export the Log[z] but the ...
9
votes
0answers
151 views

Export/Import a 3D file format with Textures

In version 12.1, the docs say that it is now possible to export/import to a 3D file format while preserving textures: But I can't seem to find a single example of this new feature! Code to try: If ...
1
vote
0answers
41 views

Exporting spline to dxf

I created a spline to be exported to the DXf extension: ...
1
vote
0answers
31 views

Error while exporting multiple files

I have two questions. I am trying to export results from my calculation when I iterate. I am processing multiple files using code below: ...
2
votes
1answer
111 views

Can't save output in the script mode

I encounter the problem that I can't save any output from Mathematica script. Here is a minimal example. test.m ...
0
votes
1answer
56 views

Problem in table [duplicate]

NDSolve[{t,Evaluate[{ode}\.Sol]},{t,0,10,1}]//TableForm After executing this with appropriate equations I get solution in the tabular form but when I try to ...
2
votes
0answers
33 views

Exporting plot as .eps in cloud version [duplicate]

I am a total beginner with Mathematica and in the desktop version, I can just select my plot and export it as a .eps. I can not find out how to do it in the cloud version, just right click and save it ...

1 2 3
4
5
33