Changeset 1175 for trunk/src/uvmat.m
- Timestamp:
- Mar 11, 2025, 9:51:39 PM (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/uvmat.m ¶
r1169 r1175 4019 4019 set(handles.Histogram,'Visible','off') 4020 4020 set(handles.HistoMenu,'Visible','off') 4021 set(handles.LogLinHisto,'Visible','off') 4021 4022 set(handles.HistoAxes,'Visible','off') 4022 4023 hlegend=findobj(handles.uvmat,'Tag','HistoLegend'); … … 4265 4266 set(handles.Histogram,'Visible','on') 4266 4267 set(handles.HistoMenu,'Visible','on') 4268 set(handles.LogLinHisto,'Visible','on') 4267 4269 set(handles.HistoAxes,'Visible','on') 4268 4270 HistoMenu_Callback(handles.HistoMenu, [], handles)% plot first histogram … … 4383 4385 C=reshape(double(B),1,nxy(1)*nxy(2));% reshape in a vector 4384 4386 Histo.histo(:,col)=hist(C, Histo.(FieldName)); %calculate histogram 4385 end 4386 end 4387 plot_field(Histo,handles.HistoAxes); 4387 if isequal(get(handles.LogLinHisto,'Value'),2) 4388 PlotParam.Type='semilogx'; 4389 else 4390 PlotParam.Type='plot'; 4391 end 4392 end 4393 end 4394 plot_field(Histo,handles.HistoAxes,PlotParam); 4388 4395 hlegend=findobj(handles.uvmat,'Tag','HistoLegend'); 4389 4396 if isempty(hlegend) … … 6180 6187 6181 6188 6189 6190 6191 % --- Executes on selection change in LogLinHisto. 6192 function LogLinHisto_Callback(hObject, eventdata, handles) 6193 HistoMenu_Callback(hObject, eventdata, handles) 6194 % hObject handle to LogLinHisto (see GCBO) 6195 % eventdata reserved - to be defined in a future version of MATLAB 6196 % handles structure with handles and user data (see GUIDATA) 6197 6198 % Hints: contents = cellstr(get(hObject,'String')) returns LogLinHisto contents as cell array 6199 % contents{get(hObject,'Value')} returns selected item from LogLinHisto 6200 6201
Note: See TracChangeset
for help on using the changeset viewer.