From 60277ba5d46a912c408650a49d93ba50afce68fa Mon Sep 17 00:00:00 2001 From: David A Minton Date: Tue, 13 Dec 2022 23:24:16 -0500 Subject: [PATCH] Tweaks to movie script --- examples/Fragmentation/Fragmentation_Movie.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Fragmentation/Fragmentation_Movie.py b/examples/Fragmentation/Fragmentation_Movie.py index 57f58e930..88e275d1d 100644 --- a/examples/Fragmentation/Fragmentation_Movie.py +++ b/examples/Fragmentation/Fragmentation_Movie.py @@ -43,8 +43,8 @@ # These initial conditions were generated by trial and error pos_vectors = {"disruption_headon" : [np.array([1.0, -5.0e-05, 0.0]), np.array([1.0, 5.0e-05 ,0.0])], - "supercatastrophic_off_axis": [np.array([1.0, -4.2e-05, 0.0]), - np.array([1.0, 4.2e-05, 0.0])], + "supercatastrophic_off_axis": [np.array([1.0, -5.0e-05, 0.0]), + np.array([1.0, 5.0e-05, 0.0])], "hitandrun" : [np.array([1.0, -2.0e-05, 0.0]), np.array([0.999999, 2.0e-05, 0.0])] } @@ -52,7 +52,7 @@ vel_vectors = {"disruption_headon" : [np.array([-2.562596e-04, 6.280005, 0.0]), np.array([-2.562596e-04, -6.280005, 0.0])], "supercatastrophic_off_axis": [np.array([0.0, 6.28, 0.0]), - np.array([1.0, -6.28, 0.0])], + np.array([0.5, -6.28, 0.0])], "hitandrun" : [np.array([0.0, 6.28, 0.0]), np.array([-0.1, -6.28, 0.0])] } @@ -139,7 +139,7 @@ def setup_plot(self): scale_frame = abs(rhy1) + abs(rhy2) ax = plt.Axes(fig, [0.1, 0.1, 0.8, 0.8]) - self.ax_pt_size = self.figsize[0] * 0.8 * 72 / (2 * scale_frame) + self.ax_pt_size = self.figsize[0] * 0.8 * 72 / (np.sqrt(2)*scale_frame) ax.set_xlim(-scale_frame, scale_frame) ax.set_ylim(-scale_frame, scale_frame) ax.set_xticks([])