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

learn more… | top users | synonyms (1)

0
votes
1answer
35 views

Exporting formatted numbers

I would like to format numbers of a list and write them in columns to file. ...
0
votes
1answer
49 views

Export list in 4 columns without curly brackets

I have generated the following list: http://pastebin.com/vmtRrfcD (updated) The dimension of the list is ...
3
votes
0answers
20 views

How do I use Mathematica to upload to Clyp?

Clyp is a service for hosting sound files that (as of now) doesn't require registration. I'm wondering if it's possible to write a function that'll upload a Sound object to Clyp, just like the ...
3
votes
1answer
66 views

Add delay to the final frame of a GIF?

I'd like for there to be a pause during the final frame in my animation, before it loops. Here's some tweekable starter code: ...
0
votes
0answers
34 views

Problem exporting equations from MathType into Mathematica [closed]

I'm using MathType to write equations and sometimes I have to compute large expressions. I have tried to use Mathematica by copying equations to there and it works fine but only if there are no ...
2
votes
1answer
31 views

Scaling HSB colors for export

In Mathematica, Hue[h,s,b] uses HSB colors. However, unlike anything I've ever seen, the h, ...
0
votes
3answers
126 views

Do loop with If condition

I have the following formulas: 1- A cross section: sigma[beta_,alpha_,Y4_] := c^2/(256*Pi) * (1/2) ( Ytt[beta,alpha,Y4]/ m ) * Abs[A]^2 Where c is a strong ...
3
votes
0answers
94 views

Tweet high quality images

I'm trying to export images to a twitter account with mathematica and the quality of the images is rather disappointing. Here are the others in case you want to see it in the wild: here This is ...
2
votes
2answers
161 views

Save as PDF without cell numbers

I want to save a notebook file as PDF, but without cell numbers. For instance, take this document, then select “save as PDF” and the result is, How can I remove the cell numbers ...
1
vote
1answer
39 views

How to save the output cell from this demonstration project as a .eps

I'm having a lot of fun playing with this cool demonstration project by Karl Scherer: http://demonstrations.wolfram.com/LineArt2/ After getting some beautiful artistic results I tried to print or ...
1
vote
3answers
59 views

How to Import and Export as a multidimensional array

I have 10000 matrices and each matrix is 3x3. So Dimensions[data] gives me {10000,3,3}. I saved this into a file with Export["mydata.dat",data,"Table"] Then when I imported it using ...
0
votes
0answers
58 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, ...
2
votes
0answers
35 views

Text fields in PDF Export

I am trying to implement a way in Mathematica to export graphics to PDF and then use Inkscape from within Mathematica to post process the resulting output with the pdf-latex export option in Inkscape. ...
2
votes
0answers
48 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
0
votes
0answers
31 views

Unable to save a figure in JPEG format [duplicate]

Why doesn't Mathematica save the picture produced by the following code in .jpeg? ...
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
vote
2answers
73 views

Export many lists without using loops

I have a Mathematica function that creates a RandomWalk chain of length l, by generating random points on the unit sphere and ...
2
votes
0answers
68 views

Plotting huge amount of data with non-default colour function

I want to plot a huge amount of binary data (a 2700x2001 matrix, 5402700 points), and for that I am using the Graphics[Raster[]] function. With just that command, ...
4
votes
1answer
42 views

CForm not getting exp(), pow, log() functions

I'm performing derivatives in Mathematica and I want to use them in a C code. For that, I'm using CForm as for example in this expression: ...
2
votes
1answer
62 views

Using Mathematica to batch-produce text files

I need to make a bunch of plaintext files, all of which differ only in a single parameter. The text I want to "copy" or "batch produce" is a little bit complex, since it contains quoted areas and ...
0
votes
0answers
34 views

EPS Files + Too many points with ListPlot [duplicate]

So, basically, I have this ...
1
vote
2answers
74 views

Write list of strings to a file (as lines)?

I have a list of Strings, like: list = {"hello", "world", "other line"}; And I want to write it to a file, so that each item in ...
10
votes
1answer
120 views

Creating Saveable->False notebooks

Bug introduced in 10.3 or earlier and persisting through 10.4.1 Reproduced on Windows 7, 10 Bug confirmed by WRI: [...] It does appear that the Saveable Notebook Option on Windows is not ...
0
votes
0answers
33 views

How to export VTK in Mathematica

I would like to export VTK file in the Mathematica. ...
2
votes
1answer
42 views

Export of all notebook files as text files

I want to export all my notebook files located in a root directory as text files. Below is a simple code that I use. Ho can I export "only" the necessary text content of each notebook file? ...
3
votes
1answer
55 views

“Most compatible vector representation”

