Changeset 19336
- Timestamp:
- 05/01/15 12:36:45 (10 years ago)
- Location:
- issm/trunk-jpl/src/m
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/plotoptions.m
r16247 r19336 104 104 105 105 %get suplot(s) associated 106 string=strsplit (rawlist{i,1},'#');106 string=strsplit_strict(rawlist{i,1},'#'); 107 107 plotnums=string{end}; 108 108 field=string{1}; … … 127 127 %pound i-j 128 128 elseif ismember('-',plotnum) 129 nums=strsplit (plotnum,'-');129 nums=strsplit_strict(plotnum,'-'); 130 130 if length(nums)~=2, continue; end 131 131 if ~isnumeric(nums) -
issm/trunk-jpl/src/m/plot/plot_tensor_components.m
r17687 r19336 69 69 %apply options 70 70 if ismember('_',type) %user plotet stress_tensor 71 strings=strsplit (type,'_');71 strings=strsplit_strict(type,'_'); 72 72 string=strings{1}; 73 73 else %default plot: user requested stress -
issm/trunk-jpl/src/m/plot/plot_tensor_principal.m
r17686 r19336 67 67 %apply options 68 68 if ismember('_',type) %user plotet stress_tensor 69 strings=strsplit (type,'_');69 strings=strsplit_strict(type,'_'); 70 70 string=strings{1}; 71 71 else %default plot: user requested stress -
issm/trunk-jpl/src/m/plot/plot_tensor_principalaxis.m
r19083 r19336 89 89 90 90 %apply options 91 strings=strsplit (type,'_');91 strings=strsplit_strict(type,'_'); 92 92 string=strings{1}; 93 93 options=addfielddefault(options,'title',[upper(string(1)) string(2:end) ' principal axis ' type(end)]); -
issm/trunk-jpl/src/m/plot/plot_vstime.m
r17718 r19336 6 6 %getting the variable structure 7 7 datastruct = getfieldvalue(options,'Input'); 8 structnames = strsplit (datastruct,'.');8 structnames = strsplit_strict(datastruct,'.'); 9 9 10 10 %getting the position of the to be ploted point -
issm/trunk-jpl/src/m/solve/parseresultsfromdisk.py
r18960 r19336 39 39 result=ReadData(fid) 40 40 while result: 41 print result['step'] 41 42 if result['step'] > len(results): 42 43 for i in xrange(len(results),result['step']-1): -
issm/trunk-jpl/src/m/string/strsplit_strict.m
r13646 r19336 1 function splittedstring = strsplit (inpstr,delimiter)2 %STRSPLIT - split atring of delimiter separated values1 function splittedstring = strsplit_strict(inpstr,delimiter) 2 %STRSPLIT_STRICT - split a string of delimiter separated values 3 3 % 4 4 % Usage:
Note:
See TracChangeset
for help on using the changeset viewer.