gridplot

edge_pydb.plotting.gridplot(edgetab=None, gallist=None, columnlist=None, xrange=None, yrange=None, blank=None, plotstyle='image', cmap='jet', nx=7, ny=6, dotsize=1, pdfname=None, pct=99, allnorm=False, vshow=True, clipedge=False, pad=5, verbose=False, stretch='linear', maxlabel=18, do_cbar=True, **kwargs)[source]

Plot one column for multiple galaxies or multiple columns for one galaxy on a grid.

Parameters:
edgetabEdgeTable

Table containing the galaxies and data to plot

galliststring or list of strings

List of galaxy names to plot. If plotting multiple columns, only one galaxy should be given.

columnliststring or list of strings

List of columns in the table to plot. If plotting multiple galaxies, only one column should be given.

xrangetuple of float

x limits applied to each panel (pixels)

yrangetuple of float

y limits applied to each panel (pixels)

blankboolean array with same length as ‘column’

True values in this array are set to NaN

plotstylestring

‘dot’ for dot plot, ‘image’ for pixel image

cmapstring

name of color map

nxint

number of sub-panels in x direction

nyint

number of sub-panels in y direction

dotsizefloat

size of plot symbol for dot plot

pctfloat

percentile interval for colormap normalization

allnormboolean

True to get percentile interval for whole sample rather than each galaxy

stretchstring

colormap stretch, can use ‘log’, ‘sqrt’, or ‘linear’

pdfnamestring

name of output PDF file, otherwise plot to screen

vshowboolean

True to show vmin and vmax in plotting window

clipedgeboolean

True to derive a square bounding box around non-Nan values. False to use show full image. Overridden by xrange, yrange.

padint

Padding in pixels around edges if clipedge=True

maxlabelint

Units longer than this many characters are not shown when vshow=True

do_cbarboolean

True to plot a colorbar beneath the first subplot

**kwargs

Additional arguments passed to imarrayplot or dotpatch, including vmin, vmax