INNER CODE UNIT · Python
xmax
MathCancer/PhysiCell · beta/anim_substrate2D.py:92
xmax = float(xcoord_vals[-1]) # should be 999.0
ymin = float(ycoord_vals[0])
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