run

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

mcutils.scripts.plot.scatter_dscalar.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, ) array with values to be plotted on the x-axis

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

  • y – (M, ) array with values to be plotted on the y-axis

  • 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