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

3 Ansichten (letzte 30 Tage)
Question deleted!

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 20 Mär. 2023
Bearbeitet: Cris LaPierre am 20 Mär. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Color and Styling finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by