When saving a plot through right click ► Save Graphic As…, Mathematica lets me choose several options, including separate vector representations for areas with ...
2
votes
1answer
37 views

Exporting String to NetCDF

I've already read a Q&A stating that because NetCDF does not support primitive string type variables, that it is impossible to export a string to a NetCDF file. For example: ...
6
votes
3answers
114 views

What function superseded SpaceForm?

In older versions of Mathematica you could use SpaceForm to leave a certain amount of spaces when writing to a file. For example, if we have the following data: ...
8
votes
0answers
126 views

Exporting a high-resolution GraphPlot of a very large graph (65,536 nodes)

Problem I have a very large graph of 65,536 vertices. GraphPlot yields: But the vertices are too dense to see in any detail, and attempting to use any of the ...
3
votes
1answer
64 views

Exporting sharp corners in Bézier curves to pdf

I'm a bit baffled by this. I have a number of arrows in a series of diagrams, and I'm defining the arrowheads using Bézier curves such as ...
0
votes
1answer
35 views

Export pdf, imagesize changed [duplicate]

fig = Show[ Plot[y = x, {x, 0, 1}, ImageSize -> {400, 400}]] (1). Right click the figure and choose "Save Graphics As"->pdf, the file size is 400points* ...
0
votes
1answer
62 views

Greek letter as TraditionalForm not working while export to PDF

Below is the code for an example plot, ...
3
votes
2answers
54 views

ParametricPlot3D does not export with the specified PlotRange?

I am trying to plot a function with ParametricPlot3D with a specified plot range to export as an stl file, however when exporting the graphic mathematica ignores the PlotRange and exports the whole ...
0
votes
1answer
44 views

Exporting in .dat format [closed]

I am new to Mathematica. I am trying to write the data of the plot of some function which I am using in a .dat format. I am using the following commands to do so: ...
5
votes
0answers
97 views

Generating G-code from Mathematica

Has anybody generated G-code (used for controlling milling machines and plotters and other hardware) in Mathematica? High quality inexpensive plotters have reached the market and I would like to drive ...
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 ...
4
votes
1answer
50 views

How to Export from ParallelDo? [duplicate]

I'm running a simulation with parallel, and I want the results from each parameter set exported to a file whenever it's done (because the parameter space is huge and my computer doesn't have enough ...
1
vote
0answers
24 views

Size and Aspect ratio of exported EPS/PDF and embedding in latex documents [closed]

I've tried to produce figures in Mathematica that have a size consistent with the need of a Latex document. Using a resolution of 72dpi I could produce this the black box is 8.22cm x 5.08cm in a ...
0
votes
0answers
53 views

How to export 3 plots in a row in eps extension? [duplicate]

I'm trying to save three plots with a legend at the end using the methodology described in another StackExchange post: How can I save both the plot and the legend together? I'm using Row[] to ...
-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
1answer
123 views

Classifying images in mass with URLs and CSV file

I'm looking to train a image classifier with a large number of examples and categories (30,000 & 100). I would then import a file of image URLs that need to be classified, and export the results. ...
0
votes
0answers
34 views

What does copying Output cell using Copy As > Plain Text actually does? [duplicate]

So, an input cell after evaluation gives an In[X] := str1 = ... Out[X]:= .... If I right click on the right edge of the Out[X]'s cell, and select Copy As > Plain ...
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
1answer
69 views

Geodesic circle on a pseudosphere

I am trying to 3D print a portion of the pseudosphere, whose edge is geodesic circle. To do so, I plotted a region of the pseudosphere with the geodesics emanating from a point and I got this: The ...
5
votes
1answer
113 views

How to export a 3D circle as a single piece PDF vectorial object?

I need to export a circle drawn in 3D with a specific point of view to a PDF file. This is easy to do. However, the exported circle is made of tons of non-connected small bits. I need the whole ...
1
vote
1answer
29 views

control margin in plot [duplicate]

How would I control the distance between the y-axis and the left most plot border, ie. the space where description of the axis would be. I have two plots, I export them as two files, and then I place ...
3
votes
1answer
92 views

Export to PDF so that Adobe Illustrator does not convert PlotMarkers to fonts

I would like to export a Mathematica graph as PDF, then use Adobe Illustrator to manipulate it. So, I create the graph, and export it: ...
1
vote
2answers
100 views

How can I have PlotLegends showing the legend on a single line instead of two?

I am using PlotLegends in a Plot command to label each line of my plot (it has 4 different functions plotted) but the legend is split in two lines. I would like it two appear in a single line so it ...
0
votes
2answers
65 views

How to batch convert a directory of images to thumbnails?

I have 50k images to resize, my first attempt at this was: ...