Quoted strings

Several dynagraph command options take strings as arguments, as in title = string or axeslabels = [ string, string, string ]. File names are also regarded as strings, therefore the filename arguments in the read filename; and dataplot(filename); commands also fall within the scope of this section.

A string may be entered in a number of different ways:

The last example illustrates how to include a quote character within a string.

The two-character sequence \n (that is, a backslash followed by n) acts as a line break within the title string, thus making multi-line titles possible. For instance title = "Line1\nLine2\nLine3" splits the title into three lines. Each line of a multi-line title is horizontally centered within the window.

Back to table of contents