How to plot cubic imagesc figure?

4 ビュー (過去 30 日間)
Wiqas Ahmad
Wiqas Ahmad 2022 年 4 月 13 日
編集済み: Wiqas Ahmad 2022 年 4 月 14 日
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.

回答 (1 件)

KSSV
KSSV 2022 年 4 月 13 日
Read about slice, pcolor.
  1 件のコメント
Wiqas Ahmad
Wiqas Ahmad 2022 年 4 月 14 日
編集済み: Wiqas Ahmad 2022 年 4 月 14 日
I'm trying to use it bt facing error. I don't know how can I solve it?
cth=[1010:10:1200];
a = [0.01:0.01:0.05];
r = [4:1:20];
[rr,aa,ccth]=meshgrid(r,a,cth);
figure
t = tiledlayout(1,2,'TileSpacing','Compact','Padding','Compact','innerposition',[.14 .25 .75 .6]);
%Tile 1
nexttile
hold on
xslice=[];
yslice=[];
zslice=[1000:10:1200];
slice(rr,aa,ccth,tbeta_para,xslice,yslice,zslice)....
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by