Submit a request
Submit a request

Number Line Plot

The number line plot Question type requires learners to plot points on a line, or stack points above a line.

Screenshot 2024-03-04 at 6.45.20 AM.png

Figure 1: number line plot Question example.


Create a question

Enter the Question stem into the 'compose question' area.

Add the minimum and maximum values of the number line. You can also enter the number line title which will be displayed underneath the number line by default.

Set a value for the number of responses allowed. This determines the number of elements the learner can add to the number line. For instance, if the task is to plot three inequalities, the number of responses allowed will be three.



Figure 2: line section settings.


Now, configure the correct responses for your Question. Follow these steps to set up the scoring options and correct responses:

  • Insert a value in the point(s) area to set up a total score for the question,
  • Using the tools below the number line, select the points on the number line to indicate the correct responses.

An example validation is shown in Figure 3.

Validation of numberlineplot.png

Figure 3: example Question validation.


More options

Scoring types

The Scoring type menu can be found under 'more options'.

The following scoring types are available in the number line plot Question type:

  • Exact match - all parts of the Question must be correct to receive a full score.
  • Partial match per response - each correct response element will be awarded an individual score.
  • Partial match - each correct response element will be scored individually and the overall Question score will be divided between responses.



Figure 4: number line plot Question scoring types.



Various styling options can be applied to the number line plot. The layout drop down menu allows you to choose between horizontal and vertical plotting. You can also add a custom width in pixels which will set the width of the number line area.

The line margin (in pixels) defines the distance between the number line extremes and the borders of the number line area.

The spacing between stacked responses (in pixels) defines the distance between multiple responses when they are stacked above the number line.

The stack responses toggle allows you to switch from plotting responses on the line to stacking them above the number line.

The show min arrow and show max arrow allows you to show or hide arrows on the minimum and maximum values of the number line.



Figure 5: number line layout settings.



This section provides options to configure the ticks on the number line.

The show ticks controls the visibility of ticks on the number line.

The rendering base should be defined in cases where the label frequency is greater than one. This option will determine if labels will render from zero or the line's minimum value.

The tick distance field allows you to insert whole numbers, standard or decimal fractions, or mixed numbers.

The minor ticks can be configured to be displayed at the specified interval between major ticks.

The show min and show max toggles control the visibility of the minimum and maximum ticks on the number line.



Figure 6: number line ticks settings.



Show labels - enable to show labels on the number line.

Enable 'show min' and 'show max' if you want the labels to be drawn on the minimum and maximum values on the number line.

You can also add specific points that should be labeled on the number line. To do this, insert one or more values in the points field. Multiple points can be added by separating them with a comma.


Add or remove tools that are available for learners to use for their responses in the Question toolbar. Click "+Add" below the section title and select the tool from the drop down menu. This will display the tool button in the Question toolbar. Click the trash icon to remove the tool.



Figure 7: adding tools to the number line.


The following is a list of all tools available.

Note: there is an alternative cross tool which can be used instead of the default point tool.

Point Point.png
Cross Screen_Shot_2020-07-03_at_4.35.46_pm.png
Segment Segment.png
Segment with left hollow point Segment_hollow_left.png
Segment with right hollow point Segment_hollow_right.png
Segment with both hollow points Segment_hollow_both.png
Left ray Ray_left.png
Right ray Ray_right.png
Left ray with hollow point Ray_left_hollow.png
Right ray with hollow point Ray_right_hollow.png
Delete Delete.png

Figure 8: number line tools.


Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity by clicking here.