Order legend and color scheme after rows not columns when using scatter(table, x, y)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jarne Mölbitz
le 20 Mar 2023
Modifié(e) : Jarne Mölbitz
le 25 Avr 2023
Question deleted!
0 commentaires
Réponse acceptée
Cris LaPierre
le 20 Mar 2023
Modifié(e) : Cris LaPierre
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Scatter Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!