[cur_figure, cur_graph, cur_set] = __grgetstat__(); Get the current figure, graph and set from grace.