IS2DVIEW Test Axes For 2D View

Section: Handle-Based Graphics

Usage

This function returns true if the current axes are in a 2-D view, and false otherwise. The generic syntax for its use is
  y = is2dview(x)

where x is the handle of an axes object.