default_plot_problem: Get the default data problem to be plotted
Description
Used by plot functions when the problem argument has not
been supplied by the user.
Usage
default_plot_problem(xpdb)
Value
The last estimation problem when at least one estimation problem is present,
else the last simulation problem as an integer.
Arguments
- xpdb
An xpose database object.