Questions tagged [export]

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

Filter by
Sorted by
Tagged with
3
votes
0answers
56 views

Why does exporting a plot in raster graphics formats add a red background?

Bug introduced in 12.0 or earlier and persisting in 12.3.1 I've generated a Mathematica plot. When I right-click it and save it in a SVG file format like PDF or EPS, it looks great. (Unfortunately, I ...
3
votes
1answer
87 views

How to export/import the following data in a proper way?

Consider numeric data that has the form {{{a,{b,c,d},e,f,g,h,k,{l,m,n},o}, ...},...}, where the first ... mean other similar rows, while the second ... mean ...
1
vote
1answer
54 views

How put a legend in an animation?

I wrote the following code for create an animation with legend: however I was not able to put the LineLegend command into the command Animate and so it seems that this is the reason for which I can't ...
1
vote
1answer
43 views

How to optimize time to obtain large data set? [duplicate]

I would like to generate a set of data of matrix of size 1000 x 1000 x 1000 in a region defined by 0 outside the sphere of radius r=100 centered in the coordinate (500, 500, 500), and number 1 inside ...
1
vote
0answers
19 views

Exporting a DimensionReducerFunction

I need to run my DimensionReducerFunction in a standalone fashion outside of MMA. That is, without calling into a kernel or through an APIFunction. For example, ...
1
vote
0answers
26 views

Error when exporting

Imagine I have a list of plots, call it frames, and I rasterize them in order to have a smoother exported video, like so ...
3
votes
0answers
147 views
+400

Exactly recreating image NetEncoder output

I need to run an exported NetChain in ONNX, surprisingly the model exports and runs successfully, but there's a discrepancy in the image loading stage (the NetEncoder'ing that must be written manually)...
3
votes
3answers
113 views

Exporting CSVs of UTM coordinates. How to stop northing exporting in scientific notation?

I need to batch convert a folder of CSVs containing UTM coordinates from GDA94 to GDA2020. Sample data below: Copyable form: ...
0
votes
1answer
51 views

quality when saving as PDF [duplicate]

...
0
votes
2answers
74 views

Multiplot, extract data to a file

I used NDSolve to solve a system of ODE, and the resulting n functions y1[x], y2[x],... yn[x] were plotted with the Plot command, as follows, ...
0
votes
0answers
26 views

How to extract detail subsection of Metadata

I am trying to get subsection of the Metadata such as image, title, url, title, description but it is impossible. Can you advise how to get this information from the follow code and results. ...
0
votes
1answer
53 views

Export data to excel [closed]

If I have the following data of x and y: data=https://pastebin.com/LRjLMfcr How can I export data to excel to have the data in columns of x and y for each data set contained in the same tab, rather ...
1
vote
1answer
52 views

Strange behavior exporting UnsignedInteger64 in HDF5 format

The UnsignedInteger64 data format should be able to encode correctly any integer in $[0,2^{64}-1]$. When using this data format with ...
4
votes
1answer
118 views

Export is not clearing memory

Version: all 12.x OS: Windows 10 and MacOS I am having an issue with Export not clearing memory after it is done with exporting to an .mx file. I have reviewed other posts concering memory issues with ...
0
votes
1answer
42 views

How can I save the eigenvalues of a 1000x1000 COE matrix and 500x500 COE matrix in the same file?

I have generated eigenvalues of '1' 1000x1000 matrix of CircularOrthogonalEnsemble and saved it in a csv file using Export. Now ...
6
votes
4answers
417 views

Problem with exporting RegionPlot as PDF

