def plot(result, init_states, image_path, settings): '''plot a simulation result to a file''' draw_events = len(result) == 1 shouldShow = False sim.plot_sim_result_multi(result, settings.dim_x, settings.dim_y, image_path, draw_events, legend=False, title='nav_fig2b', show=shouldShow, init_states=init_states)
def plot(result, init_states, filename='plot.png', dim_x=0, dim_y=1): '''plot a simulation result to a file''' draw_events = len(result) == 1 shouldShow = False sim.plot_sim_result_multi(result, dim_x, dim_y, filename, draw_events, legend=False, title='nav_fig1b', show=shouldShow, init_states=init_states)
def plot(result, init_states, filename="plot.png", dim_x=0, dim_y=1): """plot a simulation result to a file""" draw_events = len(result) == 1 shouldShow = False sim.plot_sim_result_multi( result, dim_x, dim_y, filename, draw_events, legend=False, title="nav_fig2a", show=shouldShow, init_states=init_states, )