Questions tagged [export]

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

Filter by
Sorted by
Tagged with
6 votes
2 answers
1k views

Exporting a CDF to HTML

I'm using Mathematica for Students on a Mac. How do I export a CDF document to HTML? According to the Wolfram website I should click on ...
Michael's user avatar
  • 161
7 votes
3 answers
5k views

Save and call matrices with large output in Mathematica [duplicate]

If we have the large matrix A=RandomReal[{-10, 10}, {1000, 1000}]; and I need it for further calculation, how can I save it on hard disk and then call for ...
George Mills's user avatar
4 votes
2 answers
1k views

Mathematica output format for big numbers

I need to write output of a Mathematica expression (a list of equations) in a file. I use ...
dbm's user avatar
  • 1,239
2 votes
0 answers
108 views

What exactly does AddTeX2Eps do and how does one use it?

What exactly is Janko Slavic's addon package AddTeX2Eps supposed to do, and exactly how does one get it to work? I do understand it's supposed to allow one to use TeX ...
murray's user avatar
  • 11.9k
2 votes
1 answer
360 views

How to solve issue with exporting / importing data to and from Excel?

Background (simplified): When I export data to Excel like ...
nilo de roock's user avatar
28 votes
5 answers
16k views

How to save animation in mp4 format instead of avi?

I'd like to save Manipulate[] output so that I can embed an mp4 in my pdf document (using the media9 latex package). I've done this successfully in the past by ...
Peeter Joot's user avatar
  • 6,418
13 votes
2 answers
6k views

Export animation of a Manipulate autorun sequence?

I've got a Manipulate that does a vector field plot. Basically a function that returns a list of Graphics objects and a couple of sliders: ...
Peeter Joot's user avatar
  • 6,418
20 votes
3 answers
7k views

How to convert a 2D image into a 3D graphics?

I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this? Can ...
Eiyrioü von Kauyf's user avatar
19 votes
4 answers
19k views

Saving high-quality graphics through commands

Say I make and display a graph in a Mathematica notebook: graph = CompleteGraph[100] If I drag the corner of the graph to increase its size, and then save it to ...
rjkaplan's user avatar
  • 1,083
3 votes
1 answer
489 views

Export long filename truncated

I am seeing a weird behavior on exporting at least one type of file (here, a QuickTime movie) to files with long names. If I do this: ...
F'x's user avatar
  • 10.8k
16 votes
4 answers
2k views

Printing exported PDF graphics fails (version 8)

When I export even simple graphics, say, a DateListPlot to PDF under Windows, it refuses to print on any of the printers at work. Acrobat (Reader X) throws three ...
Verbeia's user avatar
  • 34.2k
42 votes
2 answers
2k views

My donut has holes in it!

More than one hole, I mean… I’m trying to export from Mathematica into the X3D format, with the longer term goal of generating 3D figures for PDF inclusion. But I'm stuck at the first step: ...
F'x's user avatar
  • 10.8k
13 votes
3 answers
872 views

Exporting and reimporting a list of lists changes the dimensions

Could anyone explain to me what in the world is going on here and please help me in reading in dummy.dat properly? ...
Name's user avatar
  • 477
35 votes
2 answers
7k views

Autorotating 3D plots

These days, I have to produce quite a few 3D surface plots (mostly functions of the type $\rho(\theta,\phi)$ plotted with SphericalPlot3D). To exchange these ...
F'x's user avatar
  • 10.8k
6 votes
1 answer
1k views

Export to file from ParallelDo loop

I currently have a Mathematica code similar to: ...
Bjarke's user avatar
  • 61
0 votes
1 answer
1k views

How to reduce the memory necessary for the image? [duplicate]

Possible Duplicate: Exporting graphics to PDF - huge file I have a figure that is created to use in a paper. Here it is: ...
Alexei Boulbitch's user avatar
10 votes
1 answer
2k views

