How to plot cubic imagesc figure?

2 views (last 30 days)
Wiqas Ahmad
Wiqas Ahmad on 13 Apr 2022
Edited: Wiqas Ahmad on 14 Apr 2022
If I have four matrices, Height,a,CER and signal intensity, how can I plot them to get the following figure? The three variables are shown on each axis while the colour of the plot shows the signal intensity.

Answers (1)

KSSV on 13 Apr 2022
Read about slice, pcolor.
  1 Comment
Wiqas Ahmad
Wiqas Ahmad on 14 Apr 2022
Edited: Wiqas Ahmad on 14 Apr 2022
I'm trying to use it bt facing error. I don't know how can I solve it?
a = [0.01:0.01:0.05];
r = [4:1:20];
t = tiledlayout(1,2,'TileSpacing','Compact','Padding','Compact','innerposition',[.14 .25 .75 .6]);
%Tile 1
hold on
where tbeta_para is 100*17 matrix data loaded from a file.
I'm facing the following error:
I tried to convert the tbeta_para into 3D array by using the function ''cat'' but didn't get the right answer.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!