Changeset 191 for trunk/src/read_plot_param.m
- Timestamp:
- Feb 5, 2011, 11:25:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_plot_param.m
r61 r191 13 13 function PlotParam=read_plot_param(handles) 14 14 15 PlotParam.Auto_xy=get(handles.auto_xy,'Value'); 16 PlotParam.FixedLimits=get(handles.FixedLimits,'Value'); 17 15 PlotParam.FixEqual=get(handles.FixEqual,'Value'); 16 PlotParam.FixLimits=get(handles.FixLimits,'Value'); 17 if PlotParam.FixLimits 18 PlotParam.MinX=str2double(get(handles.MinX,'String')); 19 PlotParam.MaxX=str2double(get(handles.MaxX,'String')); 20 PlotParam.MinY=str2double(get(handles.MinY,'String')); 21 PlotParam.MaxY=str2double(get(handles.MaxY,'String')); 22 end 18 23 % scalars 19 24 Scalar.MaxA=str2double(get(handles.MaxA,'String')); 20 25 Scalar.MinA=str2double(get(handles.MinA,'String')); 21 Scalar. AutoScal=get(handles.AutoScal,'Value');26 Scalar.FixScal=get(handles.FixScal,'Value'); 22 27 Scalar.BW=get(handles.BW,'Value'); 23 28 Scalar.Contours=get(handles.Contours,'Value')==2; … … 27 32 %vectors 28 33 Vectors.VecScale=str2double(get(handles.VecScale,'String')); 29 Vectors. AutoVec=get(handles.AutoVec,'Value');%automatic vector length34 Vectors.FixVec=get(handles.FixVec,'Value');%automatic vector length 30 35 Vectors.HideFalse=get(handles.HideFalse,'Value'); 31 36 Vectors.HideWarning=get(handles.HideWarning,'Value'); … … 42 47 Vectors.ColorCode=code_list{val}; % option of color code for vectors 43 48 Vectors.FixedCbounds=get(handles.AutoVecColor,'Value');% =1; fixed scale for color vector, =0 otherwise (default) 44 Vectors.MinC=str2 num(get(handles.min_vec,'String')); % imposed min of C, (needed if .FixedCbounds=1)45 Vectors.MaxC=str2 num(get(handles.max_vec,'String')); % imposed max of C, needed if .FixedCbounds=149 Vectors.MinC=str2double(get(handles.min_vec,'String')); % imposed min of C, (needed if .FixedCbounds=1) 50 Vectors.MaxC=str2double(get(handles.max_vec,'String')); % imposed max of C, needed if .FixedCbounds=1 46 51 if Vectors.MaxC <= Vectors.MinC 47 52 Vectors.ColorCode='black';
Note: See TracChangeset
for help on using the changeset viewer.