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

learn more… | top users | synonyms (1)

2
votes
2answers
122 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 ...
4
votes
1answer
356 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 ...
2
votes
1answer
358 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 ...
0
votes
1answer
38 views

Export list entries under a certain condition without using loops

I have a big list that contains many 3D- chains (set of points) and for each of them a polynomial. So the structure of my list is for example ...
-1
votes
1answer
45 views

What is the best way to create a variable SetDirectory folder (according to the computer i use)

I use Mathematica on a linux mint desktop pc and on my notebook. I would like to create a template notebook for all my work that Exports or saves (the .nb or other files) in my google drive folder. ...
2
votes
0answers
199 views

Exporting BSplineSurface to STL

I have encountered some difficulties getting BSplineSurface to export to STL. The following code works and generates a triangulated polygon mesh from the NURBS ...
2
votes
0answers
318 views

Export Notebook causes an INTERNAL SELF-TEST ERROR: Files2|c|1713 message

On my machine (Windows 8.1) and M10 the following two lines, that must be run on an already saved notebook, ...
2
votes
0answers
44 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
2
votes
0answers
705 views

How to Export Data from Mathematica into Excel specific cell

for import,we can do like this Import["XXX.xlsx", {"Data",1,2,3}],Mathematica will get the cell {2,3} of the "sheet1" in "XXX.xlsx". But if we want to export data from Mathematica to one Excel ...
2
votes
0answers
71 views

The “right” way to define a custom Encoding format?

I have implemented an Import|Export format for xz that behaves like gzip and other encoding formats: ...
2
votes
0answers
145 views

How do I incorporate metadata using Export?

I have Export["file.png",codeThatMakesAGraphicsObject[],"PNG"]; and want to embed some specific metadata information. Is there a simple way to do that? Note ...
2
votes
0answers
280 views

Controlling page breaks

I'm writing a bunch of cells to a new notebook nb and am trying to control the pagebreaks. That is, I want a pagebreak after each Length[listOef] number of cells. ...
2
votes
0answers
371 views

Script with command line argument

As a test I want a simple script to take a command line argument and print it to a file: ...
2
votes
0answers
212 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
2
votes
0answers
1k views

Automatically sending to Print (using CutePDF Writer)

I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
2
votes
0answers
110 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
2
votes
0answers
100 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 ...
1
vote
0answers
54 views

How to export a notebook to google docs (without losing image quality)

I have a large notebook with many text cells some containing images and I need to import it to a google document that is editable. (so not pdf or html). So far no luck! Exporting to rich text format ...
1
vote
0answers
68 views

Exporting 3D graphics in vectorial form

