Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: sorting boxplots on the median

From   Nikolaos Pandis <>
To   "" <>
Subject   st: sorting boxplots on the median
Date   Thu, 14 Feb 2013 10:54:43 -0800 (PST)

Hi to all,

I am trying the following command in Stata 12.1 with the objective to sort the boxplots according to the value of the median (ascending or descending it does not matter): 

.graph box percent,over(journalno, sort(percent) descending )
However, it does not work. Any advice would be appreciated.
If I use: 

graph bar percent,over(journalno,  sort(percent) descending )

it works and sorts by the value of the mean

Thank you,

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index