Changeset 295 for trunk/src/view_field.m
- Timestamp:
- Nov 21, 2011, 5:54:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r292 r295 268 268 % --- Executes on button press in 'FixLimits'. 269 269 %------------------------------------------------------------------- 270 function FixLimits_Callback(hObject, eventdata, handles)271 test=get(handles. FixLimits,'Value');270 function CheckFixLimits_Callback(hObject, eventdata, handles) 271 test=get(handles.CheckFixLimits,'Value'); 272 272 if test 273 set(handles.FixLimits,'BackgroundColor',[1 1 0]) 274 else 275 set(handles.FixLimits,'BackgroundColor',[0.7 0.7 0.7]) 276 end 273 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 274 else 275 set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7]) 276 end 277 update_plot(handles) 277 278 278 279 %------------------------------------------------------------------- 279 280 % --- Executes on button press in FixEqual. 280 function FixEqual_Callback(hObject, eventdata, handles)281 function CheckFixEqual_Callback(hObject, eventdata, handles) 281 282 test=get(handles.FixEqual,'Value'); 282 283 if test 283 set(handles. FixEqual,'BackgroundColor',[1 1 0])284 set(handles.CheckFixEqual,'BackgroundColor',[1 1 0]) 284 285 cla(handles.axes3) 285 update_plot(handles) 286 else 287 set(handles.FixEqual,'BackgroundColor',[0.7 0.7 0.7]) 288 update_plot(handles) 289 end 290 286 else 287 set(handles.CheckFixEqual,'BackgroundColor',[0.7 0.7 0.7]) 288 end 289 update_plot(handles) 291 290 292 291 %------------------------------------------------------------------- … … 497 496 498 497 %------------------------------------------------------------------------ 499 function MinX_Callback(hObject, eventdata, handles)500 %------------------------------------------------------------------------ 501 set(handles. FixLimits,'Value',1) %suppress auto mode502 set(handles. FixLimits,'BackgroundColor',[1 1 0])498 function num_MinX_Callback(hObject, eventdata, handles) 499 %------------------------------------------------------------------------ 500 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 501 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 503 502 update_plot(handles); 504 503 505 504 %------------------------------------------------------------------------ 506 function MaxX_Callback(hObject, eventdata, handles)507 %------------------------------------------------------------------------ 508 set(handles. FixLimits,'Value',1) %suppress auto mode509 set(handles. FixLimits,'BackgroundColor',[1 1 0])505 function num_MaxX_Callback(hObject, eventdata, handles) 506 %------------------------------------------------------------------------ 507 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 508 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 510 509 update_plot(handles); 511 510 512 511 %------------------------------------------------------------------------ 513 function MinY_Callback(hObject, eventdata, handles)512 function num_MinY_Callback(hObject, eventdata, handles) 514 513 %------------------------------------------ 515 set(handles. FixLimits,'Value',1) %suppress auto mode516 set(handles. FixLimits,'BackgroundColor',[1 1 0])514 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 515 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 517 516 update_plot(handles); 518 517 519 518 %------------------------------------------------------------------------ 520 function MaxY_Callback(hObject, eventdata, handles)521 %------------------------------------------------------------------------ 522 set(handles. FixLimits,'Value',1) %suppress auto mode523 set(handles. FixLimits,'BackgroundColor',[1 1 0])519 function num_MaxY_Callback(hObject, eventdata, handles) 520 %------------------------------------------------------------------------ 521 set(handles.CheckFixLimits,'Value',1) %suppress auto mode 522 set(handles.CheckFixLimits,'BackgroundColor',[1 1 0]) 524 523 update_plot(handles); 525 524 526 525 %----------------------------------------------------------------- 527 function MinA_Callback(hObject, eventdata, handles)526 function num_MinA_Callback(hObject, eventdata, handles) 528 527 %------------------------------------------ 529 set(handles. FixScal,'Value',1) %suppress auto mode530 set(handles. FixScal,'BackgroundColor',[1 1 0])528 set(handles.CheckFixScalar,'Value',1) %suppress auto mode 529 set(handles.CheckFixScalar,'BackgroundColor',[1 1 0]) 531 530 update_plot(handles) 532 531 533 532 %----------------------------------------------------------------- 534 function MaxA_Callback(hObject, eventdata, handles)533 function num_MaxA_Callback(hObject, eventdata, handles) 535 534 %-------------------------------------------- 536 set(handles. FixScal,'Value',1) %suppress auto mode537 set(handles. FixScal,'BackgroundColor',[1 1 0])535 set(handles.CheckFixScalar,'Value',1) %suppress auto mode 536 set(handles.CheckFixScalar,'BackgroundColor',[1 1 0]) 538 537 update_plot(handles) 539 538 540 539 %----------------------------------------------- 541 function FixScal_Callback(hObject, eventdata, handles)540 function CheckFixScalar_Callback(hObject, eventdata, handles) 542 541 %-------------------------------------------- 543 test=get(handles. FixScal,'Value');542 test=get(handles.CheckFixScalar,'Value'); 544 543 if test 545 set(handles. FixScal,'BackgroundColor',[1 1 0])546 else 547 set(handles. FixScal,'BackgroundColor',[0.7 0.7 0.7])544 set(handles.CheckFixScalar,'BackgroundColor',[1 1 0]) 545 else 546 set(handles.CheckFixScalar,'BackgroundColor',[0.7 0.7 0.7]) 548 547 update_plot(handles); 549 548 % set(handles.MinA,'String',num2str(ScalOut.MinA,3)) … … 552 551 553 552 %------------------------------------------------------------------- 554 function BW_Callback(hObject, eventdata, handles)555 %------------------------------------------------------------------- 556 update_plot(handles) 557 558 %------------------------------------------------------------------- 559 function Contours_Callback(hObject, eventdata, handles)553 function CheckBW_Callback(hObject, eventdata, handles) 554 %------------------------------------------------------------------- 555 update_plot(handles) 556 557 %------------------------------------------------------------------- 558 function ListContour_Callback(hObject, eventdata, handles) 560 559 %------------------------------------------------------------------- 561 560 val=get(handles.Contours,'Value'); … … 606 605 % --- Executes on selection change in decimate4 (nb_vec/4). 607 606 %------------------------------------------------------- 608 function decimate4_Callback(hObject, eventdata, handles) 609 'TEST' 607 function CheckDecimate4_Callback(hObject, eventdata, handles) 610 608 update_plot(handles) 611 609 … … 687 685 set(handles.vec_col_bar,'Cdata',A) 688 686 689 %------------------------------------------------------------------------ 690 function PlotType=update_plot(handles) 691 %------------------------------------------------------------------------ 692 haxes= handles.axes3; 693 694 %ProjField=get(haxes,'UserData'); 695 ViewFieldData=get(handles.view_field,'UserData'); 696 ProjField=ViewFieldData.axes3; 697 %ProjField=get(haxes,'UserData'); 687 % %------------------------------------------------------------------------ 688 % function PlotType=update_plot(handles) 689 % %------------------------------------------------------------------------ 690 % haxes= handles.axes3; 691 % 692 % %ProjField=get(haxes,'UserData'); 693 % ViewFieldData=get(handles.view_field,'UserData'); 694 % ProjField=ViewFieldData.axes3; 695 % %ProjField=get(haxes,'UserData'); 696 % PlotParam=read_GUI(handles.view_field); 697 % [PlotType,PlotParamOut]= plot_field(ProjField,haxes,PlotParam,1); 698 % write_plot_param(handles,PlotParamOut); %update the auto plot parameters 699 700 %------------------------------------------------------------------- 701 function update_plot(handles) 702 %------------------------------------------------------------------- 703 Data=get(handles.view_field,'UserData'); 704 AxeData=Data.axes3;% retrieve the current plotted data 698 705 PlotParam=read_GUI(handles.view_field); 699 [P lotType,PlotParamOut]= plot_field(ProjField,haxes,PlotParam,1);706 [PP,PlotParamOut]= plot_field(AxeData,handles.axes3,PlotParam); 700 707 write_plot_param(handles,PlotParamOut); %update the auto plot parameters 701 708 … … 737 744 delete(hObject) 738 745 739 740 741 742 743 744 745 % --- Executes on button press in CheckZoom.746 function CheckZoom_Callback(hObject, eventdata, handles)747 % hObject handle to CheckZoom (see GCBO)748 % eventdata reserved - to be defined in a future version of MATLAB749 % handles structure with handles and user data (see GUIDATA)750 751 % Hint: get(hObject,'Value') returns toggle state of CheckZoom752 753 754 % --- Executes on button press in CheckFixLimits.755 function CheckFixLimits_Callback(hObject, eventdata, handles)756 % hObject handle to CheckFixLimits (see GCBO)757 % eventdata reserved - to be defined in a future version of MATLAB758 % handles structure with handles and user data (see GUIDATA)759 760 % Hint: get(hObject,'Value') returns toggle state of CheckFixLimits761 762 763 764 function num_MinY_Callback(hObject, eventdata, handles)765 % hObject handle to num_MinY (see GCBO)766 % eventdata reserved - to be defined in a future version of MATLAB767 % handles structure with handles and user data (see GUIDATA)768 769 % Hints: get(hObject,'String') returns contents of num_MinY as text770 % str2double(get(hObject,'String')) returns contents of num_MinY as a double771 772 773 % --- Executes during object creation, after setting all properties.774 function num_MinY_CreateFcn(hObject, eventdata, handles)775 % hObject handle to num_MinY (see GCBO)776 % eventdata reserved - to be defined in a future version of MATLAB777 % handles empty - handles not created until after all CreateFcns called778 779 % Hint: edit controls usually have a white background on Windows.780 % See ISPC and COMPUTER.781 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))782 set(hObject,'BackgroundColor','white');783 end784 785 786 787 function num_MaxY_Callback(hObject, eventdata, handles)788 % hObject handle to num_MaxY (see GCBO)789 % eventdata reserved - to be defined in a future version of MATLAB790 % handles structure with handles and user data (see GUIDATA)791 792 % Hints: get(hObject,'String') returns contents of num_MaxY as text793 % str2double(get(hObject,'String')) returns contents of num_MaxY as a double794 795 796 % --- Executes on button press in CheckFixEqual.797 function CheckFixEqual_Callback(hObject, eventdata, handles)798 % hObject handle to CheckFixEqual (see GCBO)799 % eventdata reserved - to be defined in a future version of MATLAB800 % handles structure with handles and user data (see GUIDATA)801 802 % Hint: get(hObject,'Value') returns toggle state of CheckFixEqual803 804 805 806 function num_MinX_Callback(hObject, eventdata, handles)807 % hObject handle to num_MinX (see GCBO)808 % eventdata reserved - to be defined in a future version of MATLAB809 % handles structure with handles and user data (see GUIDATA)810 811 % Hints: get(hObject,'String') returns contents of num_MinX as text812 % str2double(get(hObject,'String')) returns contents of num_MinX as a double813 814 815 816 function num_MaxX_Callback(hObject, eventdata, handles)817 % hObject handle to num_MaxX (see GCBO)818 % eventdata reserved - to be defined in a future version of MATLAB819 % handles structure with handles and user data (see GUIDATA)820 821 % Hints: get(hObject,'String') returns contents of num_MaxX as text822 % str2double(get(hObject,'String')) returns contents of num_MaxX as a double823 824 825 % --- Executes on selection change in ListContour.826 function ListContour_Callback(hObject, eventdata, handles)827 % hObject handle to ListContour (see GCBO)828 % eventdata reserved - to be defined in a future version of MATLAB829 % handles structure with handles and user data (see GUIDATA)830 831 % Hints: contents = cellstr(get(hObject,'String')) returns ListContour contents as cell array832 % contents{get(hObject,'Value')} returns selected item from ListContour833 834 835 % --- Executes on button press in checkbox49.836 function checkbox49_Callback(hObject, eventdata, handles)837 % hObject handle to checkbox49 (see GCBO)838 % eventdata reserved - to be defined in a future version of MATLAB839 % handles structure with handles and user data (see GUIDATA)840 841 % Hint: get(hObject,'Value') returns toggle state of checkbox49842 843 844 845 function num_MaxA_Callback(hObject, eventdata, handles)846 % hObject handle to num_MaxA (see GCBO)847 % eventdata reserved - to be defined in a future version of MATLAB848 % handles structure with handles and user data (see GUIDATA)849 850 % Hints: get(hObject,'String') returns contents of num_MaxA as text851 % str2double(get(hObject,'String')) returns contents of num_MaxA as a double852 853 854 % --- Executes during object creation, after setting all properties.855 function num_MaxA_CreateFcn(hObject, eventdata, handles)856 % hObject handle to num_MaxA (see GCBO)857 % eventdata reserved - to be defined in a future version of MATLAB858 % handles empty - handles not created until after all CreateFcns called859 860 % Hint: edit controls usually have a white background on Windows.861 % See ISPC and COMPUTER.862 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))863 set(hObject,'BackgroundColor','white');864 end865 866 867 868 function num_Npy_Callback(hObject, eventdata, handles)869 % hObject handle to num_Npy (see GCBO)870 % eventdata reserved - to be defined in a future version of MATLAB871 % handles structure with handles and user data (see GUIDATA)872 873 % Hints: get(hObject,'String') returns contents of num_Npy as text874 % str2double(get(hObject,'String')) returns contents of num_Npy as a double875 876 877 % --- Executes during object creation, after setting all properties.878 function num_Npy_CreateFcn(hObject, eventdata, handles)879 % hObject handle to num_Npy (see GCBO)880 % eventdata reserved - to be defined in a future version of MATLAB881 % handles empty - handles not created until after all CreateFcns called882 883 % Hint: edit controls usually have a white background on Windows.884 % See ISPC and COMPUTER.885 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))886 set(hObject,'BackgroundColor','white');887 end888 889 890 891 function num_IncrA_Callback(hObject, eventdata, handles)892 % hObject handle to num_IncrA (see GCBO)893 % eventdata reserved - to be defined in a future version of MATLAB894 % handles structure with handles and user data (see GUIDATA)895 896 % Hints: get(hObject,'String') returns contents of num_IncrA as text897 % str2double(get(hObject,'String')) returns contents of num_IncrA as a double898 899 900 % --- Executes on button press in CheckBW.901 function CheckBW_Callback(hObject, eventdata, handles)902 % hObject handle to CheckBW (see GCBO)903 % eventdata reserved - to be defined in a future version of MATLAB904 % handles structure with handles and user data (see GUIDATA)905 906 % Hint: get(hObject,'Value') returns toggle state of CheckBW907 908 909 910 function num_MinA_Callback(hObject, eventdata, handles)911 % hObject handle to num_MinA (see GCBO)912 % eventdata reserved - to be defined in a future version of MATLAB913 % handles structure with handles and user data (see GUIDATA)914 915 % Hints: get(hObject,'String') returns contents of num_MinA as text916 % str2double(get(hObject,'String')) returns contents of num_MinA as a double917 918 919 920 function num_Npx_Callback(hObject, eventdata, handles)921 % hObject handle to num_Npx (see GCBO)922 % eventdata reserved - to be defined in a future version of MATLAB923 % handles structure with handles and user data (see GUIDATA)924 925 % Hints: get(hObject,'String') returns contents of num_Npx as text926 % str2double(get(hObject,'String')) returns contents of num_Npx as a double927 928 929 % --- Executes on button press in CheckFixVectors.930 function CheckFixVectors_Callback(hObject, eventdata, handles)931 % hObject handle to CheckFixVectors (see GCBO)932 % eventdata reserved - to be defined in a future version of MATLAB933 % handles structure with handles and user data (see GUIDATA)934 935 % Hint: get(hObject,'Value') returns toggle state of CheckFixVectors936 937 938 939 function num_VecScale_Callback(hObject, eventdata, handles)940 % hObject handle to num_VecScale (see GCBO)941 % eventdata reserved - to be defined in a future version of MATLAB942 % handles structure with handles and user data (see GUIDATA)943 944 % Hints: get(hObject,'String') returns contents of num_VecScale as text945 % str2double(get(hObject,'String')) returns contents of num_VecScale as a double946 947 948 % --- Executes on selection change in ListColorCode.949 function ListColorCode_Callback(hObject, eventdata, handles)950 % hObject handle to ListColorCode (see GCBO)951 % eventdata reserved - to be defined in a future version of MATLAB952 % handles structure with handles and user data (see GUIDATA)953 954 % Hints: contents = cellstr(get(hObject,'String')) returns ListColorCode contents as cell array955 % contents{get(hObject,'Value')} returns selected item from ListColorCode956 957 958 % --- Executes on selection change in ListColorScalar.959 function ListColorScalar_Callback(hObject, eventdata, handles)960 % hObject handle to ListColorScalar (see GCBO)961 % eventdata reserved - to be defined in a future version of MATLAB962 % handles structure with handles and user data (see GUIDATA)963 964 % Hints: contents = cellstr(get(hObject,'String')) returns ListColorScalar contents as cell array965 % contents{get(hObject,'Value')} returns selected item from ListColorScalar966 967 968 % --- Executes on button press in vecColBar.969 function vecColBar_Callback(hObject, eventdata, handles)970 % hObject handle to vecColBar (see GCBO)971 % eventdata reserved - to be defined in a future version of MATLAB972 % handles structure with handles and user data (see GUIDATA)973 974 975 % --- Executes on slider movement.976 function Slider1_Callback(hObject, eventdata, handles)977 % hObject handle to Slider1 (see GCBO)978 % eventdata reserved - to be defined in a future version of MATLAB979 % handles structure with handles and user data (see GUIDATA)980 981 % Hints: get(hObject,'Value') returns position of slider982 % get(hObject,'Min') and get(hObject,'Max') to determine range of slider983 984 985 % --- Executes during object creation, after setting all properties.986 function Slider1_CreateFcn(hObject, eventdata, handles)987 % hObject handle to Slider1 (see GCBO)988 % eventdata reserved - to be defined in a future version of MATLAB989 % handles empty - handles not created until after all CreateFcns called990 991 % Hint: slider controls usually have a light gray background.992 if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))993 set(hObject,'BackgroundColor',[.9 .9 .9]);994 end995 996 997 % --- Executes on slider movement.998 function Slider2_Callback(hObject, eventdata, handles)999 % hObject handle to Slider2 (see GCBO)1000 % eventdata reserved - to be defined in a future version of MATLAB1001 % handles structure with handles and user data (see GUIDATA)1002 1003 % Hints: get(hObject,'Value') returns position of slider1004 % get(hObject,'Min') and get(hObject,'Max') to determine range of slider1005 1006 1007 % --- Executes during object creation, after setting all properties.1008 function Slider2_CreateFcn(hObject, eventdata, handles)1009 % hObject handle to Slider2 (see GCBO)1010 % eventdata reserved - to be defined in a future version of MATLAB1011 % handles empty - handles not created until after all CreateFcns called1012 1013 % Hint: slider controls usually have a light gray background.1014 if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))1015 set(hObject,'BackgroundColor',[.9 .9 .9]);1016 end1017 1018 1019 1020 function num_ColCode1_Callback(hObject, eventdata, handles)1021 % hObject handle to num_ColCode1 (see GCBO)1022 % eventdata reserved - to be defined in a future version of MATLAB1023 % handles structure with handles and user data (see GUIDATA)1024 1025 % Hints: get(hObject,'String') returns contents of num_ColCode1 as text1026 % str2double(get(hObject,'String')) returns contents of num_ColCode1 as a double1027 1028 1029 % --- Executes during object creation, after setting all properties.1030 function num_ColCode1_CreateFcn(hObject, eventdata, handles)1031 % hObject handle to num_ColCode1 (see GCBO)1032 % eventdata reserved - to be defined in a future version of MATLAB1033 % handles empty - handles not created until after all CreateFcns called1034 1035 % Hint: edit controls usually have a white background on Windows.1036 % See ISPC and COMPUTER.1037 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))1038 set(hObject,'BackgroundColor','white');1039 end1040 1041 1042 1043 function num_MaxVec_Callback(hObject, eventdata, handles)1044 % hObject handle to num_MaxVec (see GCBO)1045 % eventdata reserved - to be defined in a future version of MATLAB1046 % handles structure with handles and user data (see GUIDATA)1047 1048 % Hints: get(hObject,'String') returns contents of num_MaxVec as text1049 % str2double(get(hObject,'String')) returns contents of num_MaxVec as a double1050 1051 1052 % --- Executes during object creation, after setting all properties.1053 function num_MaxVec_CreateFcn(hObject, eventdata, handles)1054 % hObject handle to num_MaxVec (see GCBO)1055 % eventdata reserved - to be defined in a future version of MATLAB1056 % handles empty - handles not created until after all CreateFcns called1057 1058 % Hint: edit controls usually have a white background on Windows.1059 % See ISPC and COMPUTER.1060 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))1061 set(hObject,'BackgroundColor','white');1062 end1063 1064 1065 % --- Executes on button press in checkbox52.1066 function checkbox52_Callback(hObject, eventdata, handles)1067 % hObject handle to checkbox52 (see GCBO)1068 % eventdata reserved - to be defined in a future version of MATLAB1069 % handles structure with handles and user data (see GUIDATA)1070 1071 % Hint: get(hObject,'Value') returns toggle state of checkbox521072 1073 1074 1075 function num_MinVec_Callback(hObject, eventdata, handles)1076 % hObject handle to num_MinVec (see GCBO)1077 % eventdata reserved - to be defined in a future version of MATLAB1078 % handles structure with handles and user data (see GUIDATA)1079 1080 % Hints: get(hObject,'String') returns contents of num_MinVec as text1081 % str2double(get(hObject,'String')) returns contents of num_MinVec as a double1082 1083 1084 % --- Executes during object creation, after setting all properties.1085 function num_MinVec_CreateFcn(hObject, eventdata, handles)1086 % hObject handle to num_MinVec (see GCBO)1087 % eventdata reserved - to be defined in a future version of MATLAB1088 % handles empty - handles not created until after all CreateFcns called1089 1090 % Hint: edit controls usually have a white background on Windows.1091 % See ISPC and COMPUTER.1092 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))1093 set(hObject,'BackgroundColor','white');1094 end1095 1096 1097 % --- Executes on button press in CheckDecimate4.1098 function CheckDecimate4_Callback(hObject, eventdata, handles)1099 % hObject handle to CheckDecimate4 (see GCBO)1100 % eventdata reserved - to be defined in a future version of MATLAB1101 % handles structure with handles and user data (see GUIDATA)1102 1103 % Hint: get(hObject,'Value') returns toggle state of CheckDecimate41104 1105 1106 % --- Executes on button press in heckHideFalse.1107 function heckHideFalse_Callback(hObject, eventdata, handles)1108 % hObject handle to heckHideFalse (see GCBO)1109 % eventdata reserved - to be defined in a future version of MATLAB1110 % handles structure with handles and user data (see GUIDATA)1111 1112 % Hint: get(hObject,'Value') returns toggle state of heckHideFalse1113 1114 1115 1116 function num_Colcode2_Callback(hObject, eventdata, handles)1117 % hObject handle to num_Colcode2 (see GCBO)1118 % eventdata reserved - to be defined in a future version of MATLAB1119 % handles structure with handles and user data (see GUIDATA)1120 1121 % Hints: get(hObject,'String') returns contents of num_Colcode2 as text1122 % str2double(get(hObject,'String')) returns contents of num_Colcode2 as a double1123 1124 1125 % --- Executes during object creation, after setting all properties.1126 function num_Colcode2_CreateFcn(hObject, eventdata, handles)1127 % hObject handle to num_Colcode2 (see GCBO)1128 % eventdata reserved - to be defined in a future version of MATLAB1129 % handles empty - handles not created until after all CreateFcns called1130 1131 % Hint: edit controls usually have a white background on Windows.1132 % See ISPC and COMPUTER.1133 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))1134 set(hObject,'BackgroundColor','white');1135 end1136 1137 1138 % --- Executes on button press in CheckHideWarnin.1139 function CheckHideWarnin_Callback(hObject, eventdata, handles)1140 % hObject handle to CheckHideWarnin (see GCBO)1141 % eventdata reserved - to be defined in a future version of MATLAB1142 % handles structure with handles and user data (see GUIDATA)1143 1144 % Hint: get(hObject,'Value') returns toggle state of CheckHideWarnin
Note: See TracChangeset
for help on using the changeset viewer.