Multiple Y column in scatter diagram
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear Altruist,
I want to plot scatter diagram like the image. There is a one x column and multiple y column.
Data Example:
Kindly help me with this.
댓글 수: 1
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 Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!