[cig-commits] r6013 - in long/3D/Gale/trunk: . tools

walter at geodynamics.org walter at geodynamics.org
Tue Feb 13 16:18:49 PST 2007


Author: walter
Date: 2007-02-13 16:18:49 -0800 (Tue, 13 Feb 2007)
New Revision: 6013

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/tools/PlotGaleOutput.m
   long/3D/Gale/trunk/tools/ReadGaleOutput.m
Log:
 r1555 at earth:  boo | 2007-02-13 16:15:30 -0800
 Fix up matlab scripts



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1553
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1555

Modified: long/3D/Gale/trunk/tools/PlotGaleOutput.m
===================================================================
--- long/3D/Gale/trunk/tools/PlotGaleOutput.m	2007-02-13 19:04:17 UTC (rev 6012)
+++ long/3D/Gale/trunk/tools/PlotGaleOutput.m	2007-02-14 00:18:49 UTC (rev 6013)
@@ -10,10 +10,9 @@
 
 clear, close all
 
-fname   =   'extension';        % directory-name
-step    =   1  ;               % timestep
+fname   =   '../output.extension';        % directory-name
+step    =   10  ;               % timestep
 
-
 % Read data
 ReadGaleOutput;
 

Modified: long/3D/Gale/trunk/tools/ReadGaleOutput.m
===================================================================
--- long/3D/Gale/trunk/tools/ReadGaleOutput.m	2007-02-13 19:04:17 UTC (rev 6012)
+++ long/3D/Gale/trunk/tools/ReadGaleOutput.m	2007-02-14 00:18:49 UTC (rev 6013)
@@ -8,16 +8,11 @@
 %       -   check 3D case, and generation of 3D matrixes
 
 
-%fname   =   'extension';
-%step    =   2;
-
 addpath(pwd);       %adds current directory to path
 
-
 % Change to output directory
-dirname = ['./output.',fname];
 
-cd(dirname);
+cd(fname);
 
 % Read the input xml-file, to get the number of nodes in each direction----
 %
@@ -156,7 +151,7 @@
 
     
     % Yielding
-    data                        =   load(['yielding','.',number,'.txt']);
+    data                        =   load(['particles','.',number,'.txt']);
     Yielding.x                 =   data(:,2);
     Yielding.y                 =   data(:,3);
     Yielding.z                 =   data(:,4);



More information about the cig-commits mailing list