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

5 views (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
If you attach your table to your post, then others can test a solution.

More Answers (0)


Find more on Data Distribution Plots in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by