chump.objects.plotobjects.vplot

vplot is a subclass of figure. It is used to make vertical transect. Belows are the options:

  • profile: a dictionary define the profile line which will used to intersect with the vgrid to create the transect. It can be points such as {points=[[x0,y0],[x1,y1], .. [xn,yn]]} or a table-like object such as {shp='streams'}. If it is the profile is a shp object and has the columns of length, row and column for structured vgrid or node for unstructured vgrid, these columns will be used to
  • model: a dictionary define a model object (such as MODFLOW) that defines the 3D vgrid, e.g. model = {mf='model2000'}.
  • plotdata: dictionary obsts, simts, pstres, mflst
  • [showprofile]: a booleam value whether to plot the profile; the zcol must be defined.
  • [profilelabel]: a name for the profile in the legend.
  • [zcol]: the column nmae in the profile table to define the Z position.
  • [dist_scale]: the scaling factor for distance/length, for example, 1/5280 to convert feet to mile or 0.001 for conversion from meter to kilometer.
  • [mapplot]: the name of a mapplot object to show the profile locations.
  • [showgrid]: whether to show the vgrid.
  • [plotarg_grid]: a dictionary of plotting arguments for the vgrid
axmap
droplevel
def readdata(self):
profile
def setup_ax(self, fig=None):

create map for an axes

vgrid
def add_elements(self):
def update_plot(self, *args, **kwargs):