Ignore:
Timestamp:
Feb 20, 2011, 10:42:19 AM (13 years ago)
Author:
sommeria
Message:

improves the use of get_field, no projection object by default in uvmat( allows usual 1D plots),

various bug repairs, elimination of get_plot_handles.m (not useful)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/write_plot_param.m

    r192 r193  
    11%'write_plot_param': update the plotting parameters on the uvmat interface after a plotting operation
    22function write_plot_param(handles,PlotParam)
    3 'TESTwrite'
    4 PlotParam
    53%coordinates
    64if isfield(PlotParam,'FixEqual')
     
    1311    end
    1412end
     13if isfield(PlotParam,'MinX')
    1514set(handles.MinX,'String',num2str(PlotParam.MinX,4));
    1615set(handles.MaxX,'String',num2str(PlotParam.MaxX,4));
    1716set(handles.MinY,'String',num2str(PlotParam.MinY,4));
    1817set(handles.MaxY,'String',num2str(PlotParam.MaxY,4));
     18else
     19    set(handles.MinX,'String','');
     20set(handles.MaxX,'String','');
     21set(handles.MinY,'String','');
     22set(handles.MaxY,'String','');
     23end
    1924
    2025%scalar or image parameters
     
    9196set(handles.min_title,'Visible',state)
    9297set(handles.max_title,'Visible',state)
    93 set(handles.frame_scal,'Visible',state)
     98%set(handles.frame_scal,'Visible',state)
    9499set(handles.npx,'Visible',state)
    95100set(handles.npy,'Visible',state)
Note: See TracChangeset for help on using the changeset viewer.