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

learn more… | top users | synonyms

1
vote
1answer
39 views

Running bits of code in a separate kernel

I am using Mathematica to generate 3D graphics frame for a video. The process goes as follows: Loop over a counter i Use ...
5
votes
0answers
111 views

Incorporating photos into a Mathematica-made web page

I use Mathematica to make my web page. I make various .nb files, usually with photos, and then use an Export command to convert the .nb file to an .html file with ...
7
votes
2answers
99 views

Stitching Mathematica-produced movies together

I have hundred thousands of images from a numerical simulation and want to make a movie from them. This is easy done with Export["movie.mov", imagelist] However, ...
2
votes
2answers
98 views

Bug: Export sometimes adds unwanted background to PDF files

Update: WRI confirmed that this is a known issue with Export on 2015-05-14. I am trying to export the outputs of some Plot expressions as PDF files for inclusion ...
1
vote
0answers
11 views

Deleting the header footer in the PDF output of a Mathematica code [duplicate]

I just saved my Mathematica notebook as a PDF file and realized that every page (except the first one) consists of a header footer (I don't know whether this is the correct name or not) indicating the ...
1
vote
1answer
45 views

Change parentheses to square-brackets when using CForm

I'm not experienced with Mathematica, but am learning to appreciate its awesome power for manipulations. I get the an expression like this when using CForm (I cut ...
2
votes
1answer
40 views

How to prevent ExportString from reencoding diacritics when exporting as JSON

I'm not sure if it's a bug with Mathematica or if I'm missing something, but when trying to ExportString a UTF-8 string with diacritics as JSON, it's messing up the ...
4
votes
2answers
89 views

How can export into an .XYZ file using decimals without scientific notation?

I have seen the other posts relating to this however there seems to be more restrictions when exporting to .XYZ. I am pretty new to this but I have been searching for hours. Basically, I have a ...
9
votes
1answer
391 views

Save a C compiled function without losing the blessing of C compiler

Consider the following example: ...
0
votes
0answers
27 views

ImageSize in Export

According to the documentation, Export["foo.eps", out, ImageSize->500] should produce a graphic that is 500 printer points wide. When I execute that command with ...
0
votes
0answers
33 views

Is CDF the only way to export/embed an interactive Manipulate? [closed]

I was looking at quite a few of the formats to find out that question. My aim would be to embed a Manipulate in a page, the problem being that embedding a CDF isn't allowed/doesn't work on the page ...
0
votes
0answers
19 views

4D array not exporting to .mat file

I am using Mma 9.0 I am trying to export an array with Dimensions {5,100,160,160} to a .mat-file using the Export command, but ...
0
votes
0answers
25 views

Exporting the NDSolve to matlab with the argument

a = Table[Evaluate[y[x] /. sol], {x, 0, 10, 0.01}]; Export["a.mat", a]; works just fine but ...
1
vote
2answers
42 views

Export Text with Colors

There is someway using Export method to take a text with colors (using Style) and the export to file, such that, and after, when I open this file, the text show it ...
0
votes
1answer
38 views

Exporting multiple files [duplicate]

I used Mathematica to export plots of NM measurements with this code: Do[Export["Plot" <> ToString[i] <> ".pdf", Plottable[[i]], "PDF"], {i, NM}]; ...
4
votes
2answers
139 views

How to export plot legend independently?

Let us take an adapted example from Mathematica doc's: ...
0
votes
0answers
30 views

Fontsize becomes too large when exporting a table to pdf [duplicate]

I have the following Grid ar = Grid[{{a, c, e}, {b, d, f}}, Frame -> All]; When I use Export["~/Desktop/grid.pdf", ar]; ...
0
votes
2answers
105 views

Generate a list with random values between a and b [closed]

I am trying to perform system identification.. To properly identify the system i have to give the system a "rich" signal which are able to "activate" all the modes of the plant. A rich signal would ...
0
votes
1answer
39 views

How to output matfiles in Mathematica?

I am new to Mathematica, if there is anything wrong, do not hesitate to tell me? ...
0
votes
0answers
18 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following ...
2
votes
1answer
27 views

Eliminating the backward play in a SWF export of Manipulate

I find that the Export of Manipuate contains backforward play, see a simplified example: Export["try.swf", Manipulate[ Plot[Sin[2 x + φ], {x, 0, 10}], {φ, 0, 2 π}]] You can see the problem in ...
1
vote
1answer
28 views

How to set ExportOptions for custom HTML exports

I need to customize some html tags when exporting a mathematica notebook to HTML. I have to use Save As (HTML) and not Export for some other reasons. So, to make a basic example, this is something ...
13
votes
2answers
194 views

Can Mathematica produce manipulatable WebGL 3D plots?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
2
votes
1answer
102 views

How do I download and export data from many weather stations?

I tried this code, which downloads data from several weather stations. ...
0
votes
0answers
19 views

Unable to save a notebook as pdf

I have removed all the dynamic and manipulate cells. I can save short selections as pdf, but when I try to select the whole notebook, or use save as - pdf, the result is just one page, sometimes the ...
0
votes
0answers
27 views

STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
1
vote
2answers
44 views

Dimensions of pdf generated by Export[…]

I'm trying to export a Grid table to pdf. When I display the table in the notebook, it has a very long aspect ratio, which I want to preserve in the pdf. However, ...
3
votes
1answer
81 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: ...
3
votes
0answers
41 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, ...
1
vote
1answer
33 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
29 views

Error Exporting STL --insufficient elements to export

I am trying to export the following code as an STL file: ...
0
votes
0answers
34 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 ...
0
votes
0answers
31 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 ...
1
vote
1answer
27 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
55 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
1answer
40 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
81 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
94 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 ...
1
vote
0answers
59 views

Transforming/exporting text to image

I have a string in a .txt which I process as follow: ...
4
votes
2answers
119 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, ...
0
votes
1answer
70 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) ...
1
vote
1answer
35 views

Save figure using default stylesheet?

I'm using the following to export a figure as .eps for use in latex: ...
1
vote
1answer
92 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 ...
1
vote
1answer
88 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. ...
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 ...
2
votes
1answer
94 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
2answers
104 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; ...
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
1answer
49 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: ...