Skip to content

Commit

Permalink
add figures
Browse files Browse the repository at this point in the history
  • Loading branch information
sfield17 committed Apr 2, 2024
1 parent 4ea3ead commit 2f32e26
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Binary file added tutorial/paper/figs/data.npy
Binary file not shown.
16 changes: 16 additions & 0 deletions tutorial/paper/figs/plot_gwsur.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import matplotlib.pyplot as P
import numpy as np

t, hsur, hNR = np.load('data.npy')


fig, ax = P.subplots(figsize=(12, 4))

P.plot(t, hsur, 'b', label='GWSurrogate')
P.plot(t, hNR, 'r--', label='Numerical Relativity')
P.xlabel('Time [Mass]', fontsize=18)
P.ylabel('Strain', fontsize=18)
P.xlim(t[0], 200)
P.legend(frameon=False,fontsize=18)
P.savefig('gwsurrogate.png')
P.close()
Binary file added tutorial/paper/gwsurrogate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2f32e26

Please sign in to comment.