def __init__(self, vars, title=None, palette='heat.gp', grid=True, dpi=75, limits={}, **kwlimits): """Creates a `Gist2DViewer`. :Parameters: vars a `CellVariable` object. title displayed at the top of the `Viewer` window palette the color scheme to use for the image plot. Default is `heat.gp`. Another choice would be `rainbow.gp`. grid whether to show the grid lines in the plot. limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, ymin, ymax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=" ", dpi=dpi, **kwlimits) self.palette = palette self.grid = grid
def __init__(self, vars, title=None, xlog=0, ylog=0, style="work.gs", limits={}, **kwlimits): """ Creates a `Gist1DViewer`. :Parameters: vars a `CellVariable` or tuple of `CellVariable` objects to plot title displayed at the top of the `Viewer` window xlog log scaling of x axis if `True` ylog log scaling of y axis if `True` stye the Gist stylefile to use. limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. (*ymin* and *ymax* are synonyms for *datamin* and *datamax*). """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=title, **kwlimits) self.xlog = xlog self.ylog = ylog self.style = style
def __init__(self, vars, title=None, xlog=0, ylog=0, style="work.gs", limits={}, **kwlimits): """ Creates a `Gist1DViewer`. :Parameters: vars a `CellVariable` or tuple of `CellVariable` objects to plot title displayed at the top of the `Viewer` window xlog log scaling of x axis if `True` ylog log scaling of y axis if `True` stye the Gist stylefile to use. limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. (*ymin* and *ymax* are synonyms for *datamin* and *datamax*). """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=title, **kwlimits) self.xlog = xlog self.ylog = ylog self.style = style
def __init__(self, vars, title=None, limits={}, **kwlimits): """Creates a `GistVectorViewer`. :Parameters: vars a rank-1 `CellVariable` or `FaceVariable` object. title displayed at the top of the `Viewer` window limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, ymin, ymax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=title, **kwlimits)
def __init__(self, vars, title=None, limits={}, **kwlimits): """Creates a `GistVectorViewer`. :Parameters: vars a rank-1 `CellVariable` or `FaceVariable` object. title displayed at the top of the `Viewer` window limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, ymin, ymax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=title, **kwlimits)
def __init__(self, vars, title=None, palette='heat.gp', grid=True, dpi=75, limits={}, **kwlimits): """Creates a `Gist2DViewer`. :Parameters: vars a `CellVariable` object. title displayed at the top of the `Viewer` window palette the color scheme to use for the image plot. Default is `heat.gp`. Another choice would be `rainbow.gp`. grid whether to show the grid lines in the plot. limits : dict a (deprecated) alternative to limit keyword arguments xmin, xmax, ymin, ymax, datamin, datamax displayed range of data. Any limit set to a (default) value of `None` will autoscale. """ kwlimits.update(limits) _GistViewer.__init__(self, vars=vars, title=" ", dpi=dpi, **kwlimits) self.palette = palette self.grid = grid