Group Abstract Group Abstract

Message Boards Message Boards

Preprocess and visualize data from a texto.txt file?

Posted 10 years ago
Attachments:
POSTED BY: Carmen Gonzalez

The code isn't wrong, the data must be preprocessed: texto.txt needs dots to make up numbers to Mathematica: 0.7 instead of 0,7:

enter image description here

Then it works - take into account that

In[44]:= Clear[data]
data = Import[FileNameJoin[{NotebookDirectory[], "test", "texto.txt"}], "Table"];

In[46]:= Dimensions[data]
Out[46]= {21, 29}

the dimension of data are 21 lists of the length 29: be sure that you want that. Notebook attached.

Attachments:
POSTED BY: Udo Krause
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard