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

3 次查看(过去 30 天)
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?

回答(1 个)

KSSV
KSSV 2018-6-5
Have a look on gscatter

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by