Ignore:
Timestamp:
Jan 4, 2011, 7:45:02 PM (13 years ago)
Author:
sommeria
Message:

cleaning of documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field/FFT.m

    r93 r170  
     1% 'FFT': calculate and display spectrum of the field selected in the GUI  get_field
     2%  GUI_input=FFT(hget_field)
     3%
     4% OUTPUT:
     5% GUI_input: option for display in the GUI get_field
     6%
     7%INPUT:
     8% hget_field: handles of the GUI get_field
     9%
     10
    111function GUI_input=FFT(hget_field)
    212global spec x_vec
     
    919%initiation
    1020hhget_field=guidata(hget_field);
    11 % testinterp=0;
    1221abscissa_list=get(hhget_field.abscissa,'String');
    1322val=get(hhget_field.abscissa,'Value');
     
    1827val=val(1); %take only the first variable in the list
    1928
    20 %ordinate_name=Field.ListVarName{val};
    2129ordinate_name=ordinate_list{val};
    2230
     
    2937% get variable
    3038eval(['Var= Field.' ordinate_name ';']);
    31 np=size(Var)
     39np=size(Var);
    3240np_freq=floor(np(1)/2);
    3341dx=1;%default
     
    5967list_fig=get(hhget_field.list_fig,'String');
    6068val=get(hhget_field.list_fig,'Value');
    61 hfig=str2num(list_fig{val})% chosen figure number from tyhe GUI
     69hfig=str2num(list_fig{val});% chosen figure number from tyhe GUI
    6270if isempty(hfig)
    6371    hfig=figure;
Note: See TracChangeset for help on using the changeset viewer.