ggtitle {ggplot2} R Documentation

Modify axis, legend, and plot labels

Description

<br /> Good labels are critical for making your plots accessible <br /> to a wider audience. Always ensure the axis and legend <br /> labels display the full variable name. Use the plot title <br /> and subtitle to explain the main findings. It's common to <br /> use the caption to provide information about the data <br /> source. tag can be used for adding identification tags to <br /> differentiate between multiple plots.

Usage

ggtitle(title,
    text.wrap = FALSE);

Arguments

title

[as string]

Details

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.

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotOption.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]