Changeset 625 for trunk/src/view_field.m
- Timestamp:
- May 2, 2013, 7:51:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r622 r625 90 90 set(handles.Scalar,'Visible','off') 91 91 end 92 92 93 errormsg=fill_GUI(PlotParamOut,hObject); 93 94 if ~isempty(errormsg) … … 394 395 function CheckFixLimits_Callback(hObject, eventdata, handles) 395 396 test=get(handles.CheckFixLimits,'Value'); 396 if test397 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0])398 else399 set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7])400 end397 % if test 398 % set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 399 % else 400 % set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7]) 401 % end 401 402 update_plot(handles) 402 403 … … 406 407 %------------------------------------------------------------------- 407 408 if get(handles.CheckFixAspectRatio,'Value') 408 set(handles.CheckFixAspectRatio,'BackgroundColor',[1 1 0])409 409 update_plot(handles); 410 410 else 411 set(handles.CheckFixAspectRatio,'BackgroundColor',[0.7 0.7 0.7])412 411 update_plot(handles); 413 412 end … … 417 416 %------------------------------------------------------------------- 418 417 set(handles.CheckFixAspectRatio,'Value',1)% select the fixed aspect ratio button 419 set(handles.CheckFixAspectRatio,'BackgroundColor',[1 1 0])% mark in yellow420 418 update_plot(handles); 421 419 … … 600 598 %------------------------------------------------------------------------ 601 599 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 602 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0])600 % set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 603 601 update_plot(handles); 604 602 … … 607 605 %------------------------------------------------------------------------ 608 606 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 609 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0])607 % set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 610 608 update_plot(handles); 611 609 … … 614 612 %------------------------------------------ 615 613 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 616 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0])614 % set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 617 615 update_plot(handles); 618 616 … … 621 619 %------------------------------------------------------------------------ 622 620 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 623 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0])621 % set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 624 622 update_plot(handles); 625 623 … … 635 633 %-------------------------------------------- 636 634 set(handles.CheckFixScalar,'Value',1) %suppress auto mode 637 set(handles.CheckFixScalar,'BackgroundColor',[1 1 0])635 % set(handles.CheckFixScalar,'BackgroundColor',[1 1 0]) 638 636 update_plot(handles) 639 637 … … 642 640 %-------------------------------------------- 643 641 test=get(handles.CheckFixScalar,'Value'); 644 if test645 set(handles.CheckFixScalar,'BackgroundColor',[1 1 0])646 else647 set(handles.CheckFixScalar,'BackgroundColor',[0.7 0.7 0.7])648 update_plot(handles);649 % set(handles.MinA,'String',num2str(ScalOut.MinA,3))650 % set(handles.MaxA,'String',num2str(ScalOut.MaxA,3))651 end642 % if test 643 % set(handles.CheckFixScalar,'BackgroundColor',[1 1 0]) 644 % else 645 % set(handles.CheckFixScalar,'BackgroundColor',[0.7 0.7 0.7]) 646 % update_plot(handles); 647 % % set(handles.MinA,'String',num2str(ScalOut.MinA,3)) 648 % % set(handles.MaxA,'String',num2str(ScalOut.MaxA,3)) 649 % end 652 650 653 651 %------------------------------------------------------------------- … … 699 697 update_plot(handles); 700 698 %set(handles.VecScale,'String',num2str(ScalOut.VecScale,3)) 701 set(handles.FixVec,'BackgroundColor',[0.7 0.7 0.7])699 % set(handles.FixVec,'BackgroundColor',[0.7 0.7 0.7]) 702 700 end 703 701
Note: See TracChangeset
for help on using the changeset viewer.