フィルターのクリア

How can I draw a parity plot?

33 ビュー (過去 30 日間)
Parham Babakhani Dehkordi
Parham Babakhani Dehkordi 2015 年 4 月 13 日
コメント済み: Thangaraja J 2023 年 2 月 6 日
Hello everyone,
I have two series of data as follows: x=[0.8288 1.021 1.2093 1.4674 1.7577 1.9679 2.2465 2.9532]; y=[0.8242 1.05976 1.2804 1.5481 1.79315 2.0521 2.3475 2.9939];
In which x is experiment values (horizontal axis) and y (vertical axis) is models data. I would like to have a parity plot including a bisector , upper bound and lower bound limited within 5% as scatter error.
How can I write a code for this? Thanks in advance

採用された回答

pfb
pfb 2015 年 4 月 13 日
編集済み: pfb 2015 年 4 月 14 日
% scatter plot
plot(x,y,'.');
hold
% bisector (basically the same as Thorsten)
plot([0.5 3],[0.5 3]);
% upper and lower bounds (?)
plot([0.5 3],1.1*[0.5 3]);
plot([0.5 3],0.9*[0.5 3]);
  7 件のコメント
Parham Babakhani Dehkordi
Parham Babakhani Dehkordi 2015 年 4 月 14 日
Perfect, now it works Thanks a lot
Thangaraja J
Thangaraja J 2023 年 2 月 6 日
Thank you for the query and the corresponding answer

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

その他の回答 (1 件)

Thorsten
Thorsten 2015 年 4 月 13 日
plot(x,y, '.')
line([0.5 3],[0.5 3])
  1 件のコメント
Parham Babakhani Dehkordi
Parham Babakhani Dehkordi 2015 年 4 月 13 日
these two code lines give me only the bisector. If I want to define data in a range, lets say, +10% and -10% as upper and lower bound of bisector, how can I create this?

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by