Create a struct for the figure information
attributes = create_figure_struct(attributes)
struct for holding the gathered plot data
Creates a struct figure in attributes holding size, colormap and handle. The input parameter should be an empty struct.