Skip to main content

OrdinalScale

OrdinalScale[{cat1,cat2,…,catn}] represents a set of ordered categories cati with order cat1<cat2<…<catn.

OrdinalScale[{cat1,…,catn},{val1,…,valn}] associates the category cati with the numeric value vali.

OrdinalScale[<|cat1->val1,…,catn->valn|>] also associates the category cati with the numeric value vali.

OrdinalScale[{cat1,…,catn},vals,{lab1,…,labn}] displays the category cati as the corresponding labi when used as a label in plots etc.

OrdinalScale[…,<|cati->labi,…|>] uses labi to represent cati in plots.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.