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

learn more… | top users | synonyms

5
votes
1answer
1k views

When do I use Mathematica, when do I use Gephi, and how do I use them together?

Mathematica has great operations for analyzing graphs but when the graphs are a bit bigger, Gephi seems to be more efficient (at least on my computer) at drawing and analyzing, i.e. visualizing the ...
5
votes
2answers
504 views

Cropped pdf file after export

I have plot generated by Plot[] function that I want to export to pdf file. The problem is that Export[] function somehow cuts a ...
4
votes
1answer
1k views

exporting list of matrices in mathematica

I am working on some problem which requires generating a list of random matrices. So I used the code (actually a shortened version of the code, but it does not matter) ...
14
votes
1answer
2k views

Edit a Mathematica plot in Illustrator, missing font problem

I export my Mathematica generated plot as an eps and then open it in Adobe Illustrator to make a few changes. When I try to do this I get this error message: Times-Roman: Font not found on ...
2
votes
1answer
846 views

Export Animate command to MOV video

I'm trying to export a rather complex Animate command into a full-HD resolution video, but having no success so far. The animation has around 520 frames (the number ...
8
votes
1answer
939 views

Exporting a Large Multidimensional Sparse Array

I'm trying to export a sparse array from Mathematica to share with collaborators who primarily use Matlab. The sparse array in question is 4 dimensional, (72 x 93 x 94 x 172) with ~4M non-zero ...
18
votes
1answer
510 views

When exporting an (animated) GIF, is it possible to specify the size of the color palette?

I've exported an animation to animated GIF, which generated a 15mb file. I've been asked if I could regenerate the file, limiting it to only 16 colors, but I can't find any documentation on how I ...
6
votes
1answer
277 views

How to save data using FileNameSetter or similar

I would like to export data to a file using a SaveAs type dialog, using something like FileNameSetter[name,"Save"] to give a browse button. Any help with this ...
18
votes
3answers
1k views

Using Inset[..] to overlay a Graphics3D with its raster version

Preamble First let me explain the why. You can skip this and go directly to the question if want to answer it right away. We had more than one discussion about how to produce nice looking 3d plots ...
4
votes
3answers
1k views

Export to text file [duplicate]

I would like to export a long Table of (complex) numbers to a text file using Export["file.txt",%]; A sample line from the obtained file looks like this: ...
7
votes
3answers
453 views

Image of input and output cells is not exported correctly

Wolfram Blog uses PNG images to display input and output cells in a notebook. For example, the following is an image from Samuel Chen's post: I should be able to produce a similar image by ...
5
votes
2answers
452 views

Problems with txt-export under Macintosh

I exported data form Mathematica to txt-format on my Mac. When opening the txt-file on a Windows-System the file does not appear as on my Mac (see screenshots). Code: ...
5
votes
0answers
161 views

Can styles be exported in EPS as simple text tags for use by LaTeX's psfrag?

Is there a way to export graphics as EPS so that LaTeX can perform style substitutions or modifications on them? I know that it is possible to replace simple text elements in imported EPS files using ...
7
votes
1answer
175 views

Is it possible to insert a link preceding the Wolfram link at the bottom of html documents?

At the bottom of the html document produced by Mathematica is a link to Wolfram's site. It says: Created by Wolfram Mathematica 8.0 I think it would be nifty to have the option to precede that ...
5
votes
1answer
692 views

Efficiently exporting many images as a video

I have many .gif images and I would like to export them as a single video file (I prefer .mov, but any video format is fine). But what if I have several tens of megabytes of .gif images? Is it ...
11
votes
1answer
613 views

Exporting numbered equations to HTML/TeX using conversion rules

This question is a follow up from this one. It may also be considered a duplicate since I have already asked this question in stackoverflow almost a year ago. For a background on using numbered ...
11
votes
2answers
471 views

Exporting notebook to HTML, using conversion rules

The idea is to export the whole notebook to HTML with all the math equations in latex form. In this way we can add the mathjax script and it will take care of the math. Suppose we have the following ...
19
votes
1answer
1k views

How to control the page size when exporting as a PDF?

When I used Mathematica under Windows, I could control the page size of the pdf files created by Export[...,"PDF"] by setting the paper size in the print menu to ...
16
votes
2answers
634 views

Exporting a dashed plot with a color gradient to a vector graphics format ruins the dashing

