figure_detectAxis function

Detect an axis from a figure image.