Changeset 1048 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jun 4, 2018, 8:00:50 PM (6 years ago)
Author:
sommeria
Message:

bugs corrected in plot profiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r1046 r1048  
    41644164    test_v=0;
    41654165    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A REMETTRE
    4166 %     if ~isempty(menu_histo)
    4167 %         set(handles.HistoMenu,'Value',1)
    4168 %         set(handles.HistoMenu,'String',menu_histo)
    4169 %         set(handles.Histogram,'Visible','on')
    4170 %         set(handles.HistoMenu,'Visible','on')
    4171 %         set(handles.HistoAxes,'Visible','on')
    4172 %         HistoMenu_Callback(handles.HistoMenu, [], handles)% plot first histogram
    4173 %     end
     4166    if ~isempty(menu_histo)
     4167        set(handles.HistoMenu,'Value',1)
     4168        set(handles.HistoMenu,'String',menu_histo)
     4169        set(handles.Histogram,'Visible','on')
     4170        set(handles.HistoMenu,'Visible','on')
     4171        set(handles.HistoAxes,'Visible','on')
     4172        HistoMenu_Callback(handles.HistoMenu, [], handles)% plot first histogram
     4173    end
    41744174end
    41754175% open the set_object for interactive plane projection in 3D case
     
    42624262            end
    42634263        end
     4264        Histo.VarAttribute{1}.Role='coord_x';
     4265        Histo.VarAttribute{2}.Role='coord_y';
    42644266        if ~isempty(units)
    42654267            Histo.VarAttribute{1}.units=units;
Note: See TracChangeset for help on using the changeset viewer.