How to plot??

11 ビュー (過去 30 日間)
Deva Narayanan
Deva Narayanan 2019 年 6 月 2 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 2 日
x = [70.90 70.17 70.25 67.98 63.82]; y = [74.21 69.63 69.74 68.03 66.16]; x,y represents experimental and numerical results respectively . Using this result I want to make a parity plot. I have enclosed the model plot for this purpose. Can anyone explain me how to make this type of plot with matlab code.

回答 (2 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 2 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 2 日
#Do change
x=[70.90 70.17 70.25 67.98 63.82];
y=[74.21 69.63 69.74 68.03 66.16];
plot(x,y,'*');
hold on;
plot([10 100],[10 100]); %Set the values accordingly
plot([10 100],2*[10 100]); % Multiply as per upper %
plot([10 100],0.5*[10 100]); %% Multiply as per Lower %
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 2 日
For those three lines as shown in your attched figure, you can change values accordingly.

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


Deva Narayanan
Deva Narayanan 2019 年 6 月 2 日
@KALYAN ACHARJYA, can you explain me ??why u r use last three lines of your code
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 2 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 2 日
This is answer section, pls delete. I have responsed your question in commnet section.

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

カテゴリ

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