help > RE: z-matrix plot/visualization
Apr 14, 2015  02:04 AM | Fred Uquillas
RE: z-matrix plot/visualization
That's right on the dot Alfonso. Thank you!
I was able to figure out how to plot two individual's z-matrix from the first-level results folder, one from each group using pcolor in MATLAB (attached). The code you provide (when used to plot a 1 -1 contrast or vice versa) is more what I was going for though!

Thanks again.

Fred
Originally posted by Alfonso Nieto-Castanon:
Hi Fred,

Not within CONN directly, but you could use some Matlab code like the example below to generate this sort of plots (e.g. when loading the data from a second-level results file)

load /data/conn_project/results/secondlevel/ANALYSIS_01/AllSubjects/rest/ROI.mat;
z = cat(1,ROI.h); % effect-sizes (typically fisher transformed values)
r = tanh(z);         % convert to r coefficients

figure
imagesc(r);
axis equal tight
colorbar

Let me know if this is what you had in mind

Best
Alfonso
Originally posted by Fred Uquillas:
Hi guys,
Anybody out there know how I can plot the z-matrix in a format similar to the attached image?

Thank you so much!!

Fred

Threaded View

TitleAuthorDate
Fred Uquillas Apr 13, 2015
Alfonso Nieto-Castanon Apr 14, 2015
RE: z-matrix plot/visualization
Fred Uquillas Apr 14, 2015
Fred Uquillas Jun 2, 2015
Alfonso Nieto-Castanon Jun 4, 2015
Fred Uquillas Jun 9, 2015