run

Import in python using from mcutils.scripts.plot.scatter_dconn import run

mcutils.scripts.plot.scatter_dconn.run(x, x_bm: cifti.axis.BrainModel, y, y_bm: cifti.axis.BrainModel, xlog=False, ylog=False, diagonal=False)[source]

Creates a plot of

Parameters
  • x – (N, N) nibabel Cifti2Image

  • x_bm – Describes which voxel/vertex is covered by each element in x

  • y – (M, M) nibabel Cifti2Image

  • y_bm – Describes which voxel/vertex is covered by each element in y

  • xlog – makes the x-axis logarithmic

  • ylog – makes the y-axis logarithmic

  • diagonal – If True plots a diagonal straight line illustrating where both axes are equal