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

learn more… | top users | synonyms

3
votes
0answers
31 views

How to export to NetCDF format

Consider I have a scalar field on a grid f(x,y), where x and y can take values ...
0
votes
1answer
53 views

Applying transformations to data coming from an STL file

I am very new with the use of 3D graphics in Mathematica, so my question might be very naive. I need to Import an STL file, apply transformations to it (rotation and translation), and export it back ...
0
votes
0answers
24 views

How do I change a 3d bspline curve to a polygon based graphic?

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
0
votes
0answers
30 views

Excel export within the same sheet [on hold]

Is it possible to export or merge one column of numbers into another column of numbers? I am making an inventory sheet. I'd like to add/subtract numbers from one column (said column) to another column ...
5
votes
2answers
161 views

Export rotate bug in Mathematica v10

I think I've stumbled upon a bug in Mathematica v10.0.0 on linux. Rotate does not seem to play well with export. If I run: ...
1
vote
1answer
228 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
3
votes
1answer
43 views

Export followed by Import producing “0.e1” numbers

I had a large table of data that I exported, and then when it had completed, I exported it to a file. (Just in the form Export["filename.dat", data], no specified ...
4
votes
1answer
102 views

How to analyze all the data in a directory

I am trying to import, analyze, and save all the .txt files in a specific directory. I can do this with a single .txt file using the following code: ...
7
votes
1answer
112 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
5
votes
0answers
91 views

How to write crash-robust code?

When a notebook crashes all the work I was doing is lost - I'd like to ameliorate this situation! Is there a way to decorate a symbol so that it is saved to disk whenever it changes, or after a ...
3
votes
2answers
1k views

How to change working directory for calculation and save

I'm having a problem setting the working directory. I want to do some computation and save my data at one location (D), but in the code below you can see that mathematica shifts automatically to a ...
14
votes
1answer
812 views

Automating SFTP upload within Mathematica?

I have MMA-generated html and would like to automate uploading to a named directory to a web host via SFTP or HTTP POST, ideally without creating local temp files. The closest question I could find on ...
0
votes
0answers
122 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: ...
31
votes
3answers
2k 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 ...
0
votes
0answers
43 views

How to export graphics for Blend4Web [duplicate]

Mathematica Online is not helpful in deploying 3D graphics on your website. But a new sdk Blend4Web looks promising. Does anyone know a way to export textured graphics into the Blender engine?
1
vote
1answer
112 views

Export data from Array to *.csv without curly brackets

I have a couple of *.csv files containing data from several experiments. From those, two columns shall be extracted each, to form a new list. This process shall be automated to collect all the data ...
2
votes
0answers
37 views

Mathematica 10 Audio Export Issue

Summary of the problem: When exporting data as an audio file (AIFF/WAV etc.), there appears to be unwanted scaling and offset in the data such that the minimum and maximum values are forced to be -1 ...
6
votes
2answers
187 views

Using Greek $\LaTeX$ fonts

I want to use the $\LaTeX$ font in graphics. For text/numbers, this is easily done by FontFamily -> "CMU Serif" (on Ubuntu) like this: ...
11
votes
1answer
105 views

Is there a way to stop Export if the file size is too big?

I've got code that's exporting a file, but the file might be so big that it will take up too much space on the cluster I'm using and crash other users' processes. Is there anything like ...
0
votes
2answers
66 views

Is there the possibility to write many times a value in definite list of file1.nb?

The commands testData = RandomReal[{0, 1}, {1, 1}]; Export["C:\\Users\\Alex\\Desktop\\1\\file1.nb", testData]; write the “testData” (value generated by ...
30
votes
3answers
806 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
89 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, ...
17
votes
1answer
290 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
64 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
82 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
348 views

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

I have made this function: conv01 = Map["["<>StringJoin@@Riffle[#,","]<>"]"&,Map[ToString,#,{2}],{0,1}]& to convert: ...
2
votes
2answers
124 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
84 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 ...
5
votes
2answers
196 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
4
votes
0answers
71 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: ...
0
votes
0answers
71 views

Loss of chart when exporting data in DynamicModule[Probleme solved by Update to 10.2]

In DynamicModule, the result is to show a panel with a flowchart and a piechart. But when I export the dynamic result in a CSV file, the piechart will no longer ...
4
votes
1answer
210 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
190 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
59 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
46 views

Export XMLElements with MathML contents

Setup Here's my mathML expression: mathML = ExportString[1/2, "MathML"] ...
0
votes
1answer
36 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
56 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
428 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
1answer
198 views

Is it possible to export equations from Mathematica to Corel with full Latex quality

I am wondering is there any possible solution to export equations from mathematica to corel x5. I was trying first to export a equations as pdf from mathematica and then to import .pdf to corel, but ...
12
votes
1answer
2k views

How do I flatten transparency on a graphics, for conversion to eps or similar?

I've got a graphic that I'd like to save as an eps file. Trouble is, the graphic has some transparency to it. Since the eps format doesn't handle transparency, I want to flatten the transparency out, ...
6
votes
2answers
166 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. ...
17
votes
1answer
454 views

How to fix broken InterpolatingFunction?

Fixed in Version 9 I have an InterpolatingFunction based on irregularly-gridded data, like this: ...
2
votes
1answer
109 views
3
votes
2answers
98 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
1k 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, ...
9
votes
2answers
219 views

Self-loops in Graph may not display correctly or export correctly to PDF (due to BezierCurve problem)

Bug introduced in 10.0 and persisting through 10.2.0 Problem is due to a BezierCurve bug. I don't understand why the following does not work: ...
3
votes
1answer
123 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: ...
4
votes
1answer
81 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 ...
6
votes
1answer
255 views

Conversion to TeX results in infinite recursion

Bug introduced in 9.0 and persisting through 10.2 or later Confirmed, as bug, by WRI: [CASE:3059683] I'm trying to export to $\TeX$ a Message cell. For ...
4
votes
0answers
69 views

How to export strings and figures as PDF in A4 format

I have a column consisting of strings and pictures, like this: ...