Questions tagged [export]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
528 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: <...
Nothingtoseehere's user avatar
2 votes
2 answers
146 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 ...
drk's user avatar
  • 81
0 votes
1 answer
46 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. ...
josh's user avatar
  • 2,352
2 votes
1 answer
137 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 ...
Wisdom's user avatar
  • 1,258
1 vote
0 answers
83 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). ...
Niki's user avatar
  • 960
0 votes
0 answers
91 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] ...
Mathecis's user avatar
  • 153
1 vote
0 answers
132 views

Can't Export string made with StringForm?

This works. It returns "acb". StringForm["a``b", "c"] This doesn't work. ...
ppm's user avatar
  • 61
0 votes
1 answer
75 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 ...
Shareef's user avatar
1 vote
1 answer
65 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. ...
mathphys's user avatar
  • 143
4 votes
1 answer
257 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 ...
220284's user avatar
  • 371
3 votes
1 answer
295 views

Running out of memory when exporting at high ImageResolution

...
yode's user avatar
  • 26.7k
14 votes
1 answer
422 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 ...
Yaroslav Bulatov's user avatar
1 vote
0 answers
60 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 ...
Astor Florida's user avatar
1 vote
2 answers
306 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 ...
Kvothe's user avatar
  • 4,429
1 vote
1 answer
86 views

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

I have 8 plot, just for sample data ...
Wisdom's user avatar
  • 1,258
2 votes
1 answer
214 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 ...
AlbertLew's user avatar
  • 483
5 votes
2 answers
187 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 ...
Wynne's user avatar
  • 1,526
2 votes
1 answer
213 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: ...
Jaffe42's user avatar
  • 193
1 vote
2 answers
48 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 ...
Gwaine's user avatar
  • 105
2 votes
0 answers
123 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 ...
CharlesG's user avatar
  • 131
2 votes
0 answers
81 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 ...
BeTDa's user avatar
  • 480
1 vote
0 answers
126 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 ...
tallsamurai's user avatar
7 votes
2 answers
282 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 ...
David G. Stork's user avatar
2 votes
0 answers
243 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 ...
ark93's user avatar
  • 21
2 votes
1 answer
163 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, ...
Omer Saadiq's user avatar
3 votes
1 answer
159 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: ...
Laplacian's user avatar
  • 1,053
0 votes
0 answers
61 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 ...
mattiav27's user avatar
  • 6,727
8 votes
1 answer
134 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 ...
Verbeia's user avatar
  • 34.2k
7 votes
2 answers
5k 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? ...
acoustics's user avatar
  • 1,709
4 votes
1 answer
248 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 ...
El Rafu's user avatar
  • 287
0 votes
0 answers
80 views

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

It includes adjusting the DPI of the image.
Jpmg's user avatar
  • 75
0 votes
2 answers
228 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, ...
chaffdog's user avatar
  • 125
5 votes
1 answer
178 views

Export solutions of partial differential equation in mathematica

I have a system of coupled first order partial differential equations. Minimal code is shown below: ...
Sunil Jaiswal's user avatar
1 vote
1 answer
74 views

Insert string elements to an array

(Minimal example) I'm dealing with the following array : ...
Jocelyn Minini's user avatar
0 votes
0 answers
217 views

Is it possible to export 3D plot in EPS and modify it?

I'm trying to export a 3D figure in EPS to then modify in Illustrator. However, it seems that Mathematica creates an image inside of the EPS file, making it impossible to modify it as well as making ...
Guilherme Theis's user avatar
2 votes
2 answers
136 views

Efficiently saving a vector graphic with RegionPlot and labels

I would like to save an image as a vector graphic (.pdf), so that when I zoom in, the lines and labels remain crisp. However, the image I am saving also contains components that are generated by ...
user80223's user avatar
0 votes
0 answers
272 views

Never ending story - impossible to export animated gif of a ListAnimate

I am trying to export an animated GIF file which is the result of a NDSolveValue computation (see below). The notebook is working fine and fast when I want to make a 3D plot of the solution, for ...
Pascal77's user avatar
  • 195
1 vote
1 answer
389 views

Creating a table and exporting to LATEX

I have two functions as numeric[x, t] and exact[x, t]. I want to create a table including 5 columns as follows (table formatting doesn't matter) and to export it to LATEX: I use ...
1_student's user avatar
  • 635
2 votes
1 answer
173 views

How to convert Strings from Mathematica (UTF-8) to Linux with locale "de_DE.UTF-8"?

I want to do file system operations with a Mathematica program. I see, that Mathematica and my Linux operating system use different encodings. According to the unix command ...
Adalbert Hanßen's user avatar
5 votes
0 answers
764 views

Exporting graphics as vector image

I am just trying to get my head around when mathematica stopped (largely 3D) exporting complex graphics as a vector image. I believe it was in one of the 11 versions. I understand there are lots of ...
Niels Walet's user avatar
5 votes
2 answers
228 views

embedded text in Graphics3D does not appear when exported as pdf?

I am using this answer to embed text in Graphics3D (MMA12.2.0.0, win64) but when exported as pdf the text disappears? here is the first part of the code from the ...
MMA13's user avatar
  • 4,674
2 votes
1 answer
141 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 ...
ChuanNan Li's user avatar
2 votes
3 answers
255 views

Export Long Plot with No Whitespace

Observe the following code: ...
EllipticalInitial's user avatar
0 votes
0 answers
40 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: ...
dan's user avatar
  • 113
3 votes
0 answers
53 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 ...
surujjd's user avatar
  • 83
0 votes
0 answers
70 views

Export 3D Mesh without shading issues

I can export a mesh to a .obj file such as with the following: ...
EllipticalInitial's user avatar
0 votes
1 answer
57 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 ...
Nicholas G's user avatar
  • 1,981
5 votes
1 answer
236 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: <...
EllipticalInitial's user avatar
1 vote
0 answers
62 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: ...
Matteo Raffaelli's user avatar
4 votes
2 answers
230 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: ...
Conor's user avatar
  • 7,449

1
3 4
5
6 7
38