Clear Filters
Clear Filters

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

3 views (last 30 days)
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?

Answers (1)

KSSV
KSSV on 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!