Changeset 85 for trunk/src/view_field.m


Ignore:
Timestamp:
Apr 25, 2010, 9:46:07 PM (14 years ago)
Author:
sommeria
Message:

uvmat;fig: cleaning out of buttons for mask record
view_field, write_plot_param: improve plot by view_field (projection)
uvmat: bug fixing for yellow coloring of buttons, improve switch from velocity to images
find_field_indices: bug fix for NbDim?
name_generator: help comments improved
civ: bugs corrected for BATCH button colouring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/view_field.m

    r75 r85  
    9292
    9393[PlotType,PlotParamOut,haxes]= plot_field(Field,handles.axes3)%,PlotParam,KeepLim,PosColorbar)
     94'TEST'
     95if isfield(PlotParamOut,'Vectors')
     96    set(handles.VECT_title,'Visible','on')
     97end
     98handles
     99write_plot_param(handles,PlotParamOut);% update the display of the plotting parameters
     100
    94101%-------------------------------------------------------------------
    95102% --- Outputs from this function are returned to the command menuline.
     
    20292036       set(handles.slider2,'Min',0);
    20302037       set(handles.slider2,'Max',1);
    2031  %      set(handles.min_title_vec,'String','0')
     2038 %      set(handles.min_C_title_vec,'String','0')
    20322039       set(handles.max_vec,'String','1')
    20332040       set(handles.colcode1,'String','0.333')
     
    21072114% set(handles.slider2,'Min',minC)
    21082115% set(handles.slider2,'Max',maxC)
    2109 % set(handles.min_title_vec,'String',num2str(minC))
     2116% set(handles.min_C_title_vec,'String',num2str(minC))
    21102117% set(handles.max_vec,'String',num2str(maxC))
    21112118% if auto
     
    23322339%-------------------------------------------------------------------
    23332340haxes= handles.axes3;
    2334 AxeData=get(haxes,'UserData');
     2341huvmat=findobj(allchild(0),'tag','uvmat');
     2342UvData=get(huvmat,'UserData');
     2343%
     2344% AxeData=get(haxes,'UserData');
    23352345PlotParam=read_plot_param(handles);
    2336 [PlotType,PlotParamOut]= plot_field(AxeData,haxes,PlotParam,1);
     2346[PlotType,PlotParamOut]= plot_field(UvData.ProjField_2,haxes,PlotParam,1);
    23372347write_plot_param(handles,PlotParamOut); %update the auto plot parameters
    23382348
Note: See TracChangeset for help on using the changeset viewer.