plot Power Spectrum contour


Take data to draw a Power Spectrum 2D plot.

Input data type is dict type with key 'X', 'Y', 'Z', can accept two inputs.
Input one data draws the contour of the input data,
input two data draws the line contour of two input data, and the third contour of the difference of two data, with colors.

input parameters:
savename:    (string) save figure with assigned name, if 'folder' is not assigned, saved figure with be put under working directory.
folder:      (string) assign figure save folder. set to working directory if not assigned.
show:        (bool) set True to show the plotted figure, False to skip the pop-up.(warning: if 'savename' is not set and 'show' set to False, figure will not show nor saved!)
name1:       (string) input name of the first data. if set, will show up in figure title.
name2:       (string) input name of the second data, if set, while use two data input, will also show in title.
title:       (string) title word of figure, if name1 and name2 is set, will combined with title + name1 + name2 and show up in figure title.

random_cmap：  (bool) random colormap, if set True, will random through all preset colormaps to plot colored contour.