Changeset 292 for trunk/src/mouse_up.m
- Timestamp:
- Nov 21, 2011, 11:12:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_up.m
r252 r292 43 43 testsubplot=0; 44 44 end 45 test_zoom=get(hhcurrentfig. zoom,'Value');45 test_zoom=get(hhcurrentfig.CheckZoom,'Value'); 46 46 47 47 huvmat=findobj(allchild(0),'tag','uvmat');%find the uvmat interface handle … … 164 164 hh_plotfield=hhuvmat; 165 165 end 166 [PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_plot_param(hh_plotfield));%update an existing field plot 166 %[PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_plot_param(hh_plotfield));%update an existing field plot 167 [PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_GUI(hview_field));%update an existing field plot 167 168 write_plot_param(hh_plotfield,PlotParam); %update the display of plotting parameters for the current object 168 169 end … … 272 273 % desactivate the zoom if the full field is visible within the axes 273 274 if isequal(xlim,AxeData.RangeX) && isequal(ylim,AxeData.RangeY) 274 set(hhuvmat. zoom,'Value',0)275 set(hhuvmat. zoom,'BackgroundColor',[0.7 0.7 0.7])276 set(hhuvmat. FixLimits,'Value',0)277 set(hhuvmat. FixLimits,'BackgroundColor',[0.7 0.7 0.7])275 set(hhuvmat.CheckZoom,'Value',0) 276 set(hhuvmat.CheckZoom,'BackgroundColor',[0.7 0.7 0.7]) 277 set(hhuvmat.CheckFixLimits,'Value',0) 278 set(hhuvmat.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7]) 278 279 end 279 280 end … … 286 287 end 287 288 if isfield(AxeData,'LimEditBox')&& AxeData.LimEditBox% update display of the GUI containing the axis (uvmat or view_field) 288 set(hhcurrentfig. MinX,'String',num2str(xlim(1)))289 set(hhcurrentfig. MaxX,'String',num2str(xlim(2)))290 set(hhcurrentfig. MinY,'String',num2str(ylim(1)))291 set(hhcurrentfig. MaxY,'String',num2str(ylim(2)))289 set(hhcurrentfig.num_MinX,'String',num2str(xlim(1))) 290 set(hhcurrentfig.num_MaxX,'String',num2str(xlim(2))) 291 set(hhcurrentfig.num_MinY,'String',num2str(ylim(1))) 292 set(hhcurrentfig.num_MaxY,'String',num2str(ylim(2))) 292 293 end 293 294 end
Note: See TracChangeset
for help on using the changeset viewer.