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

learn more… | top users | synonyms

1
vote
1answer
92 views

Importing, sorting and exporting lists

I have several TSV lists (.txt) of something like 2000*2000 numerics (e.g. 1.8645) to import ...
1
vote
1answer
66 views

Export and Import a list of graphs?

I want to export a list of graphs that come as output to my program. However, I tried exporting all the graphs as graphs using Map and an Export statement with "graph.gml" statement, but got an error. ...
1
vote
0answers
13 views

Difficulty with Copy as PDF in Mathematica 10.0.2.0 [duplicate]

I just installed Mathematica 10.0.2.0 on my Mac and I find that I can no longer use the Copy as PDF commands to copy a Mathematica graphic and paste it into a powerpoint presentation. When I do this ...
2
votes
1answer
59 views

Export as Table with alignment?

I have a table in Mathematica as a list of lists. How to export the table, and force Mathematica to insert as many spaces as needed between columns so that columns are aligned? For example, ...
1
vote
1answer
51 views

BarLegend rasterized in EMF and EPS export

A while ago you guys gave me a splendid workaround to the rasterization bug in exported BarCharts. Now I noticed that the workaround is not working for BarLegends. My problem is, that ...
2
votes
1answer
109 views

Export generated mesh

Say I have generated a mesh using ToElementMesh, following one of the examples here: http://reference.wolfram.com/language/FEMDocumentation/ref/ToElementMesh.html ...
1
vote
0answers
21 views

How to specify alignment of columns when exporting a table using Export, and how to use spaces instead of tabs?

