Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica
6
votes
0answers
103 views
What are the known differences between Save and DumpSave, and how to account for them?
Edit: I changed the title and (slightly) the wording of this question in order to make it more easily answerable.
If I evaluate this in Mathematica 9:
...
2
votes
1answer
146 views
Having problems with importing data in .dat format
I have a .dat file from FORTRAN output and I am trying to plot the results. The dat file is a series of rows with the row number as the first column. Now, every other row is empty, that may be ...
7
votes
0answers
148 views
Is there an efficient and elegant way to import huge datasets from a mysql database?
I'm struggling to import huge datasets (up to a couple million rows) from a MYSQL database into Mathematica. I already tried http requests, direct sql calls, as well as implementing a web service, ...
3
votes
2answers
139 views
Since installing mathematica 9 I can't import certain tiffs
I have a notebook written in Mathematica 8 in which I imported Tiff images and everything worked fine. Since I installed Mathematica 9, I get the error:
...
0
votes
1answer
167 views
Import Excel sheet into 3D array?
I have an excel spreadsheet that I would like to plot in a 3D graph using mathematica. The X and Y values are the location of the cell, and the Z value is the number of the scale.
How can I import ...
12
votes
1answer
244 views
How to efficiently import videos
I need to do frame-by-frame analysis of videos. I can import the video files I need, but each file is too large to import at once. I can use the ...
-1
votes
1answer
184 views
Why does the PlotStyle not apply globaly when I plot multiple data files
I have several data files which contain columns of data. All my files follow the same format data001.out, data002.out, ... , data00n.out. I want to import and plot all of them simultaneously. In ...
5
votes
1answer
121 views
Accessing data on local machine from remote kernel
I have a remote kernel on a server that I would like to use to process some data. The connection works, i.e, I'm able to use the local front end and the remote kernel. However, I cannot figure out how ...
4
votes
1answer
106 views
Why can't an `Import[]` change $Path?
Does anyone know why Import["http://**server**/file.m"] can't make a change to $Path? It seems like ...
3
votes
1answer
88 views
Mathematica - set end-of-line characters when importing
I have a plain text file of tab-separated values that was created on a Windows machine. I want to import it into Mathematica on a Mac.
...
0
votes
0answers
148 views
How to import data from Blender or 3DS max file?
I would like to ask how to import a file from Blender 3D application and make a isolines plot.
What I intend to do is to make a terrain model in Blender, and make a topographic map of it in ...
1
vote
2answers
253 views
Can I improve the importing speed of Excel data?
I have data in an Excel spreadsheet that has 4 rows and 1,000 columns. I am using Import as follows:
...
16
votes
2answers
347 views
Why does ImageData need four times more memory?
Background
We are dealing with very large TIFF image files that are imported, processed and exported using Mathematica 9. Many of our algorithms only work with an array representation of the images, ...
10
votes
2answers
373 views
Maximum size of TIF files in Mathematica
I have a question concerning the maximum size of TIFF files Mathematica can handle. According to the TIFF 6.0 specification -revision 6.0 (see: ...
2
votes
1answer
89 views
Import a file only if it contains a certain pattern
Let's say I have three files containing:
File 1:
x y z
1 4 6
File 2:
x y z
2 5 9
File 3:
x y z
5 4 8
My goal is to import the data from a file only if in ...
0
votes
1answer
237 views
How do I plot a 3D vector field using a data file with three x y z columns?
I have a data file that is the solution of the laplace equation on a rectangular area, which has three columns: x, y and z with their numerical values.
How do I plot this data into a vector field with ...
4
votes
1answer
154 views
How can I colorize an imported model?
How can I colorize an imported model from for example 3ds max?
I'm trying to find the way to colorize a 3D plot from an imported model with something like this:
...
2
votes
0answers
72 views
Problem with DynamicModule in code to import data from several .txt files [closed]
The purpose of the code below is to import data from several .txt files and then plot it using ListPlot. The data files are .txt files with comma-separated data ...
3
votes
1answer
147 views
Running external pdflatex command and importing the generated PDF document
There have been a couple of questions about incorporating labels and equations that were typeset in $\LaTeX$ into a Mathematica notebook. Ideally, this requires running ...
0
votes
1answer
173 views
importing and manipulating data file
I have a large text file containing numeric data of 1000 groups each of 200 lines. The lines are unsorted. There is a 9 line header at the beginning of each group, i.e., 209 ⨉ 1000 lines altogether.
...
-1
votes
1answer
177 views
Importing Quicken Tab Delimited .*TXT File and plotting
I am using Mathematica 7 to try and plot my quicken data file. I have exported my quicken file as a .*TXT and have made zero changes to it. I want to do a ...
0
votes
0answers
89 views
Do Import and Get work asynchronously? Can I prevent this?
I'm getting strange behavior in some of my notebooks that makes it seem like Import and Get load asynchronously. When I evaluate ...
4
votes
0answers
54 views
Importing .zip file [duplicate]
Possible Duplicate:
Importing Zip files
I have a piece of code which imports a txt file and turns it automatically into a table form. I use the following:
...
1
vote
1answer
201 views
How to set path of IMPORT from excel into Mathematica?
I was able to IMPORT from excel data at the start of my project when both the .nb and EXCEL XLS files were sitting in MyDocument (or some other location), but upon moving both files into my Dropbox ...
3
votes
4answers
183 views
How can I get rid of extra commas in Export/Import?
Consider the following example of trying to export the following table:
Export["test.dat", {{{1, 1}, {2, 2}}, {{3, 3}, {4, 4}}}, "Table"];
Now I import to see ...
1
vote
1answer
269 views
Importing formatted, highlighted text from : HTML vs RTF vs. XML
We would like the ability to import and analyze ASCII documents that have been manually segmented by highlighting and changing font colors of various sections, eg:
The original line breaks, ...
9
votes
2answers
160 views
How to extract a specific element from EXIF photographic metadata?
It's now possible to import photographs into Mathematica and import the EXIF data at the same time:
i = Import["ExampleData/coneflower.jpg", "ImageWithExif"]
...
2
votes
1answer
236 views
Reading in Huge Text Files
I would like to read in really large text files (about 2GB) into Mathematica. The structure of the file is such that the first row and the first column are text i.e strings. Rest is all numbers. Is it ...
3
votes
0answers
79 views
External file Sub Matrix Import
Is there a Built-In Mathematica Function to extract a
Sub matrix from a huge external file?
Functions getting pieces of internal nested Lists, (arrays) are in place.
Example:
...
0
votes
0answers
155 views
Problem with reloading data saved with DumpSave [closed]
During programming and to avoid evaluating a notebook again, I save my data with DumpSave in .mx-format. Mathematica actually ...
3
votes
1answer
107 views
Exporting/Importing a Table of complex numbers
I'm generating a long table of list of the form:
PN={{1,2,1+i},{3.5,2.6,2}...},{...},...
Using:
Export["PN.dat", PN, "Table"]
...
4
votes
0answers
83 views
What is the best way (lossless) to import .skp files into Mathematica?
I am using the free version of Google Sketchup and I've got a few designs in hand, which I need to be able to import into Mathematica. I saw the similar question asked by @Sjoerd C. de Vries in Stack ...
16
votes
3answers
615 views
Reading periodic elements from a large file
I have a large binary data file (big endian) with 100+ million "rows" of 11 elements, combination of floats and integers.
This is the format:
...
4
votes
2answers
382 views
Reading in scientific notation from C++ to Mathematica
With a text file with entries formatted as (output from C++):
f[38.67] = -2.5387862698183892298317350539374412777263289550697e-05;
⋮
Is there a way to read this ...
7
votes
2answers
352 views
Import Fortran unformatted binary
I have an unformatted binary file generated using the Compaq Visual Fortran compiler (big endian).
Here's what the little bit of documentation states about it:
The binary file is written in a ...
5
votes
1answer
337 views
Exporting data from Excel into Mathematica using clipboard
I know that it's possible to import Excel data into Mathematica using the Import command, as we can see in this post. But some times, I need just to do some fast ...
8
votes
1answer
263 views
Dealing with large files
I have a *.dat file in which the contents are basically one giant list:
{1,2,3,4} {5,6,7,8} {9,10,11,12}
and so on. I'd like to read in the first 500 members { ...
6
votes
1answer
173 views
Converting XMLElement objects to plain text
Short version: How can I convert an XMLElement that represents part of a HTML document to plain text?
Long version: The more general problem is extracting ...
0
votes
2answers
119 views
Exporting lists with two extensions to files
Continuation of this question: How to export if I need to have two extensions instead of one. E.g., in the previous case one can generate lists labeled L[1], L[2],.....and so on using a loop. But if I ...
9
votes
5answers
367 views
convert long string to integer list
at first, i would like to thank all the people here. i'm working with mathematica for half a year now and always found great advice and tricks.
now, i came up with a problem i couldn't find a ...
8
votes
3answers
176 views
7
votes
0answers
132 views
Is there a Palette for processing experimental data?
I find that Mathematica has excellent tools for processing experimental data: importing complex data, manipulating it, fitting curve to the data and plotting with error bars. But the problem for me is ...
7
votes
2answers
338 views
Import selected columns from a tab delimited text file
I have a very huge file (1GB) from which I desire to import only the 5th column. It is a tab delimited text file with a .txt extension. Can you please help me with ...
1
vote
1answer
157 views
Importing 2d array of files
I would like to import multiple files to a 2d array.
I know to get a list of files I can do
myfiles=FileNames["*.txt"]
alldata=Import/@myfiles
Is it possible to ...
4
votes
2answers
310 views
Why does importing a URL fail the second time and produce a FetchURL::conopen error?
I have Mathematica code that uses Import[] to download URLs. I noticed that first time I use the Import[] command it works. ...
2
votes
1answer
112 views
Implementing a For (?) or series or loop (?) for individual results for every x to n
I'm working on improving a modeling formula and have spreadsheets worth of data to use, but my work so far has been quite tedious. I'm essentially pulling 20 rows of data from each separate sheet of a ...
14
votes
1answer
195 views
Getting Mathematica.SE reputation data
I'm asking the following on behalf of Mr.Wizard.
On StackOverflow I used the old v1.0 SO API and Mathematica to obtain user reputation data. Now we are no longer a tag on StackOverflow and the v2.1 ...
3
votes
2answers
99 views
Import[] exception possibly caused by ToString[] behaviour which I cannot explain
Let me just start by pointing out I'm a new StackExchange user as well as a new Mathematica user (started today!) I mention this as a context to my ineptitude :)
I am attempting to read through a ...
0
votes
1answer
134 views
Can an Interpolation function be 'saved'? [duplicate]
Possible Duplicate:
Save interpolated function
I am importing tables with sizes of 100k - 500k rows and 4 columns. The larger the table, the slower my Mathematica runs for all computations ...
13
votes
1answer
291 views
Gravatars/identicons with Mathematica
The default avatar/identicon is based on an MD5 hash of your e-mail address. With some e-mail providers (e.g., GMail) the address gmailuser+foo@gmail.com is still ...


