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
gscatter(Displacement,Horsepower,Model_Year)
If you attach your table to your post, then others can test a solution.

More Answers (0)

Categories

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

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by