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

learn more… | top users | synonyms

3
votes
0answers
25 views

Is there a way to create named ranges for spreadsheet exports?

I am trying to figure out whether I can tell Mathematica to name ranges for data that I am exporting? I want to use this data in CPLEX, which unfortunately doesn't allow the use of the R1C1 notation, ...
25
votes
3answers
590 views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
-5
votes
1answer
118 views

Exporting data from different notebooks to a common file

I am doing some calculations from different notebooks. I need to export the results from all those notebooks in columns of the same file, like a1 b1 c1 a2 b2 c2 a3 b3 c3 . . . where a, b ...
0
votes
1answer
66 views

Unexpected results from output with NumberForm and ScientificForm

I wrote this little function to help me export tables with formatted numbers to files: (By the way, if you have suggestions on how to make it more efficient and compact, it would be great) ...
32
votes
3answers
2k views

How to do http POST in Mathematica?

The Import command lets you do a HTTP GET from a URL, like this Import @ "http://merkosoncampus.com/wp-content/uploads/2011/05/higgs-boson.jpg" This sends an ...
1
vote
1answer
32 views

Speeding up EPS exporting ?

I'm using Mathematica 10 to render some figures, and I'm noticing some strange behaviour with EPS figures. I'm making figures like the one below in EPS format. And to do so, I use some code like ...
0
votes
1answer
26 views
22
votes
2answers
2k views

How to save all data in all variables so that loading it is fast?

I've got this CSV file I've imported that has tens of millions of lines in it. It takes around 20 minutes to import. I've been working with it for a while and have the processed data spread out in a ...
1
vote
1answer
87 views

Exporting File Outside Home Directory

When running Mathematica (v10) on my Raspberry Pi, I'd like to output an image file to a directory other than /home/pi. I understand that letting Mathematica write ...
3
votes
3answers
140 views

How do I save a Unicode string?

I am having a problem saving a long complicated string with Unicode characters in it. I have boiled the problem down, I think, to this minimal example: ...
0
votes
2answers
93 views

Comma issue from number point in csv export!

Here is my issue: I want to export to csv file some data: ...
1
vote
3answers
982 views

How to export data to a plain text file?

I am preparing data used by a command line program. It requires data in a simpliest possible format: value_x1 value_y1 value_x2 value_y2 ... value_xN value_yN ...
6
votes
2answers
412 views

Transfer graphics from Mathematica to Word without loss of quality

I want some high-quality 2D graphics produced by Mathematica in my paper. My step-by-step operation as follows: First I make the plot, for example, ...
0
votes
0answers
31 views

How to export to iwork's numbers format?

I have a matrix with images down its first column and I'm trying to export to a spreadsheet in Apple's Numbers (see the screenshot below). I've never tried this type of export before, any ...
1
vote
1answer
26 views

How can I give each section a unique <a> tag when I Export as XHTML?

Exporting a notebook as XHTML allows me to override the default HTML tags that are written for section-header-like cells. For example, a notebook cell whose type is "Section", containing text "The ...
0
votes
1answer
54 views

Mathematica: issues storing nested list on disk

having trouble with mathematica using nested lists. I want to save a list like this: l1={{a1,{a,b,c,d,e}},{a2,{f,g,h,i}}} So, the nested components do not have ...
0
votes
0answers
27 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
0
votes
1answer
29 views

Is there the possibility to write many times a value in definite list of file1.nb?

