Session Ready
Exercise

Per-panel explicit limits

Explicit limits can be specified even when panels do not have common limits. This is typically done using the limits sub-component of scales, which actually plays the same role as the xlim or ylim argument.

Instructions
100 XP

For this exercise, we want to have different x-axis limits (relation = "free"), but explicitly specify the limits so that

  • the two panels for females (on the left) have limits 0 to 50, and

  • the two panels for males (on the right) have limits 0 to 80.

To achieve this, the corresponding limits sub-component must be a list with 4 elements, each giving a length-2 vector specifying the limits.