I have a table in list representation. How can I export it, specifying that some columns must be right-aligned and others left-aligned? Morevoer, columns should be space-separated (with an appropriate ...
2
votes
0answers
126 views

problem exporting eps figures since mathematica 10

I am having trouble when exporting eps figures since I have upgraded to mathematica 10.0 in linux. Basically the text in the frame label and in the frameticks come out bad. The letters are much to ...
0
votes
2answers
39 views

how to change the name of exporting file automatically

I want to export some sort of data from Mathematica to .txt files but every time with a different name.clearly I want the name of files change automatically in each loop for each series of data that ...
1
vote
1answer
62 views

How to get the raw data of solutions of partial differential equation in mathematica

I am using NDSolve command of mathematica solving a very complicated partial differential equation (two independents "t" and "x", three master variable "u", "v", "w"). Each time I solve it, it takes ...
27
votes
3answers
724 views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
5
votes
1answer
185 views

Extra spaces when exporting strings into pdf (bug, linux)

Rationale: Imagine you would like to create a publication quality figure in Mathematica, from under Linux. Naturally, it will contain text/labels. Problem: Here is a simple string ...
0
votes
0answers
35 views

Code to import and export “.cine” image format?

I need to work with a set of experimental data in the form of ".cine" format image files. This is a data format developed by Vision Research for high-speed imaging and video. I would like to import ...
0
votes
0answers
36 views

Problem when importing EPS files created with Mathematica into TeX

I create a figure in EPS format with Mathematica. The graph of some function. Then I add some items to the figure (bullets, points, shaded lines, some math text). I save this in EPS format and ...
0
votes
1answer
61 views

Subscript und Superscript in FrameLabel and Export

I'm creating plots that I want to export as png. Which works, but when I add sub- or superscript into the FrameLables or get 10^x in LogPlots the sub- or superscript letters in the exported png will ...
0
votes
1answer
271 views

Export graphic as Pdf gives incorrect font size [duplicate]

In Mathematica 10.0.2 I have this plot: Now, when I export as pdf, I have these huge fonts. Any workaround?
1
vote
1answer
107 views

Exporting A4 size

I have a few tables and graphs that I want to export to a PDF file using Export[....,"PDF"], but I would like to be able to print this PDF-file and still be able to read it. So how can I control the ...
3
votes
2answers
263 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
2
votes
0answers
98 views

Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
2
votes
0answers
57 views

Export Time-dependent STL Graphics

I have recently found that Mathematica may export files (.stl) which may be used for Blender (3D pictures and animations). However, I am interested in mathematics visualization, and I suppose that ...
2
votes
1answer
153 views

Rasterized density plot with vector axes

I'm wondering if there is an easy way to get the plot below exported in a small pdf? The plot below is made in the following steps: step 1: Create a streamplot step 2: Create a densityplot, where ...
1
vote
0answers
85 views

Append new data to excel?

From this post I know that I can export my data from mma into any given position (such as "B3"), but now I want to append new data to the old one. As an example, ...
0
votes
1answer
157 views

How to convert a Mathematica list in a Python list?

I was wondering if you know, how to save a Mathematica list (variable) such that it can be read later in Python. In order words, how to save a variable ...
0
votes
1answer
116 views

Vectorize pixel SphericalPlot

I have a question about Mathematica images exporting. I have created 3d (SpericalPlot) with coloring function on it and then exported it to pdf. Is there any possibility to make more vector graphics ...
0
votes
2answers
117 views

Decimal-to-ASCII conversion

I have to write a program that converts a number (decimal notation) to an ASCII string. For example, x = 26728 (or 0x6868) and the string is "hh". I wrote this, but it seems that it is not the ...
1
vote
1answer
81 views

Exporting large data with H5 format cuase crash

When I export a list of 49000 matrices which are 100by100 I get some errors. Export["data.h5", data]; Returns: ...
0
votes
0answers
59 views

ViewPoint: Saving coordinates in a text file

How should I save (Export?), all coordinates of the ViewPoint, in a text file when I rotate the ...
7
votes
1answer
138 views

Is Mathematica's (v10.0.2) NetCDF exporter broken?

I'm trying something very simple, namely: Export["file.nc", {"Datasets" -> {"seqs" -> {"AAA", "BBB"}}}, "Rules"] And getting Java errors about "illegal ...
2
votes
0answers
85 views

Font rendering difference between .jpg & .pdf [duplicate]

I have some planar graphics involving lines and text, produced by Line[] and Text[], accepting the default font on the latter. ...
1
vote
0answers
73 views

ImageResolution Doesn't Work!

The code below is supposed to generate a high resolution plot, but it does not! g = Plot[Sin[x], {x, -1, 1}]; Export["c:/sin.jpg", g, ImageResolution -> 600] ...
0
votes
0answers
148 views
1
vote
0answers
124 views

Import/Export a FIT file, Fitness file created by Garmin GPS's and others

A FIT file is a binary replacement for GPX and TCX text files containing GPS and fitness data (heart monitors, etc.). Mathematica reads GPX and TCX files and represents them as XML. I would like to ...
1
vote
0answers
131 views

Fast export of large numerical data

Edit It seems that the bottelneck is not due to eigen value problem. I will esit the question soon. I have a 6000by6000 matrix which I got after some calculations. I want to get the eigenvalues and ...
3
votes
0answers
70 views

Export and manipulate 3d plots

How can I export 3d Mathematica plots such that I can put them into a presentation and still being able to rotate them? Is there a specific format or does it depend on the program used to create the ...
7
votes
1answer
97 views

Is it possible to move .mx file from one server to other?

I have mathematica file in one server along with .mx file. Is there any way to move the .mx file from one server to other such ...
4
votes
2answers
255 views

Plot with Mathematica

How Can I plot the following figures for the following equations? $x\in\mathbb{R}, f(x) = \frac{\left|\sin(x)\right|}{x^2+x+1}$ $t\in\mathbb{R}, A(t)=\displaystyle\int_t^{t+2\pi}\!\dfrac{|\sin ...
0
votes
0answers
61 views

Using OpenRead to read an element from a list saved in .mx format

I have a set of large arrays 1D (1-2 million entries) where each element corresponds to a pixel value from a picture. I would like to know how a pixel value changes from image to image (how the value ...
0
votes
2answers
92 views

Exporting files while running .m file from command line

I have the following code in a .m file which is called test.m: Export["test.csv",0]; Exit[] I would like to run this .m file from the command line. I found that I can do that with the command "math ...
1
vote
1answer
45 views

Specify format to NotebookSave

When I save a Mathematica notebook using the front-end Save dialog, I can specify the format: However, the documentation for the NotebookSave command indicates ...
3
votes
1answer
186 views

How can I trans-compile Mathematica into another language?

I'm looking for an exhaustive list of source-to-source compilers to all other languages, if any exist that is.
5
votes
1answer
111 views

How to export a Graphics to PNG with BitDepth greater than 8?

According to the PNG ref page, it is possible to generate PNG with 8 or 16 BitDepth. I cannot find a way to impose 16 for a graphics generated by Plot. Here is the example: ...
1
vote
2answers
70 views

Table operation after export and import of data does not give me the same result

If I create a table of this kind: (m1 = Table[{RandomInteger[], RandomInteger[{1, 5}, {3}]}, {i, 1, 5}]) // MatrixForm which looks like I know how to pick ...
0
votes
0answers
43 views

4-leaves Rose's animation [duplicate]

I want to export an animation(gif type) for polar plot $r=\cos 2\theta$ like to the following gif. how can I do it(in the easiest way with mathematica) ?
3
votes
3answers
208 views

Exporting of Animated gif from polar plot

I want to export an animation(gif type) for polar plot $r=\cos 2\theta$ like to the following gif. how can I do it?
2
votes
2answers
244 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
0
votes
1answer
53 views

Exporting an Animation with Bookmarks

I have some code that's designed to evaluate a function that has two input variables, plot and animate said function in a specific order, and finally export the result. While I can get the function ...
0
votes
1answer
52 views

Elegant ways of solving this file batching task

There are a batch of data files in a folder (dir = "D:\\Documents\\datadir"), each of which consists of a list of data items, one per line. Each data item is a pair ...
0
votes
0answers
101 views

FeynRules issue when trying to export UFO file

I am having problems with the UFO file generated by a very simple model using FeynRules. The following error occurs when MadGraph tries to import the "Model_UFO" file: ...
1
vote
1answer
239 views

Greek letters do not export correctly

Here is a simple plot P0 = Plot[x, {x, -7, 7}, Frame -> True, FrameLabel -> {"Ω", "Y"}] Then I want to export as .pdf it using ...
14
votes
2answers
308 views

Mathematica, animations, and external ray tracing programs

As much as I enjoy and admire Mathematica's animation capabilities, I would like to take my animations to the next level by exporting the geometry of every frame to an external ray tracing program ...