Order legend and color scheme after rows not columns when using scatter(table, x, y)

1 view (last 30 days)
Question deleted!

Accepted Answer

Cris LaPierre
Cris LaPierre on 20 Mar 2023
Edited: Cris LaPierre on 20 Mar 2023
Look into gscatter, using either another variable (column A?) or the rownames as your grouping variable.
load carsmall
gscatter(Displacement,Horsepower,Model_Year)
If you attach your table to your post, then others can test a solution.

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!