The QtiPlot Handbook
Prev | Chapter 5. The Dialogs | Next

# Text options

This dialog can be opened by several commands such as Title... command or when you double click on an axis title in your plot. The Color, Font and Alignment commands allow the modification of the general settings of the text label. You can also specify the distance between the label and the corresponding axis, using the Distance to axis box.

Figure 5-68. The axis title options dialog.

The following slightly modified dialog is opened when you double click on texts/legends in your plot in order to customize them. It also allows to add text boxes to a plot layer. When the text object is a legend, listing the curves plotted on the layer, the curve symbols and lines are also drawn in the text box, in front of the curve names. In order to display the symbol of a curve and the name of the data set, the follwing synthax is used: \l(1.2)%(1.2). In this example the first integer before the dot is the index of the plot layer and the second value, the number 2, refers to the index of the curve. The index of the layer is optional, if not specified, the parent layer is used.

The % character is an alias for the name of the data set. By adding ",@C" or ",@L" to the number you can alternativly use the name or comment of the dataset, e.g. \l(2)%(2,@C) will use the column name. Additionaly you can use "@W" to display the table name and "@WL" for the table label. To display the contents of a specific cell of the source data table use %(curve #,@L,col,row). If the col parameter is missing the y-column of the dataset is used.

If the Auto-update box is checked the legend is updated each time a curve is added or removed from the plot layer.

The TeX Output option specifies if LaTeX special characters should be escaped or not when exportingto .tex files. If the text contains LaTeX syntax (like superscripts, subscripts, etc...) and you want them to be interpretedby the LaTeX compiler, you should check this option.

By pressing the Set As Default button all text format options will be saved to the user preferences and will be applied to new text objects. The Apply to... button can be used to apply the format options to all text objects in the active plot layer or in the current plot window or in all plot windows in the project. The domain of application can be chosen from the list box bellow the Apply to... button.

The Opacity of the Background color can have a value between 0 (transparent background) and 255 (completely opaque background).

Figure 5-69. The legend/text options dialog.

The text item can be modified in the text window. Several improvements can be added to the text:

- <sub>text</sub> will draw the text as subscripts. You can insert this sequence by clicking on the .

- <sup>text</sup> will draw the text as superscripts. You can insert this sequence by clicking on the .

- By clicking on the , you can open a new dialog which allows to select lower greek characters:

- By clicking on the , you can open a new dialog which allows to select upper greek characters:

- By clicking on the integral symbol you can open a new dialog which allows to select various mathematical symbols:

- By clicking on the arrow icon, you can open a new dialog which allows to select various arrow symbols:

- <b>text</b> will draw the text with bold characters. You can insert this sequence by clicking on the .

- <i>text</i> will draw the text with italic characters. You can insert this sequence by clicking on the .

- <u>text</u> will draw the text with underlined characters. You can insert this sequence by clicking on the .

Prev | Home | Next
Surface plot options | Up | Analysis of data and curves