Changeset 748 for trunk/src/series.m


Ignore:
Timestamp:
Apr 23, 2014, 4:57:58 PM (10 years ago)
Author:
sommeria
Message:

update for 3D plots, panel Coordiantes introduces, while coordiantes now called Axes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r735 r748  
    22412241    Param=read_GUI(handles.series);
    22422242    Param.InputTable=Param.InputTable(1,:);
    2243     filecell=get_file_series(Param);
    2244    
    2245     if exist(filecell{1,1},'file')
    2246         GetFieldData=get_field(filecell{1,1});
     2243     % check the existence of the first file in the series
     2244    first_j=[];
     2245    if isfield(Param.IndexRange,'first_j'); first_j=Param.IndexRange.first_j; end
     2246    last_j=[];
     2247    if isfield(Param.IndexRange,'last_j'); last_j=Param.IndexRange.last_j; end
     2248    PairString='';
     2249    if isfield(Param.IndexRange,'PairString'); PairString=Param.IndexRange.PairString; end
     2250    [i1,i2,j1,j2] = get_file_index(Param.IndexRange.first_i,first_j,PairString);
     2251    FirstFileName=fullfile_uvmat(Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},...
     2252        Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2);
     2253%     filecell=get_file_series(Param);
     2254%     
     2255    if exist(FirstFileName,'file')
     2256        ParamIn.SeriesInput=1;
     2257        GetFieldData=get_field(FirstFileName,ParamIn);
    22472258        FieldList={};
    22482259        switch GetFieldData.FieldOption
     
    22612272                end
    22622273            case 'scalar'
    2263                 AName=GetFieldData.PanelScalar.scalar;
     2274                FieldList=GetFieldData.PanelScalar.scalar;
    22642275                YName={GetFieldData.Coordinates.Coord_y};
    2265                 FieldList={AName};
     2276                if ischar(FieldList)
     2277                FieldList={FieldList};
     2278                end
    22662279            case '1D plot'
    22672280                YName=GetFieldData.PanelOrdinate.ordinate;
Note: See TracChangeset for help on using the changeset viewer.