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

learn more… | top users | synonyms

33
votes
3answers
1k 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 ...
3
votes
1answer
92 views

Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
19
votes
1answer
341 views

Can Mathematica Export Shapefiles?

Mathematica is great at importing ESRI shapefiles (.shp). Import["http://exampledata.wolfram.com/usamap.zip", "Graphics"] But it seems like it's a glaring ...
7
votes
1answer
74 views

Exporting a Large Graphic Output Uncrops the Image

I want to export an image exactly as it is shown in the notebook, but when I specify a high image resolution, the image saved to disk does not match what is shown in the notebook (the image saved ...
2
votes
1answer
96 views

Is it possible to find the size of a variable in a notebook?

I have a fairly large a list of matrices matsLst, which takes about 15 minutes to compute (but computes successfully each time). I can test in the notebook that ...
6
votes
7answers
355 views

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

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

Math diacritics go missing when exporting graphics [duplicate]

Bug introduced in 10.0.0 and fixed in 10.1.0 Take this example plot: ...
1
vote
1answer
109 views

Saving numerical values to a *.dat file [closed]

I have a function like this: F[m_, t_] = Sum[Sum[Q[[m,i]]*Q[[m,l]]*SS[t], {l, 2, Y}], {i, 2, Y}] How can I save values of this function to some ...
4
votes
0answers
109 views

Convert .csv Dataset and store in Databin [closed]

Trying out the new Databin product in the Wolfram Cloud. I have a simple ,-delimited .csv file with a header row which I have imported using the follwing: ...
4
votes
1answer
240 views

Exporting multiple arrays in a single HDF5 file in Mathematica 7

Bug introduced in 7.0 and fixed in 8.0 I am using Mathematica 7 and I need to export a table of data and the corresponding x and ...
8
votes
3answers
264 views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
2
votes
2answers
145 views

Import a column of data, make a matrix from it and export it WITHOUT curly braces

I'm new here and with Mathematica, too. I want Mathematica to import data from a txt file (it has one column of data). These entries are z-values. From this I want to make a matrix - 508 entries make ...
5
votes
1answer
67 views

Export XMLElements with MathML contents

Setup Here's my mathML expression: mathML = ExportString[1/2, "MathML"] ...
0
votes
1answer
41 views

Error message when exporting plot as XLS file

I imported data from excel which has 300 data (which are change in CDS spread). I want to compute corresponding CDF for the data using kernel density estimation. I get the CDF plot but cannt get the ...
0
votes
1answer
75 views

kernel density estimation

I am trying to compute CDF of historical data ( weekly change in CDS spread) using kernel density estimation. The original data has 300 observation. I uploaded data from excel ...
6
votes
3answers
451 views

How to preserve clipping when exporting a framed histogram with font embedding?

I work with histograms and would like to export it to EPS format. I've noticed that my exported image loses the PlotRangeClipping option that I set up when I export the plot. This is true for at least ...
6
votes
2answers
206 views

Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
18
votes
1answer
465 views

How to fix broken InterpolatingFunction?

Fixed in Version 9 I have an InterpolatingFunction based on irregularly-gridded data, like this: ...
2
votes
1answer
113 views
4
votes
2answers
126 views

Running bits of code in a separate kernel

I am using Mathematica to generate 3D graphics frame for a video. The process goes as follows: Loop over a counter i Use ...
12
votes
3answers
2k views

How can I transfer mathematical expressions between Mathematica and Maple?

Is there a simple way to copy mathematical expressions between Mathematica and Maple (or at least in one direction)? I mean only expressions built from numbers and predefined mathematical functions, ...
3
votes
1answer
136 views

Export in Mathematica 9 vs Mathematica 10

Bug introduced in 10.0 and fixed in 10.0.2 I want to export a list of complex numbers as follows: ...
8
votes
1answer
169 views

Remove the extra white-space padding introduced by implicit use of Inset in GraphicsColumn

Simple Context This is a question about understanding how Inset really works and how GraphicsColumn and the like automatically ...
4
votes
0answers
114 views

How to export strings and figures as PDF in A4 format

I have a column consisting of strings and pictures, like this: ...
2
votes
1answer
47 views

BinaryWrite negative numbers [closed]

testList = {1, 2, 3, 4}; file = "test1"; BinaryWrite[file, testList]; BinaryReadList[file] Close[file]; Gives {1, 2, 3, 4} ...
10
votes
1answer
6k views

Plot, extract data to a file

I need to save data that Mathematica uses inside the Plot command. The format that I would like to have is: x1 y1 x2 y2 ..... ...
1
vote
1answer
200 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 ...
0
votes
0answers
26 views

Exporting data in an output file from a Do-loop evaluation [duplicate]

I want to transfer the output of the following evaluation into a two-columned data file where the first column will be values for a and the second column will be ...
16
votes
2answers
319 views

Exporting Dataset to WDX format fails

I reported this to WRI support. Tracking number is CASE:3368636 Official answer is: Thank you for contacting Wolfram Technical Support. This is a known issue and our developers are working on a ...
2
votes
2answers
98 views

Export NDSolve results

I can see the correct result of my NDSolve when I plot them with large PlotPoints. ...
3
votes
1answer
71 views
2
votes
0answers
36 views

exporting 3D graphics in STL format (for 3D printing) [duplicate]

How do I set the size of the exported item? (Graphics3D has no implied unit, so it is not a-priori clear what size the object will be, and experiment indicates that ...
0
votes
2answers
96 views

Write list of numbers to a file

I have a list of numbers: e.g. list={1,2,3,4,5} To write the list to a file I use (here each integer number occupies 7 spaces): ...
2
votes
1answer
152 views

Help me export high-resolution TIFF figure

I have generated a figure in MMA by ContourPlot3D. How can I export this figure in high-resolution TIFF format(say, 1200 dpi for lines, 300 dpi for halftone and ...
5
votes
1answer
105 views

Wolfram Script Not Completing when ran as cron job

I have a fairly simple Wolfram script called from within a shell script that I would like to run at certain times. The shell script calls a python script to get some recordings to from GPIO and saves ...
2
votes
0answers
217 views

Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: ...
2
votes
0answers
62 views

Export on local machine results of a parallel computation using remote kernels

I've got a long calculus to do with Mathematica. I've Parallelized the code using local kernels and remote kernels. I'm using a ParallelDo loop with an ...
3
votes
1answer
201 views

Writing/exporting files outside the Raspberry Pi home directory

When running Mathematica (v10) on my Raspberry Pi, I'd like to output an image file to a directory other than /home/pi. I understand that letting Mathematica write ...
9
votes
1answer
462 views

Syntax Highlighting for Mathematica on a Blog

Every once in a while I want to paste Mathematica code on my blog. When I do, I would like it to be somewhat readable, and it would be nice to have syntax highlighting. So far all my searches have ...
0
votes
0answers
63 views

Mathematica embeds some fonts in PDF, some not [duplicate]

I want to use the Computer Modern font in my plots and export the graphics to pdf. The OpenType Latin Modern fonts are installed, but now some of them are not embedded if I export to pdf. For example ...
4
votes
1answer
61 views

JSON export truncates numbers to 6 digits of precision

It seems that in version 10.0.2 and 10.1.0, floating point numbers are truncated to only 6 digits of precision when exporting to JSON. Example: ...
5
votes
1answer
144 views

How to monitor the progress of exporting of animated GIF?

My Export is taking a very long time, I was hoping there might be a way to monitor the progress when exporting graphics? ...
0
votes
2answers
89 views

Exporting and Importing solution sets from NSolve

I have a rather large data set that I need to solve for, then save to my hard disk and import in the same format at a later time. This proves to be tricky. I use ...
2
votes
0answers
48 views

Export Tube with VertexColors to 3DS

I would like to export a Tube object with VertexColors defined to 3DS format. Here's a minimum example: ...
11
votes
1answer
408 views

How can I set id attribute of elements when I export an SVG file?

Suppose I have a Mathematica graphic such as g = Graphics[{Disk[{-1, 0}, 1/2], Rectangle[]}] I would like to be able to export this graphic from Mathematica ...
4
votes
1answer
56 views

GridLines in TimelinePlot do not export to EPS

The below TimelinePlot produces the proper figure within a Mathematica session, but when that figure is exported as an .eps figure (to be used in a $\LaTeX$ ...
2
votes
2answers
84 views

Export Text with Colors

Is there a way of using Export[] method to take a text with colors (using Style) and then export to file, such that when I open ...
2
votes
0answers
65 views

Transferring analytic expressions from Mathematica to R

I have a series of large-ish algebraic expressions I would like to move from MM to R. I've no doubt the way I'm doing it is rather stupid, but so far the best way i've found is to use CForm and then ...
1
vote
0answers
52 views