When exporting a dashed plot with a color gradient to a vector graphics format such as EPS or PDF, the dashing is partly ruined. For example, this command: ...
11
votes
2answers
2k views

How to dynamically name and date a file for export?

I have various functions that export Excel and text files, and need to have them named with a name based on the content of some variables in the function and the time and date. How can this be done ...
8
votes
1answer
584 views

Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...
3
votes
2answers
246 views

Converting expressions to InputForm strings without spaces after commas

One of the little utility packages I use needs to convert Mathematica expressions to InputForm text that is interpolated into a custom file format which is then ...
6
votes
2answers
758 views

Exporting images as .avi

Here's a list of images: images = Table[ExampleData[i], {i, ExampleData["TestImage"]}]; And according to the reference "Export exports a list of graphics, ...
10
votes
2answers
245 views

Encoding format used by GraphicsData?

I am trying to extract some graphics stored in PICT format from a Mathematica notebook, using a platform that doesn't support PICT. If I look at the .nb file in a ...
2
votes
1answer
216 views

Issue with Grid command

Dear all, I've been trying to set prepare a grid with different charts for comparisons. The issue I have is that the first row of the grid has the legend distorted. The issue does not occur for ...
10
votes
2answers
3k views

Changing the speed of exported AVI videos

I am exporting an animation created using Manipulate in the .avi format. However the video runs very fast (I am putting it in ...
6
votes
2answers
793 views

Converting a notebook to plain text programmatically

It is possible to export a notebook to plain text format (practically just extracting all the text from it and discarding formatting) using the ...
21
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 ...
21
votes
4answers
2k views

Real Size Image Printing

I am generating a complicated graphics with Mathematica, but with objects of given sizes (e.g. a line of length 1 inch, between two points). I want to make sure that when I export the graphics, e.g. ...
3
votes
3answers
350 views

Support for Compressed Sparse Column sparse matrix representation

Is there native support for Compressed Sparse Column (CSC) format for sparse matrices, like importing and manipulating them?
11
votes
1answer
1k views

How to export transparent raster plots?

Is there an easy way to get transparent plots that work with Save Graphic As using a compatible file format such as GIF or PNG? I tried ...
20
votes
5answers
7k views

Export Plots to $\LaTeX$

What is the quickest and best way to export a plot image from Mathematica to a $\LaTeX$ Editor? Is there something quicker than exporting it to an image and then including it in the $\LaTeX$ document? ...
3
votes
2answers
1k views

How to change working directory for calculation and save

Hello Mathematica users, I have problem to set working directory, I want to calculate and save my data on D, but down you can see that mathematica shift automatically on old C. How to use D partition ...
5
votes
2answers
266 views

How to remove an expression from a file?

To read in expressions from a file, one can do ReadList[file, Expression, 3]. How to do the opposite, i.e. remove a number of expressions from a file, modifying ...
4
votes
1answer
126 views

X3D Export - adding a title

Is there a way to add a title to an X3D (3D) plot that is exported using Export[]? I didn't have much success with exporting a ...
10
votes
2answers
176 views

Unsatisfactory view of Panel, when transformed to pdf

I like very much to wrap Mathematica images by Panel, which gives many of them a much better view. To be precise, if image is some illustration, plot etc. I would ...
5
votes
1answer
439 views

Exporting a 3D plot into a 3D viewing format and axis scaling

I've been trying to export a Plot3D into an X3D (JVX, VRML) file using the Mathematica's Export function. The problem is that when the PlotRange is large compared to the other two dimensions the ...
28
votes
1answer
2k views

Does Mathematica support variable frame rate for any video format, in analogue of GIF-style “DisplayDurations”?

The good old GIF animation format allows us to set the duration of each individual frame in the animation separately. This is especially useful if some frames in ...
2
votes
1answer
172 views

How to set PageWidth when using PutAppend to append expressions to a file?

Do[ PutAppend[Table[i, {RandomInteger[100]}], "./file.m"], {i, 100} ] I'd like each inner list to always appear on the same line, but not automatically ...
4
votes
2answers
779 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 ...
6
votes
3answers
1k 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 ...
3
votes
2answers
773 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 ...
2
votes
0answers
85 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 ...
2
votes
1answer
240 views

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

Background ( simplified ): When I export data to Excel like ...
14
votes
3answers
5k 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 ...
6
votes
2answers
2k 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: ...
15
votes
3answers
3k 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 ...
3
votes
1answer
330 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: ...
16
votes
4answers
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 ...