# Documentation of current_figure

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    h=current_figure(inputFile,bin,vec_scale)

## Help text

     Purpose: plot currents on ship track map from skeletton and final files

     Variables:
    	- inputFile: full path to data matfile to process (optional: asked if not provided)
    	- bin: number of the cell to plot (optional: DEFAULT_BIN or
    	DEFAULT_BIN_1 (if 1m cells) if not provided)
    	- vec_scale: scale factor (optional: MAP_VEC_SCALE_FACTOR if not provided)
    	- h: figure handler

     Global variables: WORK_DIR, DEFAULT_BIN, DEFAULT_BIN_1, SCALE_PLOT,
     MAP_VEC_SCALE_FACTOR, MAP_LAT_PADDING, MAP_LON_PADDING

## Cross-Reference Information

This function calls | This function is called by
--- | ---
m_plot m_plot_track m_vec test_file | gui_current

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>