Box Plot

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4097
    morrajohn
    Participant

      Hi there,

      I’m making a box plot. I’m putting different position values (1,2,3 etc.) so that multiple box plots appear on the same chart. How can I change the X-axis so that I can name my various treatment groups. In this case each box plot corresponds to a different location. I’d like those locations to show on the x-axis.

      Thanks,

       

      John

      #4101
      dgteam
      Moderator

        Hi John,

        It sounds like your data is in multiple columns.

        (FYI – If you have the data in a long or Flattened format you can create multiple box plots with one command, as in this example. Then your axis will have labels automatically.)

        Box

        Sounds like what you have something like this, where you have one command per box.

        BoxwithNumbers

        To change the axis to categories for each box, create a text column that has the label you want.

        LabelColumn

        Then edit the Axis settings as shown:

        Axis_settings

        That will give this:

        Final

        Hope that helps!

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