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

2 次查看(过去 30 天)
Question deleted!

采纳的回答

Cris LaPierre
Cris LaPierre 2023-3-20
编辑:Cris LaPierre 2023-3-20
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by