Skip to content

add_lines.m

Basic Information

  SYNTAX:  add_lines(xlocs,figure_num,subpl_num)

  PURPOSE:  Draw vertical lines in plot window at specified x locations.

  INPUT:
   xlocs = vector of x axis locations at which to draw lines
   figure_num = figure number (optional, default=current figure)

 NOT WORKING YET:
   subpl_num = subplot number (optional, default=current subplot)

  OUTPUT:
   none

  RESTRICTIONS:  This function should be called after any adjustment of axes
    in order to ensure lines go all the way from bottom to top of plot.

Dependencies