Author Topic: Range brushing only selected lines  (Read 9504 times)

Ron D.

  • Administrator
  • Newbie
  • *****
  • Posts: 39
    • View Profile
Range brushing only selected lines
« on: January 25, 2015, 10:52:18 PM »
Range brushing an axis of the PC plot consists of selecting that axis by clicking on its name while pressing ALT, and then either choosing the Axis-->Range Brush option or pressing "r" (sometimes you may have to press "r" twice). Two to eight brushes (colors) will be applied depending on the setting in the Options-->Plot Settings menu.

When no lines are selected, this clears all existing brushes. Then all lines are re-brushed in a spectrum from the bottom of the axis to the top of the axis. This is a very effective way to quickly show structural trends in the data, particularly when there is significant overplotting.

However, if any lines are selected when range brushing happens, only the selected lines will be range brushed. They are brushed in a spectrum in a range from the lowest selected line on that axis to the topmost selected line. All other lines are unbrushed. This allows the range brushing to be dependent on another variable or a Boolean combination of other variables.

For example, in the standard selection process you might first select all lines that pass through a given set or range of values on the Variable A axis, or perhaps those that pass through those values but not other sets of values on the Variables B and Variable C axes. Then you can select the Variable D axis and range brush it, and you range brush just those lines you are interested in, with the spectrum ranging from their minimum value to their maximum value of Variable D.

Ron



Ron D.

  • Administrator
  • Newbie
  • *****
  • Posts: 39
    • View Profile
Other uses of range brushing only selected lines
« Reply #1 on: February 09, 2017, 11:32:50 PM »
Hi All,

Range brushing of selected lines seems to come up as useful in a surprising number of cases. When I did the plots of outgoing US flights from O'Hare in the Sliver User's Manual and the Features webpage, for example, I color brushed them by arrival delay. However, there were a very small number of them that were extremely delayed (one of them over 3 hours) and range brushing with these included pushed all the rest way down towards the blue end of the colors. So I selected lines in a reasonable range and range brushed those. Then I selected all the unbrushed lines and assigned them to the existing red color to include them in the upper red group.

Range brushing of selected lines is also useful when I want to make both extremes of a variable red, as when a good value is near zero but the values can go negative or positive. In this case I select lines in a range from zero to the positive maximum of the axis and range brush them. Then I invert the axis so the most negative value is at the top, select the unbrushed lines, and range brush those. Then I invert the axis again to return it to its original orientation, and now the blue end of the spectrum is centered at zero and the spectrum ranges outward to red at the extremes in both directions.

Ron