grouped box plots

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8635
    jake_b
    Participant

      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

      #8659
      dgteam
      Moderator

        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’.

        REVERSE

        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.

        SPLIT

        Is that what you wanted to do?

        #8662
        jake_b
        Participant

          yes, that works, thank you.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.