Scatterplot with ID Markers
5 次查看(过去 30 天)
显示 更早的评论
I am trying to plot a scatterplot between two sets of data, X and Y. X and Y are column vectors, and each (X,Y) pair correspond to a specific country (an example given below). In the scatter, I need the data points to indicate which country they belong to, and also show the trendline and R-sq. Additionally, is there a way for me to display only some of the country points and not all?
X Y
India 224.4 52.2
China 143547.6 53784.9
Thanks for your attention!
Regards,
Saunok
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!