Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Hello,
I have been following the YouTube tutorial on creating grouped box plots, and mostly it is going fine – however, how do I choose the order in which the categories are shown on the X axis?
In case this isn’t very clear, I am first of all setting the position by a text column, e.g. let’s call it “treatment”, which has two levels of “-” and “+”. DG draws a very nice looking graph BUT it places the + group first and the – group second – how can I get it to change this?
Secondly, and a minor point, once I have split the axis to add the second grouping variable, is there a way to draw a line to show the actual split, i.e. clearly dividing the two regions of the axis?
many thanks
If the only change you want is to revise the order to have the minus go first, change the X type on the Axis settings to ‘Reversed’.
You can also create a text column with a list of the categories in the order you want them shown. Next, select that text column in the Labels menu of the Box command.
You can draw a box around each axis using the Box style menu in the Style settings.
A short cut is to control-click on the graph (right-click) to access this option.
Is that what you wanted to do?
You must be logged in to reply to this topic.