Skip to content

How to set positions of the plots #61

Description

@noirchen

In boxplot there is a parameter positions to put the boxes at specified locations. For example

data=[randn(50, 1); randn(60, 1) + 1; randn(70, 1) + 2; randn(80, 1) + 3; randn(90, 1) + 4]
group=[ones(50, 1); ones(60,1)+1; ones(70,1)+2; ones(80,1)+3; ones(90,1)+4]
boxplot(data, group, 'positions', [1, 3, 4, 6, 7])

How to do similar thing using violin plot?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions