I need to make a plot which has categorical x.
Here is what I am trying to produce:
1.JPG

댓글 수: 2

Zeynab Mousavikhamene
Zeynab Mousavikhamene 2019년 12월 25일
Why you assign 5 to x? As I said, I want the x to be categorical.
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2019년 12월 25일
Thank you but In this script:
y=linspace(1,2,10)
x=length(y)
plot(x,y,'ro')
x=10 not categorical.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

질문:

2019년 12월 25일

댓글:

2019년 12월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by