Multiple Y column in scatter diagram

1 回表示 (過去 30 日間)
Shariful Islam
Shariful Islam 2022 年 7 月 16 日
編集済み: dpb 2022 年 7 月 16 日
Dear Altruist,
I want to plot scatter diagram like the image. There is a one x column and multiple y column.
Data Example:
Example data
scatter diagram
Kindly help me with this.
  1 件のコメント
dpb
dpb 2022 年 7 月 16 日
編集済み: dpb 2022 年 7 月 16 日
What have you tried? Where did you have a problem, specifically?
Is basic plot with multiple lines; put the data in an array and call plot(); saving the line handles
hL=plot(x,y);
then set the linestyles, colors of the line handles as desired.
scatter only accepts vectors, not an array, so it's more effort -- you don't have to have a line drawn w/ plot so it'll handle the data vector just as well as would scatter

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by