Ältere Kommentare anzeigen
xが10列のベクトル y1、y2、y3が100行10列の2次元配列の場合、plot(x,y1,'o')、plot(x,y2,'o')、plot(x,y3,'o')により作成される散布図を重ねてy1、y2、y3でそれぞれ3色に色分けを行いたいのですが方法が分かりません。初歩的な質問ですが教えて頂けると助かります。
1 Kommentar
Hiroyuki Hishida
am 4 Sep. 2020
こんにちは、
描画の色分けでしたら、おそらくこのあたりが参考になるかと思いますが、あってますでしょうか? https://jp.mathworks.com/help/matlab/ref/scatter.html
こういったデモや説明に到達する方法なのですが、DOCから検索するより、Googleで、matlab plot 色分け と検索するのをおすすめします。
いかがでしょうか?
Antworten (0)
Kategorien
Mehr zu Scatter Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!