I often have to export a 3D graphics to a PDF file, to be opened and edited with my favorite vectorial application ('m using Intaglio, on OS X). I frequently get two problems (see the picture below, ...
1
vote
0answers
45 views

Exported 2D geometry to dxf has units in inch instead of mm

I was able to export a simple graph (involute) to dxf, but I've got the dimensions in inch (for example, circle with diameter of 1 has 25.4mm in CAD). I tried to use ...
1
vote
0answers
16 views

Naming exported files after corresponding input files

I'm a relatively new user of Mathematica, and currently using it for image processing of multiple tiff movies. I am also exporting tiff files, and I would like a way of naming my exported files after ...
1
vote
0answers
69 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
1
vote
0answers
55 views

errors STL export, contains rotate or GeometricTransformation

I failed to export a STL file containing a Graphics3D with a Rotate or GeometricTransformation. ...
1
vote
0answers
56 views

ImageAssemble and Export gif takes too much memory

Errr.... First Let's create some gifs: ...
1
vote
0answers
30 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 ...
1
vote
0answers
283 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, ...
1
vote
0answers
359 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
118 views

Exporting Code to pdf

I want to export Mathematica Input and Output code to pdf (for usage with Latex). I select the cells and use "Save selection as". However, the font size of the pdfs is to large for Latex usage and if ...
1
vote
0answers
91 views

Bug? Side effects when exporting to .mx

I seem to have encountered a bug when exporting to .mx, at least on OS X. Can anyone reproduce this? I am on MMA 10, OS X 10.9.4. ...
1
vote
0answers
72 views

Export command in Mathematica trial version

Mathematica trial version does not support Export[] command. Is there a command equivalent to Export[] in order to export, say, ...
1
vote
0answers
114 views

Problem in exporting a plot with background to pdf

Just wondering if someone could help me for this problem. I have utilised prolog to use a jpg image as the background of my plot in order to compare my results with ...
1
vote
0answers
175 views

Exporting graphics to PDF results in destroyed fonts on Windows 8

Executing plot = Plot[x^2, {x, 0, 100}, PlotLabel -> "Plot"]; SetDirectory[NotebookDirectory[]]; Export["plot.pdf", plot, "PDF"]; results in Is this a bug? ...
1
vote
0answers
517 views

Mathematica 9 link in OriginLab

Hi (I am an absolute newbie), I need to send Mathematica data to the program OriginLab to plot and change the graphs. Does anyone know if it is possible to send data from Mathematica 9 via ...
1
vote
0answers
221 views

problem with exporting transparent object to pdf in version 9

Here is the code: Export["~/Downloads/1234.pdf", Graphics3D[{Lighter[Black], Opacity[0.5], Polygon@Table[{Cos[x], Sin[x], 0}, {x, 0, 2 \[Pi], 0.01}]}]] in ...
1
vote
0answers
273 views

Behavior of copy and paste with different image formats

Ok, let's say I create a 1x1 pixel image. i = Image[{{0}}, "Byte"]; Now I Export["image.png", i] the image and import it into ...
1
vote
0answers
407 views

CharacterEncoding failed when Import or Export as pdf

folowing is the content my test nb File: pdfTest.nb, contain some chinese characters: SampleCode1:pdf输入不正常。 After Save as or Export, pdf file looks well for the ...
1
vote
0answers
142 views

Mathematica does not export Turkish characters in a Graphics expression

When I export the following Graphics expression as a PDF (or EPS) file, the Turkish characters ü and ç do not appear. ...
0
votes
0answers
55 views

Mathematica 10.4.1 broken fonts when saving as PDF

I am using Mathematica 10.4.1 in Linux and have spotted the following uncomfortable behavior. When saving a notebook as a PDF file, some fonts are not properly displayed (see attached figure below, ...
0
votes
0answers
31 views

How to export VTK in Mathematica

I would like to export VTK file in the Mathematica. ...
0
votes
0answers
33 views

PlayRange option ignored when exporting

I've made use of autohotkey to write a script that plays audio files of piano keyboard notes when I press key-combos. At risk of digressing I will say a little about how it works. I hold one of ...
0
votes
0answers
40 views

Is it possible to make a standalone OS X app from manipulate?

I'm wondering if it's possible to make a standalone app from a manipulate box. I mean a small app that do exactly what the manipulate box is doing in Mathematica, but without Mathematica. In other ...
0
votes
0answers
30 views

Overwriting a file with export[SystemDialogInput[]]

When I use the following code: Export[SystemDialogInput["FileSave", "myP1P3bmp.png"],Image[myBitMap, "Bit"], "PNG"]; I get a somewhat unexpected behavior. I can ...
0
votes
0answers
42 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following ...
0
votes
0answers
27 views

Unable to save a notebook as pdf

I have removed all the dynamic and manipulate cells. I can save short selections as pdf, but when I try to select the whole notebook, or use save as - pdf, the result is just one page, sometimes the ...
0
votes
0answers
42 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...
0
votes
0answers
40 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
0
votes
0answers
85 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 ...
0
votes
0answers
186 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: ...
0
votes
0answers
63 views

Export Messing Up Alignment of Bar Chart

Here is my code: ...