Skip to content

Commit 628b1df

Browse files
committed
Plot path histogram in main without individual trajectories
1 parent e9db8e0 commit 628b1df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ def main():
236236
plot_energy(system, [x_t_stoch_no_vel[0], x_t_stoch_no_vel[-1]], args.log_plots)
237237
show_or_save_fig(args.save_dir, 'path_energy_stochastic', args.extension)
238238

239+
system.plot(title='Stochastic Paths', trajectories=x_t_stoch_no_vel)
240+
show_or_save_fig(args.save_dir, 'paths_stochastic', args.extension)
241+
239242
system.plot(title='Stochastic Paths', trajectories=x_t_stoch_no_vel)
240243
trajectories_to_plot = 2
241244
colors = plt.rcParams['axes.prop_cycle'].by_key()['color']

0 commit comments

Comments
 (0)