BHAC Python tools
Classes | Namespaces | Functions | Variables
amrplot.py File Reference

Go to the source code of this file.

Classes

class  amrplot.polyplot
 Simple 2D plotter class using matplotlib, plots every cell in one patch. More...
 
class  amrplot.rgplot
 As polyplot, but use regridded data to display. More...
 

Namespaces

 amrplot
 

Functions

def amrplot.velovect (u1, u2, d, nvect=None, scalevar=None, scale=100, color='k', ax=None, alpha=1.)
 Plots normalized velocity vectors. More...
 
def amrplot.contour (var, d, levels=None, nmax=600, colors='k', linestyles='solid', ax=None, linewidths=1, smooth=1., alpha=1.)
 
def amrplot.streamlines (u1, u2, d, x0=None, y0=None, nmax=600, density=1, fig=None, color='b', linewidth=1, arrowsize=1, alpha=1., smooth=0)
 plots streamlines from a vector field. More...
 
def amrplot.streamline (u1, u2, d, x1_0, x2_0, dl=1., fig=None, nmax=600)
 
def amrplot.gridvar (var, d, xrange, yrange, nmax=600, smooth=0)
 

Variables

 amrplot.default_timer = time.clock