next up previous contents index
Next: With Up: Plot Previous: Ranges   Contents   Index


Title

A line title for each function and data set appears in the key, accompanied by a sample of the line and/or symbol used to represent it. It can be changed by using the title option.

Syntax:

     title "<title>" | notitle ["<ignored title>"]

where 5#5title6#6 is the new title of the line and must be enclosed in quotes. The quotes will not be shown in the key. A special character may be given as a backslash followed by its octal value ("3#3345"). The tab character "3#3t" is understood. Note that backslash processing occurs only for strings enclosed in double quotes -- use single quotes to prevent such processing. The newline character "3#3n" is not processed in key entries in either type of string.

The line title and sample can be omitted from the key by using the keyword notitle. A null title (title '') is equivalent to notitle. If only the sample is wanted, use one or more blanks (title ' '). If notitle is followed by a string this string is ignored.

If key autotitles is set (which is the default) and neither title nor notitle are specified the line title is the function name or the file name as it appears on the plot command. If it is a file name, any datafile modifiers specified will be included in the default title.

The layout of the key itself (position, title justification, etc.) can be controlled by set key. Please see set key (p. [*]) for details.

Examples:

This plots y=x with the title 'x':

     plot x

This plots x squared with title "x^2" and file "data.1" with title "measured data":

     plot x**2 title "x^2", 'data.1' t "measured data"

This puts an untitled circular border around a polar graph:

     set polar; plot my_function(t), 1 notitle


next up previous contents index
Next: With Up: Plot Previous: Ranges   Contents   Index
Ethan Merritt 2007-03-03