필터 지우기
필터 지우기

Scatter plot with categorical x axis

조회 수: 1 (최근 30일)
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2019년 12월 25일
댓글: Zeynab Mousavikhamene 2019년 12월 25일
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개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by