| ylab {ggplot2} | R Documentation |
<br /> Good labels are critical for making your plots accessible to a <br /> wider audience. Always ensure the axis and legend labels display <br /> the full variable name. Use the plot title and subtitle to <br /> explain the main findings. It's common to use the caption to <br /> provide information about the data source. tag can be used for <br /> adding identification tags to differentiate between multiple <br /> plots.
ylab(label);
You can also set axis and legend labels in the individual scales (using the first argument, the name). If you're changing other scale options, this is recommended.
If a plot already has a title, subtitle, caption, etc., And you want To remove it, you can Do so by setting the respective argument To NULL. For example, If plot p has a subtitle, Then p + labs(subtitle = NULL) will remove the subtitle from the plot.