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

Answers (0)

Products

Release

R2018b

Asked:

on 21 Feb 2019

Community Treasure Hunt

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

Start Hunting!