JSL 用户定义行图例颜色如果有人可以分享定义和分配行图例颜色的知识,我将不胜感激。
以 Cheese.jmp 数据集为例,如果可以使用 JMP 14 指定行奶酪 A = 粉红色,奶酪 B = 黑色。

Bivariate(
Y( :Score ),
X( :Count ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
Cheese,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);大规模定制回复:JSL 用户定义行图例颜色您可以右键单击图例分组并选择您希望行值更改为的颜色

这是图表,其中 A 奶酪设置为品脱,B 奶酪设置为黑色

我将如何在 JSL 中执行此操作:
Names Default To Here( 1 );
dt = Current Data Table();
For Each Row(
If(
:cheese == "A", theColor = "light red",
:cheese == "B", theColor = "Black",
:cheese == "C", theColor = "Orange",
theColor = "Green"
);
Row State( Row() ) = Color State( thecolor );
);
Bivariate(
Y( :Score ),
X( :Count )
);
回复:JSL 用户定义行图例颜色另一种方法:
通过列的值颜色属性。
我希望它在 Jmp14 中可用?

回复:JSL 用户定义行图例颜色是的,数值颜色在 JMP 14 中可用。