Plot categorical data as data labels on an x,y plot

조회 수: 6 (최근 30일)
BOB
BOB 2017년 11월 29일
Hi,
I've plotted distance on the x-axis and acceleration on the y-axis.
These values are from a string array. Within this string array I also have the channel name corresponding to each x,y coordinate plotted.
I want to plot these channel names as data labels using the text function, but get the error "Character vector argument expected after 2 or 3 numeric arguments", which I assume is due to the channel names being defined as categorical data.
If somebody could advise a way around this it would be much appreciated.
Cheers

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by