Hi. i have two columns with too much raws as each column (about 1.300.000 raws) and i want the plot look like as below, it included two different type of plots in one graph. can you help me how to do that?

 采纳的回答

KSSV
KSSV 2020-5-29

0 个投票

The plot looks like a regression plot read about plotregression. If you have two data points and want to plot them read about plot and holdon.

7 个评论

thank you! can you help me with a sample code for this?
Sure...but what data you have? You can attach your data here.
Thanks Pro, this is my data, it too much.
data = xlsread("data2.xlsx") ;
T = data(:,1) ; % temperature
R = data(:,2) ; % rainfal
figure
plot(T,R,'.r')
thank you so much KSSV
Thanks is accepting the answer :)
yes, i accepted :)

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2018b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by