plotの色分けについて
6 views (last 30 days)
Show older comments
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 Comment
Hiroyuki Hishida
on 4 Sep 2020
こんにちは、
描画の色分けでしたら、おそらくこのあたりが参考になるかと思いますが、あってますでしょうか? https://jp.mathworks.com/help/matlab/ref/scatter.html
こういったデモや説明に到達する方法なのですが、DOCから検索するより、Googleで、matlab plot 色分け と検索するのをおすすめします。
いかがでしょうか?
Answers (0)
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!