Questions on converting data, graphics, sound etc. from Mathematica into other file formats.
8
votes
1answer
264 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 ...
16
votes
1answer
307 views
How to fix broken InterpolatingFunction?
I have an InterpolatingFunction based on irregularly-gridded data, like this:
...
21
votes
3answers
632 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 ...
8
votes
2answers
218 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
...
18
votes
3answers
885 views
Avoiding white lines inside filled area in RegionPlot exported as PDF or PS
When doing a RegionPlotand then exporting (or saving from the front end) as PDF or EPS, there are small white lines in the filling of the region. Here's an example ...
10
votes
2answers
553 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,
...
10
votes
2answers
991 views
Scaling grids of plots and text size
Sometimes I have occasion to make big grids of plots. As a toy example:
...
6
votes
1answer
441 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. ...
3
votes
1answer
206 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 ...
4
votes
3answers
321 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 ...
10
votes
2answers
491 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 ...
25
votes
4answers
2k 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 ...
9
votes
1answer
178 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:
...
10
votes
2answers
888 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 ...
3
votes
4answers
212 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
...
0
votes
1answer
332 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.
...
44
votes
5answers
4k 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
...
4
votes
2answers
143 views
Export a Row or Column as an image
How could I export the following as a single image and set its dimensions ?
...
14
votes
2answers
300 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 ...
2
votes
1answer
234 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.
...
12
votes
2answers
346 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 ...
6
votes
4answers
405 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 ...
6
votes
1answer
424 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 ...
27
votes
4answers
1k 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?
44
votes
5answers
4k 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 ...
23
votes
2answers
1k 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 ...
16
votes
1answer
360 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, ...
12
votes
2answers
298 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 ...
23
votes
2answers
666 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 ...
8
votes
3answers
1k 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'. ...
15
votes
1answer
413 views
How to export and import Graphs with additional data?
I'm trying to export and then later import graphs with additional data added such as VertexLabels and EdgeLabels. When I export ...
14
votes
3answers
786 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. ...

