topograph created by EEGLAB using ERP

조회 수: 1(최근 30일)
Luo Mo
Luo Mo 2021년 9월 26일
댓글: Bjorn Gustavsson 2021년 9월 29일
How can I uniform the Y label on the left of the two picture?I made the photos by use of EEGLAB.
  댓글 수: 3
Luo Mo
Luo Mo 2021년 9월 28일
Could you see my reply?II have been confused about this question for a long time. Thank you very much.

댓글을 달려면 로그인하십시오.

답변(1개)

Bjorn Gustavsson
Bjorn Gustavsson 2021년 9월 28일
For this you could do something like this (except I will use random data and plain imagesc):
I_peaks = rand(3,1);
for i1 = 3:-1:1
Im{i1} = I_peaks(i1)*randn(34,34);
end
for i1 = 3:-1:1
subplot(1,3,i1)
imagesc(Im{i1})
cx(i1,:) = caxis;
end
cx_lims = [-1 1]*max(abs(cx(:)));
for i1 = 1:3
subplot(1,3,i1)
caxis([cx_lims])
end
cbh = colorbar;
This gets the intensity-limits from all subplots, sets the common intensity-limits to +/- of the max absolute intensity, you can/should adjust that to fit your needs.
You should know about tiledlayout and nexttile to use instead of subplot.
HTH
  댓글 수: 2
Bjorn Gustavsson
Bjorn Gustavsson 2021년 9월 29일
Contact the authors of that toolbox, they should know how to fix this.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by