Home > . > get_plot_handles.m

# get_plot_handles

## PURPOSE

'get_plot_handles': list the handles of elements setting the plotting parameters in the uvmat interface

## SYNOPSIS

function PlotHandles=get_plot_handles(handles)

## DESCRIPTION

    'get_plot_handles': list the  handles of elements setting the plotting parameters in the uvmat interface
    --------------------------------------------------------
    function [PlotHandles]=get_plot_handles(handles)

     OUTPUT:
     PlotHandles: structure containing the  used to set plotting parameters
     INPUT:
     handles: structure of the handles of the graphic elements in the uvmat interface
                -- TODO: needs to be replaced by a cell listing the element tags --

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

- mouse_up 'mouse_up': function activated when the mouse button is released
- uvmat 'uvmat': function associated with the GUI 'uvmat.fig' for images and data field visualization

## SOURCE CODE

    0001 %'get_plot_handles': list the  handles of elements setting the plotting parameters in the uvmat interface
    0002 %--------------------------------------------------------
    0003 %function [PlotHandles]=get_plot_handles(handles)
    0004 %
    0005 % OUTPUT:
    0006 % PlotHandles: structure containing the  used to set plotting parameters
    0007 % INPUT:
    0008 % handles: structure of the handles of the graphic elements in the uvmat interface
    0009 %            -- TODO: needs to be replaced by a cell listing the element tags --
    0010
    0011 function PlotHandles=get_plot_handles(handles)
    0012 PlotHandles.auto_xy=handles.auto_xy;
    0013 %For scalar field representation
    0014 PlotHandles.MaxA=handles.MaxA;
    0015 PlotHandles.MinA=handles.MinA;
    0016 PlotHandles.AutoScal=handles.AutoScal;
    0017 PlotHandles.BW=handles.BW;
    0018 PlotHandles.Contours=handles.Contours;
    0019 PlotHandles.IncrA=handles.IncrA;
    0020 PlotHandles.SCALAR_title=handles.SCALAR_title;
    0021 PlotHandles.min_title=handles.min_title;
    0022 PlotHandles.max_title=handles.max_title;
    0023 PlotHandles.frame_scal=handles.frame_scal;
    0024 PlotHandles.npx=handles.npx;
    0025 PlotHandles.npy=handles.npy;
    0026 PlotHandles.npx_title=handles.npx_title;
    0027 PlotHandles.npy_title=handles.npy_title;
    0028
    0029 %For vector field representation
    0030 PlotHandles.frame_vect=handles.frame_vect;
    0031 PlotHandles.VECT_title=handles.VECT_title;
    0032 PlotHandles.VecScale=handles.VecScale;
    0033 PlotHandles.AutoVec=handles.AutoVec;
    0034 PlotHandles.HideFalse=handles.HideFalse;
    0035 PlotHandles.HideWarning=handles.HideWarning;
    0036 PlotHandles.record=handles.record;
    0037 PlotHandles.col_vec=handles.col_vec;
    0038 PlotHandles.Color_title=handles.Color_title;
    0039 PlotHandles.color_code=handles.color_code;
    0040 PlotHandles.colcode1=handles.colcode1;
    0041 PlotHandles.colcode2=handles.colcode2;
    0042 PlotHandles.vec_col_bar=handles.vec_col_bar;
    0043 PlotHandles.slider1=handles.slider1;
    0044 PlotHandles.slider2=handles.slider2;
    0045 PlotHandles.max_vec=handles.max_vec;
    0046 PlotHandles.min_vec=handles.min_vec;
    0047 PlotHandles.scale_title=handles.scale_title;
    0048 PlotHandles.AutoVecColor=handles.AutoVecColor;
    0049 PlotHandles.decimate4=handles.decimate4;
    0050 PlotHandles.min_C_title=handles.min_C_title;
    0051 PlotHandles.max_C_title=handles.max_C_title;
    0052 PlotHandles.MenuVectors=handles.MenuVectors;
    0053 PlotHandles.MenuEditVectors=handles.MenuEditVectors;
    0054 PlotHandles.edit_vect=handles.edit_vect;
    0055 %menu for the choice of the current plotting axes
    0056 %PlotHandles.MenuAxes=handles.MenuAxes;
    0057
    0058 %handles for move_mouse
    0059 PlotHandles.mouse_coord=handles.mouse_coord;
    0060 % PlotHandles.POINTS=handles.POINTS;
    0061 % PlotHandles.LINE=handles.LINE;
    0062 % PlotHandles.PLANE=handles.PLANE;
    0063 % PlotHandles.PATCH=handles.PATCH;
    0064 PlotHandles.cal=handles.cal;
    0065 %PlotHandles.makemask=handles.makemask;
    0066 PlotHandles.edit=handles.edit;
    0067 PlotHandles.text_display_1=handles.text_display_1;
    0068 PlotHandles.text_display_2=handles.text_display_2;
    0069 PlotHandles.text_display_3=handles.text_display_3;
    0070 PlotHandles.text_display_4=handles.text_display_4;
    0071
    0072 %handles for mouse_up
    0073 PlotHandles.zoom=handles.zoom;