How do I plot Gscatter with x-axis Non Numerical

Hey Guys Im trying to plot Gscatter plot with non numerical x axis .
The code I use for gscatter is
gscatter(credit.age,credit.duration,credit.Risk_class)
But when my variable is non numerical i used the same code but came up with error
gscatter(credit.EU_NonEU,credit.duration,credit.Risk_class)
Im sure its possible to have non numerical x-axis but can I get assistance.
I have attached file im working on
Thanks

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息

产品

版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by