Questions tagged [export]

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

Filter by
Sorted by
Tagged with
39
votes
2answers
1k views

How can I export my learned ClassiferFunction[] and PredictorFunction[]s?

Mathematica 10 provides beautiful high-level machine learning functionality. Sadly, the learned functions once created are rather opaque objects. I need to use them in other projects, so here is my ...
9
votes
3answers
440 views

How can I encrypt/decrypt a directory?

I'd like to use Mathematica 10's new Encrypt and Decrypt functions to secure files and folders on my mac. Here's what I have so far but something goes wrong along the way, since by the end of this ...
1
vote
1answer
78 views

PointValuePlot can't generate vector figure when set ColorFunction->“Rainbow”

It's amazing that 12.2's new function PointValuePlot can't generate vector figure when I set ...
7
votes
1answer
191 views
+50

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 ...
2
votes
3answers
85 views

Export Long Plot with No Whitespace

Observe the following code: ...
0
votes
0answers
25 views

How to save data to a new file, import the data and then use it

I have a for loop which generates random matrices and then some scalar numbers for example: ...
0
votes
0answers
20 views

How to make eplilog text visible while exporting plot as pdf?

I am having this problem that if I add some epilog text in a plot by rotating it, then while I export the plot as pdf, the text becomes invisible. It works fine if I export it as jpeg or png. What ...
0
votes
0answers
32 views

Export 3D Mesh without shading issues

I can export a mesh to a .obj file such as with the following: ...
16
votes
1answer
2k views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
-1
votes
1answer
43 views

How to Debug Error in PDF Export?

I have a complex graphic with text which exports correctly as a jpg or png file but if I export it as a PDF then some of the sloping letters are missing. How can I go about debugging it? For the sake ...
3
votes
1answer
61 views

Export ComplexPlot3D as Mesh with Material

If I generate a complexplot as follows: a1 = ComplexPlot3D[Log[z], {z, -5 - 5 I, 5 + 5 I}] I can export it to a 3D mesh (for use in external applications) with: <...
1
vote
0answers
43 views

Uneven dashing in 2D plot [closed]

I am plotting an expression using the Dashed directive, but the dashing appears as unevenly spaced. Here is the code: ...
4
votes
2answers
33 views

How to export a list of url strings as a json file?

I want to export a list of url's as a JSON file. For instance: ...
-1
votes
1answer
75 views

Create table with squares and cubes and colors, how to produce the desired effect?

This should be very simple but I do not get as I want, I have tried, with print, grid, matrix but it doesn't work. Is for my niece, is to create a table of squares and cubes with big bold letters size ...
2
votes
1answer
37 views

Overlay Two Plots, One With Extended Domain and the Other With Frame

I need to export two versions of a plot as PNG images and have them line up perfectly in an external program. One version needs to have gridlines and a frame at specific points, and the other version ...
2
votes
0answers
40 views

How to programmatically save tagged cells from currently open notebook (nb ext) as a package file (m ext)?

Please do not tag this question as already answered because the method described at Is there a way to programmatically do a “save as ” on an init.nb file to save it as init.m? is only for saving ...
3
votes
1answer
166 views

Export high resolution 3D graphics

There is a code for a revolution of Koch Snowflake I just want to export it as an obj file (or any other 3D format) ...
1
vote
1answer
40 views

How to export an output in a special cell in an excel file?

My general question is: How can I put each of my outputs (a number) in a special cell of a given sheet of an excel file? for example I have built an excel file (say results.xlsx) and I want to fill it ...
0
votes
0answers
33 views

How to get rid of the white margins in picture export?