The commands testData = RandomReal[{0, 1}, {1, 1}]; Export["C:\\Users\\Alex\\Desktop\\1\\file1.nb", testData]; write the “testData” (value generated by ...
5
votes
1answer
76 views

Export from ParametricPlot3D to 3D Formats yields distorted surface meshes

as described im my blog post: http://wolfig-techblog.blogspot.de/2015/04/blender-as-shader-for-mathematica.html I tried to export a Klein bottle ParametricPlot3D to one commonly used 3D mesh formats ...
0
votes
1answer
93 views

Building a 1 page “Scorecard” in mathematica [closed]

I'd like to be able to generate an 11 x 8.5 "scorecard" for various data projects I am working on. Traditionally, I'd import all my data into Excel, put the data into worksheets, and then have a ...
6
votes
0answers
256 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors [duplicate]

Bug introduced in 9.0.1 or earlier and persisting through 10.0.2 or later I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be ...
1
vote
0answers
49 views

Transforming/exporting text to image

I have a string in a .txt which I process as follow: ...
11
votes
2answers
207 views

Sqrt disappeared when exporting plot to PDF in version 10

Bug introduced in 10.0.0 and fixed in 10.1.0 In version 10, if we plot with Sqrt in y-axis, and export to PDF, the square root disappears in the PDF file. ...
3
votes
2answers
90 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
5
votes
1answer
175 views

Why can't I export graphs with loops in V10?

bug persists through 10.1 (windows) I don't understand why the following does not work: ...
2
votes
2answers
89 views

Math diacritics go missing when exporting graphics [duplicate]

Take this example plot: plot = Plot[x, {x, -1, 1}, Frame -> True, FrameLabel -> {"x", "\!\(\*OverscriptBox[\(x\), \(_\)]\)"}] When I export it to PDF, ...
5
votes
1answer
162 views

Extra spaces when exporting strings into pdf (bug, linux)

Rationale: Imagine you would like to create a publication quality figure in Mathematica, from under Linux. Naturally, it will contain text/labels. Problem: Here is a simple string ...
6
votes
1answer
126 views

Is Mathematica's (v10.0.2) NetCDF exporter broken?

I'm trying something very simple, namely: Export["file.nc", {"Datasets" -> {"seqs" -> {"AAA", "BBB"}}}, "Rules"] And getting Java errors about "illegal ...
1
vote
1answer
32 views

Save figure using default stylesheet?

I'm using the following to export a figure as .eps for use in latex: ...
9
votes
2answers
142 views

Inconsistent behavior of undocumented Encode->Import->StringToStream->Get on password-locked stream

Let's save a definition. Encode it with password/key and Get it again. We will not use Get ...
0
votes
1answer
164 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
1
vote
1answer
78 views

Can Save[] produce a .nb file instead of a text file?

(I use Mathematica 9.0.1 on OS X 10.10.2.) Suppose I have a notebook in which I make some definitions and assignments. ...
5
votes
1answer
123 views

Conversion to TeX results in infinite recursion

I'm trying to export to $\TeX$ a Message cell. For example, after evaluating Sin[a,b], ...
1
vote
1answer
89 views

How do I smooth or remove jitter from an exported Graphics3D plot?

I have exported a Graphics3D plot as gif. But the plot shows jitter (You can see the yellow ball shows somewhat slight move around, which is expected to be still). How does this happen and how to get ...
9
votes
1answer
265 views

Is there a way to convert mathematica code to OpenMP or OpenACC?

I see that Mathematica has limited support for things like OpenCL and CUDA, but what about other standards like OpenMP or OpenACC?
0
votes
1answer
35 views

Writing a text to a file including af mixture of signs

I'm trying to write this to a file: j/?xml version="1.0" encoding="UTF-8"?> However, when using WriteString, the "-marks are not accepted. If I use Write, however, the "-marks are accepted, but ...
1
vote
1answer
81 views

AutoGeneratedPackage Formatting

If you do Ctrl+Shift+o you open an option inspector. And then you can enable ...
2
votes
1answer
69 views

Export collection of plots to A4 pdf

Sometimes I want to Export a collection of plots or other Graphics to a pdf in A4 format. Right now I'm using a GraphicsGrid inside a panel which is an inset in a Graphics object. Here is an example: ...
0
votes
1answer
74 views

Copy/export a plot as vector EMF

I want to generate a plot using Plot, copy it and paste to a Word/PowerPoint document as a vector EMF file in order to preserve best quality of an image. However I found out that if I Copy Graphic ...
1
vote
1answer
90 views

Exporting A4 size

I have a few tables and graphs that I want to export to a PDF file using Export[....,"PDF"], but I would like to be able to print this PDF-file and still be able to read it. So how can I control the ...
4
votes
1answer
40 views

Video encodings in Ubuntu

When exporting videos from Mathematica 10.0.2 on Ubuntu 12.04, I have one video codec to choose from: Internal`$VideoEncodings (* {"Uncompressed"} *) That means ...
0
votes
2answers
94 views

Exporting a table to Excel in CSV format

I am trying to create a table which when exported in a .csv format and opened in MS.Excel has the following form; ...
0
votes
1answer
46 views

Making a simple text log file

I have a model and want to export the run parameters to a log file. The idea is to get the following example into a decent text export: ...
-1
votes
1answer
41 views

ListLinePlot plots my table, but the table doesn't contain numerical values

I am trying to export a table of data to file, but the code does not appear to be returning numerical data even though ListLinePlot can plot it. Can you please ...
5
votes
1answer
83 views

Exporting pdf with a precise page dimension in metric units, rather than printer points

Mathematica uses a screen resolution of 72 dpi. For post-processing figures I use Corel, which conveniently allows me to use metric units (mm) for positioning and resizing figures. Say, I want to ...
2
votes
1answer
90 views

Export generated mesh

Say I have generated a mesh using ToElementMesh, following one of the examples here: http://reference.wolfram.com/language/FEMDocumentation/ref/ToElementMesh.html ...
70
votes
6answers
12k views

$\LaTeX$ and Mathematica

I quite often would like to draw graphics in my $\LaTeX$ documents using Mathematica. I have encountered three problems. I would like to know if there are any workarounds to these problems I would ...