General Plot Options

Scale Tab

The first tab is used to set the general scales used for two or three axis plots.

Figure 5-119. General plot options dialog: The Scale Tab.

In this tab, you can set the number of ticks used for each axis. This can be done in two ways: 1) Set the number of labels to use for the entire scale. Whatever number you enter, QtiPlot may adjust the value so as to produce a prettier plot (for example, if you enter 7 ticks for a 0..100 scale, QtiPlot will use 10 major ticks spaced evenly from 10 to 100). 2) Set the Step Increment and QtiPlot will generate as many ticks as needed to fill the scale range using the indicated increment. This produces tick spacings and labels which are more like those that are typically done on hand drawn graphs.

Please note that the number of major ticks cannot exceed the Max Number value defined in the 2D Plots -> Ticks tab of the Preferences dialog. In case you need to display more tick labels (or equivalently use a smaller step size) than allowed by this default limit, you must modify it first.

Grid Tab

The grid tab is used to draw grid lines on the plot. The frequency of the lines are related to the number of labels and major ticks set with the Scale tab.

Figure 5-120. General plot options dialog: The Grid Tab.

Axis Tab

The third tab is used to modify the setting of the different axes. You must select the axis to be customized in the right window. The label of that axis can then be modified in the title window - see the text options dialog section for more details.

Figure 5-121. General plot options dialog: The Axis Tab.

Special Ticks Tab

The Special Ticks tab is used to customize the major tick labels for the different axes. You must select the axis to be customized from the list on the right side of the dialog window. The positions of the ticks are displayed in the first column of the table. These positions cannot be modified, editing being disabled for all cells in this column.

It is possible to customize the default labels displayed in the second column of the table as <auto>. In order to finish editing a tick label you need to press the Return or Enter keys or the Apply button. Editing is also considered finished and the modifications are applied when you change the active cell of the table, either with the mouse or by pressing the Tab key. Empty tick labels are not accepted and are automatically replaced with the default value.

You can define custom colors for each tick label by pressing the corresponding push button in the third column of the table. This will pop-up a color selection dialog.

The tick labels can be shown or hidden by checking or unchecking the corresponding box from the last column. Hidden tick labels cannot be edited. The visibility of the first and last axis tick labels can also be controlled via the Hide Ticks list box in the Axis tab. If these labels were already hidden by the user - this option was set to At Axis Begin, At Axis End or At Axis Begin & End - the check boxes corresponding to these labels in the ticks table are disabled and the text Automatic is displayed next to them.

Figure 5-122. General plot options dialog: The Special Ticks Tab.

General Tab

The General settings tab is used to customize global aspects of the plot. The canvas is the area bounded by the axes. It is possible to draw a frame around the canvas and define its color and thickness using the controls in the Canvas frame box.

The controls in the Axes group box allow to modify the lengths of the major and minor ticks for all layer axes. You can also define a maximum number of major ticks using the Max Number spin box. The value of this parameter becomes the maximum limit for the Major Ticks value in the Scale tab of this dialog

Figure 5-123. General plot options dialog: General Settings.