Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTT plot shows a wrong number of replicates #30

Open
astrolitterbox opened this issue Jun 22, 2022 · 0 comments
Open

LTT plot shows a wrong number of replicates #30

astrolitterbox opened this issue Jun 22, 2022 · 0 comments

Comments

@astrolitterbox
Copy link

astrolitterbox commented Jun 22, 2022

PyRate's LTT plot function, called with the -ltt 3 option, draws an incorrect number of diversity trajectories. Instead of showing all replicates (e.g. 20 replicates and 10 resampled models from each, 200 lines in total), it draws the number of lines which is equal to the number of age subdivisions provided by the -grid_plot parameter.

I think the issue is with this loop:

plot2 += """\nlines(time,tbl$rep%s, type="l",lwd = 1,col = alpha("#504A4B",0.5))""" % (i)

10rj_se_est_ltt.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant