Skip to content

movetoback

  MOVETOBACK - Move a plot to the "back" of the "paper"

   MOVETOBACK(PLOT_H)

   Moves the pot specified by the plot handle PLOT_H to
   the "back" of the "paper" in the current axis.

   Example:
       figure; hold on;
       h1 = plot([0 1],[0 1],'k','linewidth',2);
       h2 = plot([0.5 0.5],[0 1],'r','linewidth',2);
       % at this point, the red line in h2 is "above"
       % the black line in h1
       movetoback(h2);
       % now the red line is in "back"

   PLOT_H can be a single handle or an array of handles.