I made a manipulate box to show some spherical harmonics decomposition, and everything is working great (but it's very slow, when I add more harmonics!). Then I need to export the picture, without ...
1
vote
0answers
59 views

What I exported is different from what I drew?

This is the code. I wish to export figure containing vectorial elements. I successfully achieved the goal but the exported result is just subjected to distortion. How to solve this problem. ...
0
votes
0answers
15 views

Curved text layout with UnderoverscriptBox support

There are a few questions related to laying out strings of text along curves, Text along a lemniscate curve, How can I wrap text around a circle? and others. See the GIST. Most answers either layout ...
1
vote
1answer
34 views

Import list to excel

If I have several lists such as: ...
0
votes
1answer
86 views

Is there any way to compile and export LearnedDistribution?

I use the LearnDistribution function to learn the distribution of some data. Then, I want to export some code to sample from that learned distribution. I tried to use Compile as follows ...
0
votes
2answers
40 views

Exporting a file into a subdirectory of notebook

How can I create a directory in a notebook directory and export a file (resulted from that notebook) to created subdirectory?
4
votes
3answers
84 views

Exporting ArrayPlot as PNG (where each value in the array defines one pixel)

relatively new to Wolfram/Mathematica. I'm using wolframscript on ubuntu, and trying to export various Two-Color Automata as PNG files. It works fine for 50 evolutions, but when I do 500 or so, it is ...
0
votes
1answer
28 views

Why does Exporting to an OBJ file work for some polyhedra but not others?

This might be a bug, but I figured I'd ask here first to make sure it wasn't simply due to my unfamiliarity with the export process and the OBJ file format. For some polyhedra, e.g. the example ...
0
votes
0answers
24 views

Export a table of Graphics objects and importing them back

I have a very long code that takes a lot of computation to produce some animations, and some other graphics. I would like to make a presentation notebook including the outputs of this code, but I do ...
6
votes
1answer
110 views

Polygon Graphics without edge feathering

If you look closely at the colors used with a simple polygon graphic in Mathematica, they feather the colors at the edge to make for a nicer graphic, but I don't want that for my project. I want to ...
0
votes
0answers
30 views

Problem with special characters when exporting to pdf

I'm working on Ubuntu 16.06.7 LTS X Mathematica 12.1.1. Very recently, special characters do not display correctly anymore once exported to pdf. Here comes a basic working example: ...
4
votes
0answers
54 views

PDF size and minor glitch in export of contour plots in mathematica 12.1.1 versus 12.2

Context I have noticed both a glitch and a size issue between mathematica 12.1.1 and 12.2 when exporting to PDF a contour plot. $VersionNumber (* 12.1 *) ...
2
votes
2answers
61 views

Copying displayed results into LaTeX results in lots of “Null”s

Bug introduced in 9.0, persisting through 12.2. I use the pdconv function below, in order to show partial derivatives in a much more intuitive way: ...
1
vote
2answers
168 views

Export Graph data in text format

How can we export the data in excel of the following streamlines and contour plots to plot in Tecplot? ...
1
vote
1answer
69 views

Export high precision data to HDF5

Recently, I would like to use HDF5 instead of CSV because of times Import taking. Especially, I have to manage large data with high precision (about 50 degits) and ...
0
votes
1answer
45 views

Exporting column data to a specific column and row range

When importing from an Excel file for the data contained in column 3 and rows 2 through 58, for example, one can use the following command: ...
1
vote
1answer
40 views

Problems exporting graphs with descriptions to raster image files

I'm generating graphs with descriptions for upload to a website that only accepts raster image files. I can produce what I'm looking for in Mathematica 12.0's font-end using either ...
1
vote
1answer
33 views

Export table of mixed data without shortened decimal notation?

My question is similar to this one, except the solution presented there does not work in my case since my table contains strings as well as numbers. I would like to export data such as ...
2
votes
1answer
63 views

Extracting Data from a Wolfram Demonstration Plot; Creating an Position and Time Table from a Wolfram Demonstration

Is there a way to create an x coordinate and corresponding time table instead of having them automatically plotted for this wolfram demonstration https://demonstrations.wolfram.com/...
5
votes
2answers
88 views

How can I export a Dataset with graphics as an Excel file?

I would like to export a Dataset to Excel. The Dataset contains graphics. But the following does not work: ...
6
votes
1answer
427 views

Problem with Excel export with specific hyperlink

Bug introduced in 8 or earlier and persisting through 12.2 Exporting Hyperlink[] to XLSX works usually just fine, but with this particular link ...
6
votes
1answer
316 views

Export with large E instead of small e

If I export x = {e, a, 5.*10^-15} Export["testx.csv", x] The result will be ...
5
votes
2answers
1k views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
8
votes
3answers
2k views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
4
votes
0answers
144 views

Is it possible to get the original number from DecimalForm?

Bug introduced in 5.2 or earlier and persisting through 12.2 [CASE:4315787] Wrong behavior of NumberForm (DecimalForm outputs ...
1
vote
1answer
57 views

How to use 'Join' and '& /@' : combining all .csv files in a directory into a single .csv file automatically

I would like to import all .csv files in a directory and combine them into a single file using Join. I can do this manually but when I try to automate it using <...
0
votes
0answers
32 views

Exporting a three-dimensional graphic to EPS

I draw a three-dimensional graphic with the use of the command "Graphics3D". The graphic includs lots of solid and dashed lines. When exporting the graphic into the EPS format, the final ...
0
votes
0answers
11 views

How to program the Options button in SystemDialogInput[“FileSave”]

Is there a possibility to programmatically access the Options button in the Save Dialog using SystemDialogInput["FileSave"]? I would like to change exporting options, like resolution, etc.
14
votes
2answers
1k views

How to export to HTML and not lose Grid Frame in the generated HTML?

This is a known issue for me with Mathematica. When I export a notebook to HTML, Mathematica loses some decorations such as Grid Frame lines (in grid and like objects). For example, creating this ...
10
votes
1answer
92 views

How to control floating point precision when `Export`ing to obj format?

Suppose we have a MeshRegion that we want to export to an obj file with, say double precision. Is that possible with Export? And ...
2
votes
1answer
66 views

Export NetCDF Dimension Name

In the NetCDF format, I can define a common dimension with a specified name. Then when I create variables, I can have the dimensions of those variables reference the same dimension name. Is there away ...
0
votes
0answers
24 views

Export multiple Graphics3D objects combined using Show in a single 3d format file

Suppose I have two (or multiple) Graphics3D objects that I am displaying together using Show: ...

1
2 3 4 5
33