This website is currently being developed. If you notice any problems (such as broken links, etc.), please report them.
< Plot Options

Add to Plot

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:

Options for Scatter Plots

  1. Code more variables 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.

  2. Add trend curves 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.

  3. Add x=y line

    Draws a dotted y = x line on the plot to add perspective.

  4. 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.

  5. 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.

  6. Join points by lines 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.

  7. Change plot appearance 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.

    • The size of the symbols can be increased or decreased by using sliders.

    (See ways of choosing colours for alternatives to selecting from the drop-down menu.)

  8. Identify points 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?

    • Text labels allows you to select a variable from the data set with which to label selected points
    • Colour points allows selected points to be filled in with a selected color. (See ways of choosing colours.)
    • 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.

  9. Customise Labels 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.

Ways of choosing colours

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%.)

Options for Dot Plots

  1. Code more variables Code more variables

    Colour code the data points by any variable. This is identical to that of the scatter plot (see above).

  2. Change plot appearance Change plot appearance

    This is identical to the customization choices of the scatter plot (see above).

  3. Identify points 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..

  4. Customise Labels 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.

Options for Bar Plots

  1. Code more variables 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.

  2. Change plot appearance Change plot appearance

    This allows users to change colours used in the plot.

  3. Customise Labels 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.