scatter plotting of string data

3 views (last 30 days)
i have two cell in work sapce
name 57*1 cell
fatality_rate 57*1 cell
here names include string data
i want scatter plotting
and also the data shown with different colours
scatter(name,fatality_rate)
but it gives error
Error using scatter (line 56)
Input arguments must be numeric,
datetime, duration or categorical.
Error in untitled (line 17)
scatter(name,fatlity_rate)
  2 Comments
Muhammad
Muhammad on 1 Jun 2021
good its working
i also wanted to plots with colours

Sign in to comment.

Accepted Answer

Jakob B. Nielsen
Jakob B. Nielsen on 1 Jun 2021

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by