The Add to Plot menu allows you to code extra variables, add lines, and change the general appearance of the graph. The choice of additions presented to the user changes according to the type of plot drawn.
Once the additions are in place, they can be removed at any time using the Remove Additions button on the plot toolbar, found beneath the graphics window.
The Add to Plot options vary depending on the type of plot drawn:
See also:
Code more variables
Colour by levels of: this gives the option to colour code the data points by any variable. If a numeric variable is chosen, a rainbow spectrum of colours is used to signify progressively larger values. If a categorical variable is used, different levels are represented by different colours. (See ways of choosing colours for alternatives to selecting from the drop-down menu.)
Resize points proportional to: this option can be used to resize the points proportional to any numeric variable in the data set.
Add trend curves
Provides the user with the option to fit linear, quadratic and cubic trend curves to the data shown on the scatter plot. The user is also allowed to control the colour of the trend lines. (See ways of choosing colours for alternatives to selecting from the drop-down menu.)
Users can also add a smoother to the plot, the smoothness of which is controlled by the slider. Alternatively, quantile smoothers can be fit by checking the appropriate box.
For trends and smoothers, if the points have been coloured by a categorical variable, users can have the curves fitted to the individual levels of these factors. Additionally, these curves can either be parallel (equal slope, different intercepts) or have unique intercepts and slopes.
Add x=y line
Draws a dotted y = x line on the plot to add perspective.
Add a jitter
In a scatter plot where there is a large number of overlapping data points, the user may want to add a slight amount of irregular movement (or noise) to the data. Using jitter allows for a better impression of the density of points in a region.
The variation or jitter can be added to the x-axis as well as the y-axis, thereby revealing all the available data points.
Add rugs
User can add ticks on both axes in order to make it easy to read off the x and y values for data points.
Join points by lines
Joins up data points in a continuous line. However, if the points are already colour coded by a variable, then separate lines are drawn connecting points belonging to each level of the coding variable.
Change plot appearance
This brings up a menu that allows the user to customize the following aspects of the scatter plot.
Users can change the colour of the data point symbols and opt to colour the interior of the symbols as well.
Similarly the background of the plot can be changed by typing in a colour or by using the drop down menu.
(See ways of choosing colours for alternatives to selecting from the drop-down menu.)
Identify points
This allows users to label points in one of three ways (text labels, colour labels, and related points), using one of three methods (clicking, selecting values, or labelling extreme points).
How do you want to label points?
With the same level of allows you to easily locate points related to the selected points.
The main use of this would be to locate points with the same level of a chosen factor (e.g., if you are exploring survey data, you may wish to identify observations in the same cluster), or you may want to retain points selected over multiple graphs (e.g., in the Gap Minder data set, included in the Data
folder, has several observations of countries over multiple years. In this case you can label certain coutries and track them over time).
Note: when you do this, the point you clicked will be highlighted for easier reference.
How do you want to select points?
Clicking with the mouse: After clicking "Click to Locate ...", you can then click a point on the plot. iNZight will then label it using the options you defined above. You can select multiple points by clicking the button again and locating new points without losing the current selection.
Note: due to the way the software works, you may see a "Busy" cursor after you click the "Click to Locate ..." button. This will not go away until you click a point, so go ahead and click points ignoring the cursor.
Select by value of ...: this will allow you to select a variable to use to select points.
If the variable is a factor (or a numeric with less than 20 unique values) a slider will appear allowing you so quickly select the levels you wish to label. If the variable is numeric, or you want to select multiple levels, you can click the "Select levels ..." button to do so.
Extreme values: This will use a very simple algorithm that will select the points "farthest away" from the bulk of the data.
This will display a slider, allowing you to select more or less points as desired. Once you have selected the points, you can optionally save the selection (e.g., if you want to track the same observations over multiple plots) you can click the "Save these points ..." button. From there you can use the "With the same level of" option to select related points, etc.
The statistic used is Mahalanobis' distance.
Customise Labels
iNZight attempts to make sensible titles and axis labels automatically. However, you can use your own if you prefer by typing in your own and pressing the Enter
key on your keyboard.
If colour coding by a variable is active while a user tries to change data point colours, the coding colours takes precedence over the user's choice until it is switched off (using Remove Additions).
Colours can be chosen from a drop-down menu OR by typing in the name of a desired colour OR its Hex code (e.g. #C80000). See colour chart pdf (8 pages) for the names and codes of the huge range of colours available. Increasingly, if any typed in colours are not available the user is notified via a pop up dialogue box.
Adding a 7th and 8th digit to a 6-character Hex code allows you to include percent opacity (= 100 - percent transparency; compare #204090 with #20409030 and #20409070). (One way of specifying the main hex code is to use 6 numbers corresponding to 2 digits each for %Red, %Green and % Blue; FF can be used to specify 100%.)
Code more variables
Colour code the data points by any variable. This is identical to that of the scatter plot (see above).
Change plot appearance
This is identical to the customization choices of the scatter plot (see above).
Identify points
This allows users to label points by clicking on them, and works much the same as it does for scatter plots (see above).
The main difference is in the location of extreme points, where users are now presented with two sliders: one for the number of lower points, and one for the number of upper points, to label..
Customise Labels
iNZight attempts to make sensible titles and axis labels automatically. However, you can use your own if you prefer by typing in your own and pressing the Enter
key on your keyboard.
Code more variables
This feature is accessible for one-way bar plot (i.e., Variable 1 is categorical and Variable 2 is empty.) This option will segement the bars to show the distribution of the chosen variable.
Change plot appearance
This allows users to change colours used in the plot.
Customise Labels
iNZight attempts to make sensible titles and axis labels automatically. However, you can use your own if you prefer by typing in your own and pressing the Enter
key on your keyboard.