散布図をプロットする時に対角線を表示する方法について ( How can I draw diagonal line in a scatter plot? )
Show older comments
散布図をプロットするときにscatter()関数を用いているのですが,対角線が描けずに困っています.
現状,下記のような重ね書きで対応していますが,プロットデータの範囲によってコードを書き換える必要があり,他によい方法がないか探しています.
scatter(X,Y);
hold on;
L = 0:0.1:1;
plot(L,L);
hold off;
1 Comment
Mischa Kim
on 7 Nov 2014
Daiki, that's one possible way of doing it. What exactly is your question or issue?
Accepted Answer
More Answers (0)
Categories
Find more on Analog Devices ADALM1000 Support from Data Acquisition Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!