x = 0:1:3000;
y = suscep_data_ave;
y = y';
xconf = [x x(end:-1:1)] ;
yconf = [y+0.195 y(end:-1:1)-0.195];
figure
p = fill(xconf,yconf,'blue');
p.FaceColor = [0.2 0.8 0.8];
p.EdgeColor = 'none';
hold on
plot(x,y,'r*')
hold off
I want to draw plot ..as follow..
so,, is it perfect code? plz help me

2 件のコメント

darova
darova 2021 年 3 月 30 日
I think your code is ok. THe picture looks strange
Star Strider
Star Strider 2021 年 3 月 30 日
The ‘data.mat’ file contains a (3000x1) vector. It is not possible to calculate confidence limits from it, and no other vectors or data are included in the file.

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

回答 (1 件)

Pratheek Punchathody
Pratheek Punchathody 2021 年 3 月 31 日

0 投票

The above query is already been answered in the community. Please refer to this "Link" for the answer in the community.

カテゴリ

ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索

質問済み:

2021 年 3 月 28 日

回答済み:

2021 年 3 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by