How to keep the order in plotting scatter plot with categorical variables

3 Ansichten (letzte 30 Tage)
Chugh
Chugh am 5 Jun. 2018
Beantwortet: KSSV am 5 Jun. 2018
Hi,
I am using scatter (b,a) where a is categorical variable and b is double. The plot shows a different order than in my list in a. How do I keep the same order in the plot?

Antworten (1)

KSSV
KSSV am 5 Jun. 2018
Have a look on gscatter

Community Treasure Hunt

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

Start Hunting!

Translated by