Import space separated data

28 views
Skip to first unread message

Emanuel Benatti

unread,
Jun 2, 2014, 12:30:02 PM6/2/14
to mtex...@googlegroups.com
Hi,

I'm trying to import a text file with space separated values. Some of the files have only have 6 columns. These are imported OK, but when I try to do the same with files with more columns (20 o so) I get this warning:

Warning: No grid of specimen directions was specified I'm going to use a regular grid with
3330 x 20 points.You may use the option '
maxTheta' to control the maximum polar angle. Have
a look at for more details.
> In loadPoleFigure_generic at 59
  In loadData at 99
  In loadPoleFigure at 42
  In AL70_t20_importscript at 36  

I've also noticed that when I want to import the file with 6 columns mtex shows a text dialog asking me wich columns it should consider and which colums it should ignore. I don't get such a teaxt dialog when trying to import the file with 20 columns.

I couldn't solve the problem by writting in the script which columns it should import. I very case I get the same warning. I'm attaching the files I'm using (the one that imports well and the one that doesn't) with the import scripts I've benn using.

Thanks a lot
Emanuel
AL70_t20.mtex
AL70_t20_importscript.m
BS100_INT.mtex
BS100_INT_importscript.m

Emanuel Benatti

unread,
Jun 2, 2014, 1:01:51 PM6/2/14
to mtex...@googlegroups.com
Sorry, I attached the wrong files. Here are the correct ones.
Regards
AL70_t20.mtex
AL70_t20_importscript.m
BS100_INT.mtex
BS100_INT_importscript.m
Reply all
Reply to author
Forward
0 new messages