To author questions with algorithmically-generated labels in figures, you must use LaTeX.
See Also:
Using Algorithmic Graphic Labels