I do not know of a single simple point and click method. But here are two options:
Brute Force:
- Right click on the frame box and select Customize,
- Then click on each female line and change the line style.
JSL script:
Names Default to Here(1);
dt = Open("$sample_data/SATByYear.jmp");
gbb = dt << Graph Builder(
Size( 514, 484 ),
Show Control Panel( 0 ),
Variables( X( :Year ), Y( :SAT Math ), Overlay( :State ) ),
Elements( Line( X, Y, Legend( 10 ) ) )
);
regSum = dt << summary( Group(:State, :Region));
_idx = regSum << get rows where(:Region == "Midwest");
//get a handle to all all line segments
_xls = gbb << Xpath("//LineSeg");
_xls[_idx] << LineStyle("Dotted");
- The first part draws the graph,
- Summary will display the IDs ( state names) in the order they appear in graph builder. For your data, the group columns would be ID and Gender.
- Your script would be _idx = regSum << get rows where( :Gender == "F");
- The _xls = gbb << Xpath() statement gets a reference to each lineseg in your graph. That is _xls has a handle to each line.
- _xls[_idx] << Linestyle () will change all the female lines to dashed.
I realize this script is using JSL and more advanced methods.
Maybe someone has a simpler point and click method other than Brute Force.
Good luck