Press "Enter" to skip to content

Changing the Legend Key Size in ggplot2

Zhenguo Zhang makes a change to the legend:

InĀ ggplot2, the legend keys (the symbols next to the labels) usually inherit their size and appearance from the layers in the plot. For example, if you have a scatter plot with very small points, the legend keys will also be very small, making them hard to see.

Read on to see how you can change this and make the key size larger (or smaller).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.