How to change the group order in boxplot?

How to change the group order in boxplot?

book

Article ID: KB0074386

calendar_today

Updated On:

Products Versions
Spotfire Statistica 12.0 and higher

Description

This article details how to change the order of group levels displayed in a boxplot.

Issue/Introduction

How to change the group order in boxplot?

Environment

Windows

Resolution

1. To draw a boxplot, go to Statistica ribbon menu "Graphs | 2D | Box Plots" to open the "2D Box Plots" dialog



2. In the "2D Box Plots" dialog, click "Variables" under the "Quick" tab to choose the Dependent and Grouping variables

3. Then check "Codes:" under the "Grouping intervals" session of the "Quick" Tab



4. Click "none" near the right of "Codes:"

5. Enter levels of the grouping variable in your desired order in the "Category Codes:" dialog and then click "OK"

6. Click "OK" in the "2D Box Plots" dialog to plot the graph.


Sequence of the grouping variable levels displayed in the boxplot will be the same as the one specified in the "Category Codes:" dialog.