Example: Vector Plot

About the Vector Plot Example

This example uses a vector plot to show the changes in SAT exam scores for different North Carolina school systems from 2012 to 2013. The graph is enhanced by adding bubble plot overlays.
Here are the main features of this graph:
  • Vector lines show the changes in the average math and writing scores between 2012 and 2013.
  • Bubbles represent the average score for each year. The size of the bubble represents the number of students who took the test.
  • To modify the appearance, the arrow line thickness was reduced and the transparency for the bubbles was increased. In addition, grid lines and a sheen data skin were applied to the graph. (These changes were made in the designer.)
  • To reduce the number of school systems for comparison, a filter was applied in the designer on the School System Name category.
Example Vector Plot with Bubble Plots
Vector with Overlaid Bubble Plots

Build the Graph Object for the Vector Plot Example

Tip
As a shortcut, you can select a bubble change plot from the graph gallery.
  1. In the graph builder, drag and drop a vector plot from the Graph Elements pane onto the canvas.
  2. Drag and drop a bubble plot from the Graph Elements pane onto the vector plot.
  3. Drag and drop a second bubble plot from the Graph Elements pane onto the vector plot.
  4. On the Role Definitions tab, share the roles. This action joins the vector origin point to the first bubble, and the vector termination point to the second bubble.
    1. Click the menu down arrow next to the Bubble Plot 1 X role. Select Create Shared Role With Another Rolethen selectVector Plot 1 X Origin.
      In the Add Shared Role window, specify Xstart as the name of the shared role. Click OK.
    2. Click the menu down arrow next to the Bubble Plot 1 Y role. Select Create Shared Role With Another Rolethen selectVector Plot 1 Y Origin.
      In the Add Shared Role window, specify Ystart as the name of the shared role. Click OK.
    3. Click the menu down arrow next to the Bubble Plot 2 X role. Select Create Shared Role With Another Rolethen selectVector Plot 1 X.
      In the Add Shared Role window, specify Xend as the name of the shared role. Click OK.
    4. Click the menu down arrow next to the Bubble Plot 2 Y role. Select Create Shared Role With Another Rolethen selectVector Plot 1 Y.
      In the Add Shared Role window, specify Yend as the name of the shared role. Click OK.
  5. On the Role Definitions tab, add a group role to all three plots.
    1. In the Bubble Plot 1 section, click Add Role. The Add Role window is displayed. The Group type is selected by default.
      Click OK.
    2. Repeat the previous step for the Bubble Plot 2 section.
    3. In the Vector Plot 1 section, click Add Role. The Add Role window is displayed.
      Select Group for the type of role. Click OK.
  6. Share the Group role among all three plots.
    1. In the Bubble Plot 1 section, click the menu down arrow next to the Group role. Select Create Shared Role With Another Rolethen selectBubble Plot 2 Group.
      In the Add Shared Role window, specify Color as the name of the shared role. Click OK.
    2. In the Vector Plot 1 section, click the menu down arrow next to the Group role. Select Use Shared Rolethen selectColor.
  7. Specify that the plots start with the same color.
    1. On the Properties tab, select A1 (the cell).
    2. Click the menu down arrow next to Overlaid plot colors, and select All graphs start with the same color.
  8. Remove redundancy from the legend.
    1. On the Properties tab, select the Discrete Legend.
    2. In the Display in legend box, deselect the Vector Plot 1 and the Bubble Plot 2 check boxes.
  9. Specify the bubble size. This is an optional change made only to improve the appearance of the bubble sizes with respect to the vector lines.
    1. On the Properties tab, select Bubble Plot 1.
    2. Next to Radius of smallest bubble (pixels), enter the number 5.
    3. Next to Radius of largest bubble (pixels), enter the number 12.
    4. Repeat the previous steps for Bubble Plot 2.