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

3 visualizaciones (últimos 30 días)
Chugh
Chugh el 5 de Jun. de 2018
Respondida: KSSV el 5 de Jun. de 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?

Respuestas (1)

KSSV
KSSV el 5 de Jun. de 2018
Have a look on gscatter

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by