Skip to content

Commit

Permalink
DEV: plot identity line
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Jul 10, 2023
1 parent 23b7054 commit f54fa0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spacetop_prep/qcplot/runwisecorr/runwisecorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
plt.scatter(singlemasked_X, singlemasked_Y, c='gray', label='All Data', alpha=0.5 )
plt.scatter(singlemasked_X[sdmask], singlemasked_Y[sdmask], c='darkgreen', label='2sd < voxel', alpha=0.5)
plt.scatter(singlemasked_X[sdmask_neg], singlemasked_Y[sdmask_neg], c='darkred', label='voxel < -2sd', alpha=0.5)
plt.plot([min(singlemasked_X), max(singlemasked_X)], [min(singlemasked_Y), max(singlemasked_Y)], color='black', linestyle='--')
plt.xlabel(f"{a_subses}")
plt.ylabel(f"{b_subses}")
plt.title(f"Scatter plot for voxels in {sub}_x-{a_subses}_y-{b_subses} ")
Expand Down

0 comments on commit f54fa0b

Please sign in to comment.