Ignore:
Timestamp:
Feb 5, 2011, 11:25:38 PM (13 years ago)
Author:
sommeria
Message:

introduce edit boxes to set axis limits. rationalisation of names FixScal?, FixLimits?....
introduce volume scan in calibration procedures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_plot_param.m

    r61 r191  
    1313function PlotParam=read_plot_param(handles)
    1414
    15 PlotParam.Auto_xy=get(handles.auto_xy,'Value');
    16 PlotParam.FixedLimits=get(handles.FixedLimits,'Value');
    17 
     15PlotParam.FixEqual=get(handles.FixEqual,'Value');
     16PlotParam.FixLimits=get(handles.FixLimits,'Value');
     17if PlotParam.FixLimits
     18PlotParam.MinX=str2double(get(handles.MinX,'String'));
     19PlotParam.MaxX=str2double(get(handles.MaxX,'String'));
     20PlotParam.MinY=str2double(get(handles.MinY,'String'));
     21PlotParam.MaxY=str2double(get(handles.MaxY,'String'));
     22end
    1823% scalars
    1924Scalar.MaxA=str2double(get(handles.MaxA,'String'));
    2025Scalar.MinA=str2double(get(handles.MinA,'String'));
    21 Scalar.AutoScal=get(handles.AutoScal,'Value');
     26Scalar.FixScal=get(handles.FixScal,'Value');
    2227Scalar.BW=get(handles.BW,'Value');
    2328Scalar.Contours=get(handles.Contours,'Value')==2;
     
    2732%vectors
    2833Vectors.VecScale=str2double(get(handles.VecScale,'String'));
    29 Vectors.AutoVec=get(handles.AutoVec,'Value');%automatic vector length
     34Vectors.FixVec=get(handles.FixVec,'Value');%automatic vector length
    3035Vectors.HideFalse=get(handles.HideFalse,'Value');
    3136Vectors.HideWarning=get(handles.HideWarning,'Value');
     
    4247Vectors.ColorCode=code_list{val}; % option of color code for vectors
    4348Vectors.FixedCbounds=get(handles.AutoVecColor,'Value');% =1; fixed scale for color vector, =0 otherwise (default)
    44 Vectors.MinC=str2num(get(handles.min_vec,'String')); % imposed min of C, (needed if .FixedCbounds=1)
    45 Vectors.MaxC=str2num(get(handles.max_vec,'String')); % imposed max of C, needed if .FixedCbounds=1
     49Vectors.MinC=str2double(get(handles.min_vec,'String')); % imposed min of C, (needed if .FixedCbounds=1)
     50Vectors.MaxC=str2double(get(handles.max_vec,'String')); % imposed max of C, needed if .FixedCbounds=1
    4651if Vectors.MaxC <= Vectors.MinC
    4752    Vectors.ColorCode='black';
Note: See TracChangeset for help on using the changeset viewer.