INNER CODE UNIT · Python
ymax
MathCancer/PhysiCell · beta/anim_substrate2D.py:94
ymax = float(ycoord_vals[-1]) # should be 999.0
# numx = int((xmax - xmin) / xdel) # need to also round maybe?
# numy = int((ymax - ymin) / ydel)
numx = len(xcoord_vals)
numy = len(ycoord_vals)
print("numx, numy = ",numx,numy) # e.g., 75 75
fig = plt.figure(figsize=(7,5.8))
#ax = fig.gca()
count = -1
cbar = None
#-----------------------------------------------------
def plot_substrate():
global current_idx, axes_max, cbar
xml_file = "output%08d.xml" % current_idx