Order legend and color scheme after rows not columns when using scatter(table, x, y)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Risposta accettata
Cris LaPierre
il 20 Mar 2023
Modificato: Cris LaPierre
il 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.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Scatter Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!