How to properly DumpSave & Get Global`s symbols inside packages while not touching Global context?

For efficiency reasons I prefer to use DumpSave instead of Save. For ease of access I prefer to save symbols in ...
Adam Ryczkowski's user avatar
21 votes
1 answer
663 views

How to fix broken InterpolatingFunction?

Bug introduced in 8.0 and fixed in 9.0.0 I have an InterpolatingFunction based on irregularly-gridded data, like this: ...
JxB's user avatar
  • 5,111
45 votes
5 answers
6k views

Saner alternative to ContourPlot fill

I am producing a large number of ContourPlot objects, which when exported generate notoriously large PDF files because it basically generates lots of little ...
F'x's user avatar
  • 10.8k
43 votes
3 answers
5k 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 ...
Reb.Cabin's user avatar
  • 8,661
8 votes
2 answers
911 views

Exporting held expressions through JSON

Trying to round-trip expressions through JSON, I'm getting unexpected errors for held expressions, and would be grateful for advice or clues. Consider, first, something that works well ...
Reb.Cabin's user avatar
  • 8,661
45 votes
3 answers
6k views

Avoiding white lines inside filled area in RegionPlot exported as PDF or PS

Bug introduced in 8.0 or earlier and fixed in 13.2 or later When doing a RegionPlot and then exporting (or saving from the front end) as PDF or EPS, there are ...
celtschk's user avatar
  • 19.1k
13 votes
2 answers
3k views

Labels and tickmarks inside Frame

Is there a way to force Plot and related functions to place the tick labels inside, rather than outside a frame? For example, consider, ...
Ted Pudlik's user avatar
20 votes
2 answers
5k views

Export to PDF - scaling grids of plots and text size

Sometimes I have occasion to make big grids of plots. As a toy example: ...
wxffles's user avatar
  • 14.2k
58 votes
2 answers
6k views

Mathematica2tikz an equivalent function

Matlab2tikz is a script which generates native LaTeX/TikZ figures from MATLAB. I am looking for an equivalent method/function in Mathematica. Obviously the final script may need some manual tinkering ...
akk's user avatar
  • 1,257
12 votes
1 answer
2k views

Formatting output of OpenAppend[] to match what Export[data,file,".csv"] would output?

I have a large data set that gets exported to a .csv file. Export[data,filename,"csv"] is extremely fast and formats the data in a nice JMP-friendly manner. However,...
dthor's user avatar
  • 971
3 votes
1 answer
262 views

Too much vertical space in a CDF file

When I prepare a CDF file to be included into a web page, far too much blank vertical space is left over the pane. Is there a command to reduce that? This is illustrated by the files SimpleDemos.nb ...
SixWingedSeraph's user avatar
4 votes
3 answers
1k views

Speeding up export of a matrix to a dat file

I'm trying to export a 1000*100 matrix of numbers to a .dat file using Export (I want the numbers to be separated by a tab) and ...
faysou's user avatar
  • 11k
11 votes
2 answers
2k views

Creating a realtime MIDI Out

I have a live stream of notes and note velocities using SoundNote and SoundVolume. My problem is that I have no idea how to ...
J Mark Inman's user avatar
77 votes
4 answers
22k views

How do I save a variable or function definition to a file?

Is it possible to save a function which was created via Interpolation of some data in such a way that I can use this function in a new Mathematica session without ...
partial81's user avatar
  • 3,101
10 votes
1 answer
440 views

How to work around incorrect tooltips in plots exported to HTML

This is an issue that I always wanted to investigate but haven't gotten around to solving yet: The tooltips for contour lines in a plot like this can be very useful in the Notebook interface: ...
Jens's user avatar
  • 97.3k
15 votes
3 answers
6k views

How do I export to Excel in multiple, named worksheets?

If I have two lists: list1 = {{1, 2}, {3, 4}}; list2 = {{5, 6}, {7, 8}}; I want to export these two lists to an Excel file and have ...
Mike Honeychurch's user avatar
4 votes
4 answers
384 views

What is the most efficient way to save a big graphic?

I want to generate a graphic using DiscretePlot[primePercent[x], {x, 10^10}, ImageSize -> Full, Filling -> None, Joined -> True] where ...
CHM's user avatar
  • 3,415
2 votes
1 answer
515 views

Question about $\LaTeX$ generated by Mathematica

I saved a Mathematica Notebook as a *.tex file. When compiling in TeXnicCenter I get the an error on the following generated code. ...
nilo de roock's user avatar
114 votes
6 answers
30k 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 ...
Matthew Leingang's user avatar
5 votes
1 answer
847 views

Export a Row or Column as an image

How could I export the following as a single image and set its dimensions ? ...
500's user avatar
  • 5,569
21 votes
2 answers
581 views

Is Compress[] compatible between different Mathematica versions?

Compress[] was introduced in version 6 of Mathematica. It gives a compressed version of expressions represented as a string of ASCII characters. It preserves more ...
Szabolcs's user avatar
  • 235k
2 votes
1 answer
318 views

Reading from a text file and store the results back into it

I am totally new to mathematica but started learning how to use it. I use the following function to convert a decimal number into its binary representation. ...
user417's user avatar
  • 21
25 votes
3 answers
1k views

How to develop an Import/Export converter for Compress[]ed data?

Mathematica has a cross platform data exchange format, WDX. Unfortunately importing or exporting large data from/to WDX is very slow. Using MX files is very fast, but they are not compatible across ...
Szabolcs's user avatar
  • 235k
16 votes
4 answers
4k views

Export Graphics[] without white edges

I am trying to generate & Export[] Image with the below code, but as shown in the images I get some white border around my rectangle. How could I export an images that stopes right at the edge of ...
500's user avatar
  • 5,569
8 votes
1 answer
1k views

How do you get high resolution plots in applications using the Mathematica MathService?

This is for Mac users only using MathService (MathService it seems, given that it was created back in 2004, is a power pc code and requires Rosetta to run on Intel). If I type a plot command in ...
Mike Honeychurch's user avatar
49 votes
4 answers
7k 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 export its code to C. How much overhead does that inflict on the code, as compared to writing it from scratch in C?
Fomite's user avatar
  • 653
140 votes
9 answers
36k 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 ...
Thomas Rot's user avatar
  • 1,503
34 votes
3 answers
5k views

How to embed fonts when exporting Mathematica graphics as PDF

Upon exporting a Mathematica graphics expression as a PDF, Mathematica does not seem to embed any nonstandard fonts used. When you open the resulting PDF document with a PDF viewer, all the text items ...
sakra's user avatar
  • 5,120
17 votes
1 answer
1k views

How can I share objects with dynamic content with non-Mathematica users?

Often when I construct some cool Manipulate[] function, I would like to share it with others—non-Mathematica users. Some software, notably Cinderella, ...
Joseph O'Rourke's user avatar
15 votes
2 answers
1k views

How to export to HTML and not lose Grid Frame in the generated HTML?

This is a known issue for me with Mathematica. When I export a notebook to HTML, Mathematica loses some decorations such as Grid Frame lines (in grid and like objects). For example, creating this ...
Nasser's user avatar
  • 144k
52 votes
4 answers
5k views

Saving a notebook as PDF, preserving syntax highlighting

Currently, one may save notebooks as PDFs from the menu by Save As... and then selecting PDF (on a Mac, I imagine it is similar on other OSs). However, the ...
acl's user avatar
  • 19.8k
35 votes
3 answers
12k views

How to export large graphics?

I'm using Raster to create large graphics (1000 by 1666), which I want to Export as a JPEG or TIFF in a resolution that can be printed in a large size, 3' by 5'. I'...
stopple's user avatar
  • 1,141
20 votes
2 answers
2k views

How to export and import Graphs with additional data?

Bug introduced in 9.0 or earlier, persisting through 13.2 or later I'm trying to export and then later import graphs with additional data added such as VertexLabels...
insect's user avatar
  • 425
15 votes
3 answers
3k views

How can I ensure graphics exported in WMF format don't have text-spacing problems?

A lot of my work involves manipulating data, drawing a pretty plot of it and then inserting that graphic into a report written in Microsoft Word, under Windows.1 The fun comes with the exporting part. ...
Verbeia's user avatar
  • 34.2k