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

learn more… | top users | synonyms

3
votes
0answers
85 views

Problem importing individual frames from QuickTime file

I am having difficulties with a code I am trying to run. Essentially I want to Read in a large .mov video file (60000+frames). ...
0
votes
0answers
112 views

Export Graphics using Move in Optica

I am modeling an eye and am using TurboPlot and DrawSystem. I would like to export the graph, but using the ...
2
votes
0answers
32 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
4
votes
1answer
92 views

Animated matrix will not work?

I want to export a list of matrices as a gif so that they will appear one after another 2 seconds apart. Ive tried the following but when I open it up it only does the first two matrices, I have 10 ...
1
vote
1answer
87 views

Naming Excel Sheets automatically

After performing some calculations with excel sheets I end with a tridimensional matrix a to be export to a .xlsx format and a vector q that contains the name of all the sheets (so $Length[q] = ...
34
votes
1answer
590 views

Export Code to Pseudocode?

I'm writing a paper and all my code is in Mathematica. The snippets are mostly simple, and consist of loops, maps, variables, and conditionals. I'd like add it to my paper, however, not many academic ...
4
votes
2answers
356 views

PDF exports of ArrayPlot's are fuzzy (OS X)

[The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a Graphics object with ...
3
votes
1answer
144 views

Exporting large png results in completely black image

When trying to export an Image as PNG the resulting file is a completely black image. This happens only for certain images I have not been able to determine exactly ...
1
vote
1answer
102 views

How would I get the best quality plot into a TeX editor which includes the legends?

I have currently used "Save Selection As" after highlighting the graph and legend and then saved it as a PNG file, but the quality isn't brilliant. I am using TeXworks on Windows 7. The "Copy As ...
0
votes
1answer
87 views

Export/Copy + Paste a plot from Mathematica Trial Version to TeX editor

I wish to get a view plots from Mathematica trial version into a TeX editor, but cannot seem to do it (unless I print the screen and crop the image which leads to bad quality). Is there a way in which ...
11
votes
1answer
805 views

Export data to Excel with adjusted column size

I'm trying to export some data with formats into Excel. It works ok, but the columns size get not properly adjusted. I don't want to use some complicated solution based on this example. In my tests, ...
3
votes
1answer
216 views

Export Plot from Table to $\LaTeX$ — conform with pgfplots

General purpose My intension is to use data created by Mathematica as in Export Plots to $\LaTeX$, $\LaTeX$ and Mathematica, or How to export multiple Barcharts from Mathematica to $\LaTeX$ but ...
2
votes
2answers
136 views

Change Header By Page

I would like to display the following header on of each page of an exported pdf specificTitle XXX XXX should be the ...
2
votes
1answer
130 views

Exported PDF copy-and-pastable

Is it possible to export pdf documents that allow the user to copy and paste the exported code/text? The following table demonstrates what is pasted after copying the example symbols from a pdf ...
21
votes
1answer
240 views

Exporting extremely large images; arrays generated via TensorProduct use 5 times as much RAM as expected?

I am generating plots of the roots of certain classes of polynomials, in the spirit of the multicolored visuals on the Wiki page on algebraic numbers. I've thus far been able to make some extremely ...
10
votes
3answers
625 views

How to make Mathematica graphs in Microsoft Word independent from Mathematica?

When I open a .docx file containing Mathematica graphs on a computer without Mathematica software installed, the graphs look corrupted. For example, ...
4
votes
1answer
111 views

How to control format options of an exported animation?

My woes with Mathematica animations exported in SWF-format continue. The goal is to Export an animation in SWF-format, and also make it scalable, so that when I embed it into a slide set (produced by ...
33
votes
4answers
3k views

How well does Mathematica code exported to C compare to code directly written for C?

Essentially what it says in the title. Mathematica can, IIRC, export it's code to C. How much overhead does that inflict on the code, as compared to writing it from scratch in C?
1
vote
0answers
49 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
2
votes
2answers
192 views

Manipulate, Import external table, save as CDF, mail presentation

For my work I do data analysis. Most of these analysis are done on big databases with milions of records. I would like to make a manipulate (or animate) using a external dataset and create a CDF ...
2
votes
1answer
520 views

Exporting 3D plotted figure complete with legend ready for Word

I have one more problem, still with exporting full quality 3d figure into Word. I want perfect quality in a Word document of a 3d figure prepared with legend (traditional form of text). Extremes of ...
5
votes
6answers
278 views

Convert array from {{…}} to “[[…]]”

I have made this function: conv01 = Map["["<>StringJoin@@Riffle[#,","]<>"]"&,Map[ToString,#,{2}],{0,1}]& to convert: ...
0
votes
2answers
64 views

Export all open notebooks and change font size

Is there a simple way to export all open notebooks to pdfs? Also, when I export notebooks the font looks too big / the margins are too big. Can I change these settings when exporting?
1
vote
1answer
205 views

Export data of a 3D histogram

I want to export the data of a three dimensional histogram in the format # x y z with a blank line between different lines, so that one can plot the ...
1
vote
1answer
114 views

Exporting SmoothHistogram plot data

My program produces a large data set, which is distributed by some unknown function. I've used SmoothHistogram to visualise it crudely as a probability distribution ...
0
votes
1answer
99 views

Mathematica to swf / fla

Is it possible to export an interactive (in terms of mouse clicks) Mathematica manipulation / animation as an interactive swf file, including converted actionscript? I realise this is probably not ...
3
votes
1answer
111 views

With limited memory, how can I export very long Print results into a PDF or a notebook file?

I have a script with a long loop and very long formatted outputs like the following example code: ...
2
votes
1answer
115 views

What is going wrong when I save an animation as a SWF-file?

The first I am trying to export animations from Mathematica to a file and then to LaTeX. Don't assume I know anything about what I'm doing. The following definitions defines the still image of a ...
3
votes
0answers
115 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
1
vote
0answers
208 views

How to Export Data from Mathematica into Excel specific cell

for import,we can do like this Import["XXX.xlsx", {"Data",1,2,3}],Mathematica will get the cell {2,3} of the "sheet1" in "XXX.xlsx". But if we want to export data from Mathematica to one Excel ...
1
vote
1answer
110 views

Exporting a Table of Graphics into Individual Files [duplicate]

The command Table[Polt[Sin[k x],{x,1,10}],{k,1,30}] generates a list of graphics. I want to export each list item as an individual jpg file, named according to ...
9
votes
2answers
639 views

Why does this simple program leak memory?

I have a simple Mathematica program which writes some plots to image files for later conversion into a movie. Unfortunately, the program leaks so much memory that it quickly exhausts all 12G of RAM ...
0
votes
2answers
111 views

Outputting a film (in .avi, .mp4, etc. formats) where frames correspond to Graphics3D outputs

I'd like to make a exportable film (in some format like .avi or .mp4, something playable on most computers) where each frame is a Graphics3D output. For example, we might generate frames in the ...
0
votes
3answers
118 views
0
votes
1answer
107 views

Export vector images

I am having difficulties exporting vector graphics. Using Kardashev3's code provided here: ...
1
vote
4answers
136 views

Why FieldSeparators is printing a lot of quotation marks instead of just spaces?

In the following code "FieldSeparators"->" " prints a lot of quotation marks in the output file, instead of just spaces. What's wrong with it? ...
6
votes
1answer
283 views

My black text isn't black after exporting to PDF

Consider any standard plot, with true CMYK black text: ...
0
votes
0answers
158 views

Mathematica Version 9.0.1 EPS Format Improvements

Is it just me or has the ability to make high quality EPS graphics increased greatly in version 9.0.1 compared to 9.0.0? I've always found it difficult to get plots that I make in Mathematica to print ...
1
vote
2answers
469 views

Export complex number to excel or txt file

I'm doing some calculations on complex numbers in Mathematica. I can use Export to generate a file (*.CSV or *.dat, or anything else) of complex numbers. If I want to use excel, origin or Matlab to ...
8
votes
2answers
992 views

Speeding up Import and Export in CSV format

I am handling large numerical data in Mathematica. In smaller problems everything worked fine using Export and Import with the ...
7
votes
1answer
119 views

Problem with exporting nested Rows/Columns to HTML

I will show the problem on the following MWE: Export["test.html", Column[{ Row[{"test", "1"}] }], "HTML", "CSS" -> None] ...
-3
votes
1answer
105 views

Exporting combined data plots as a PDF file [closed]

I am trying to export a graph similar to the one attached as PDF. I am having troubles with the error bars and legends. Is there a simple example someone can share and demonstrate how to do this?
5
votes
2answers
472 views

Export to CSV is very slow - can performance be improved?

I have to provide data exports from Mathematica to CSV format and it is very slow compared to other formats as can be seen in the following table: JSON, 15 sec, 8.4 MB TXT, 23 sec, 5.6 MB XLSX, ...
12
votes
3answers
186 views

Wrong numerical value while exporting to a JSON string

The following code: ExportString[{"a" -> 2000000., "b" -> 0.000001}, "JSON"] Gives the results ...
1
vote
0answers
88 views

Problem in exporting a plot with background to pdf

Just wondering if someone could help me for this problem. I have utilised prolog to use a jpg image as the background of my plot in order to compare my results with ...
6
votes
1answer
270 views

How can I scale a plot in vector graphic or PDF form?

I am not at all a computer graphics expert, but it seems that portable document format (PDF) files have a "native size," even though they may (and usually do!) contain vector graphics that can be ...
2
votes
0answers
57 views

The “right” way to define a custom Encoding format?

I have implemented an Import|Export format for xz that behaves like gzip and other encoding formats: ...
58
votes
6answers
9k views

Exporting graphics to PDF - huge file

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with ...
1
vote
0answers
125 views

Exporting graphics to PDF results in destroyed fonts on Windows 8

Executing plot = Plot[x^2, {x, 0, 100}, PlotLabel -> "Plot"]; SetDirectory[NotebookDirectory[]]; Export["plot.pdf", plot, "PDF"]; results in Is this a bug? ...