I have the following RegionPlot (which code I don't present since it comes from a long expression): When I right click on it (within the notebook) and try to save ...
0
votes
1answer
73 views

Converting JSON to CSV but the formatting is not correct

I have a folder of about a million JSON files and I wrote this to convert them quickly to CSV, but the formatting is not correct for the software I'm feeding them into. Here's the code I'm using: <...
2
votes
2answers
79 views

Exporting a Large List to a CSV File Kills Kernel in 12.3?

I noticed that Mathematica 12.3 (also 12.1) kills the kernel when I try to Export a large list to a CSV file. No error messages, no warning, just a hard stop. Here is the code I wrote to replicate the ...
0
votes
1answer
36 views

Cannot retrieve a function definition from file after save with ParallelDo

This is an example of a problem I have retrieving functions from a file I save using ParalleDo. ...
2
votes
1answer
88 views

How to generate the file names as follows?

Suppose I have two variables called var1 and var2 which can have arbitrary values. I use them in a toy example as follows ...
1
vote
0answers
39 views

How to export current state of a dynamic variable to Excel

I have a table with column headers and data. (The original table is much longer than the example is use to explain my problem here). ...
0
votes
0answers
83 views

Different solutions for an equation

I have a problem with Mathematica, When I solve this equation in Mathematica and also in wolframalpha I have different solutions [[1] ...
1
vote
0answers
46 views

Can't Export string made with StringForm?

This works. It returns "acb". StringForm["a``b", "c"] This doesn't work. ...
0
votes
1answer
57 views

How to export iterated values of a function into a text file?

I have a 3x3 textfile 3.txt of numerical values. Each column corresponds to a,b,c respectively. I have a function f(d,e) as ...
1
vote
1answer
59 views

How to list all solutions appearing in range [duplicate]

A function h that I've written (it uses Reduce) outputs a list of integer solutions of the form e.g. ...
4
votes
1answer
120 views

"Poor" export quality for SVG image

I export an image in SVG format using the Export command (code below). I find the quality okayish, but not great. I tried playing around with ...
3
votes
1answer
161 views

Running out of memory when exporting at high ImageResolution

...
14
votes
1answer
160 views

Creating animated gifs with less jitter?

I'm looking to improve the quality of exported animations (for which I'm limited to animated gifs for compatibility reasons), and the default export looks a bit unnatural/jittery. I'm wondering if ...
1
vote
0answers
51 views

How to get MaTeX to export to PDF with 12.3.1? [duplicate]

I like to use MaTeX to produce publication quality figures. It makes the right font at the right size. However, since upgrading to MMA 12.3.1, it does not export to pdf with export quality. What ...
0
votes
2answers
123 views

How to create and export high quality 3D plots with straight axes

When I create a 3d plot (say with ListPointPlot3D[{{0, 0, 0}, {1, 1, 1}}] the axes lines look quite bad. For example the z-direction axes, which due to the ...
1
vote
1answer
62 views

How to export arbitrary number of plots to separate pages of a PDF file?

I have 8 plot, just for sample data ...
2
votes
1answer
52 views

How can I convert the inverse hyperbolic function I defined and built-in inverse trig functions to TeXForm the way I prefer?

In Mathematica,the inverse hyperbolic functions are displayed with the prefix "Arc" like "ArcSinh[]", which I thought incorrect and misleading. Since the hyperbolic angle is ...
4
votes
2answers
124 views

Color that *imposes* transparency

Suppose I have a plot with a transparent background and I want to place a letter right on top of a curve. For clarity, I'd like to add an outline around the letter. The image below shows a white ...
1
vote
1answer
116 views

Export Grid object to pdf without border?

When I try to export a Grid object with a White background, I get a gray border around 3 of the 4 sides in the resulting pdf: ...
1
vote
2answers
46 views

Subbing in numbers to a set of solved simultaneous equations

I have the following set of equations (a,b,c) which all depend on some value x. The equations are defined in terms of 3 variables (d,e,f). I can solve the equations to find expressions for d, e and f ...
2
votes
0answers
59 views

Best mode to export a Mathematica notebook to LaTeX

I prepared a notebook with Mathematica containing many graphics and I tried to Save As -> LaTeX Document. Once opened in LaTeX I lost every graphic, I can't see the numbered items I inserted, the ...
2
votes
0answers
60 views

family photo album,how to optimize its realization?

I am Beezy, the eldest daughter of the couple. I have a lot of photos on paper and I want to make a photo album for my parents, but the task is titanic. First I use a scanner, to scan the photos that ...
1
vote
0answers
51 views

Storing python output to variables in Wolfram

Would like to use the external language input in python to save variables I can potentially use in Mathematica. Any chance there is a way to do this? I do understand there might be a solution with ...
7
votes
2answers
190 views

Imposing breaks in contours in a ContourPlot without rasterization

In this question, we are asked to compute breaks in the contours of a ContourPlot so as to place contour labels (values) atop the colored boundaries rather than the ...
2
votes
0answers
42 views

How to remove "Qt issued a fatal error: QXcbConnection: Could not connect to display"?

I'm using Mathematica 11.2 on Linux. At the end of my script, I'm adding an Export command to export my results into a pdf file. I'm receiving the error msg: Qt ...
2
votes
1answer
74 views

Exporting multiple lists (x1,y1...n) (x2,y2..n)of different lengths into same excel files separated by spaces of two columns between each (x,y) list?

I have multiple lists like this this with different lengths and different x, y values, ...
0
votes
0answers
32 views

Plotmarkers not being displayed correctly [duplicate]

When I export the following Plot to a PDF, the Plotmarkers appear jagged and don't look like they should. ...
3
votes
1answer
59 views

Export a graph to pdf but size does not match

The following is a minimal example that I intended to obtain a graph (RegionPlot) of image size 3cm: ...
0
votes
0answers
42 views

How to export to an .eps file?

This is a followup question to this answer. The code works great but I now want to export the resulting DensityPlot. I have tried clicking the plus on the right of ...
5
votes
1answer
49 views

Restricting TextOutline mode to special characters when exporting SVGs

Exporting graphics to SVG in Mathematica defaults to converting all the text to outlines, at least since version 11 as far as I can tell. This is more robust for viewing on different devices, but it ...
5
votes
2answers
375 views

How to export expression in mathematica to python [closed]

I have an expression in Mathematica; I want to convert this expression into python readable format. how to do this? ...
0
votes
0answers
42 views

Strange artifacts when exporting Plot3D images

I have a variable that stores a Show[] that has surface (Plot3D) and two Graphics3D objects. ...
3
votes
1answer
99 views

Bug in Export of figures with PlotMarkers?

I am experiencing problems with exporting figures such as combinations of ContourPlot and ComplexListPlot. As an example, when ...
0
votes
0answers
67 views

How can I make publication quality figure in mathematica? [duplicate]

It includes adjusting the DPI of the image.
0
votes
2answers
62 views

Extract data from ParametricPlot to a file

I have a plot which is the output of a ParametricPlot command, and I want to save the data to a file, ideally with the columns x, ...

1
2 3 4 5
34