你好@ian_jmp和別的,
我正在嘗試編輯上面的腳本。 因此,出現了 ff 問題。
1. 輸入的數字(1、2、3、6、7)代表什麼意思?
Elements(
Line( X( 1 ), X( 2 ), X( 3 ), Y, Legend( 6 ) ),
Points( X( 1 ), X( 2 ), X( 3 ), Y, Legend( 7 ) )2. 如何在圖形產生器中新增圖例框,其中顏色由分組列決定,但連接線是單色?
我嘗試過的解決方案:
A。手動執行並儲存 JSL 腳本。 我最終得到了下面一個醜陋的腳本。
b.還沒試過。 使用 for 迴圈和 Eval(parse()) 函數簡化 (a) 中醜陋的腳本。
SendToReport(
Dispatch(
{},
"X Variable Name",
ScaleBox,
{Show Major Grid( 1 ), Show Minor Grid( 1 ),
Rotated Labels( "Perpendicular" )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
6,
Properties( 0, {Line Color( 19 )} ),
Properties( 1, {Line Color( 19 )} ),
Properties( 2, {Line Color( 19 )} ),
Properties( 3, {Line Color( 19 )} ),
Properties( 4, {Line Color( 19 )} ),
Properties( 5, {Line Color( 19 )} ),
Properties( 6, {Line Color( 19 )} ),
Properties( 7, {Line Color( 19 )} ),
Properties( 8, {Line Color( 19 )} ),
Properties( 9, {Line Color( 19 )} ),
Properties( 10, {Line Color( 19 )} ),
Properties( 11, {Line Color( 19 )} ),
Properties( 12, {Line Color( 19 )} ),
Properties( 13, {Line Color( 19 )} ),
Properties( 14, {Line Color( 19 )} ),
Properties( 15, {Line Color( 19 )} ),
Properties( 28, {Line Color( 19 )} ),
Properties( 29, {Line Color( 19 )} ),
Properties( 30, {Line Color( 19 )} ),
Properties( 31, {Line Color( 19 )} ),
Properties( 32, {Line Color( 19 )} )
), Legend Model(
7,
Base( 0, 0, 0 ),
Base( 1, 0, 0 ),
Base( 2, 0, 0 ),
Base( 3, 0, 0 ),
Base( 4, 0, 0 ),
Base( 5, 0, 0 ),
Base( 6, 0, 0 ),
Base( 7, 0, 0 ),
Base( 8, 0, 0 ),
Base( 9, 0, 0 ),
Base( 10, 0, 0 ),
Base( 11, 0, 0 ),
Base( 12, 0, 0 ),
Base( 13, 0, 0 ),
Base( 14, 0, 0 ),
Base( 15, 0, 0 ),
Base( 16, 0, 0 ),
Base( 17, 0, 0 ),
Base( 18, 0, 0 ),
Base( 19, 0, 0 ),
Base( 20, 0, 0 ),
Base( 21, 0, 0 ),
Base( 22, 0, 0 ),
Base( 23, 0, 0 ),
Base( 24, 0, 0 ),
Base( 25, 0, 0 ),
Base( 26, 0, 0 ),
Base( 27, 0, 0 ),
Base( 28, 0, 0 ),
Base( 29, 0, 0 ),
Base( 30, 0, 0 ),
Base( 31, 0, 0 ),
Base( 32, 0, 0 ),
Properties( 0, {Line Color( 0 )} )
)}
),
Dispatch(
{},
"400",
LegendBox,
{Position(
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1,
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32}
)}
)
)3. 圖形產生器中的圖例框真的是靜態的嗎? 在雙變數和變異圖中,按一下圖例方塊會反白顯示與按一下的群組相對應的點。 但是,這只是一個小問題。 我可以使用 JMP 過濾器作為此問題的替代解決方案。
非常感謝你的幫助,
夏伊拉
你好@ian_jmp和別的
我正在嘗試修改您發送的腳本,因此我可以問以下問題嗎?
1.關於這些線路
Elements<SPAN class="token punctuation">(</SPAN>
<SPAN class="token function">Line</SPAN><SPAN class="token punctuation">(</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">2</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">3</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> Y<SPAN class="token punctuation">,</SPAN> Legend<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">6</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Points<SPAN class="token punctuation">(</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">2</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> X<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">3</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> Y<SPAN class="token punctuation">,</SPAN> Legend<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">7</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN>數字參數是什麼意思? IE 數字1、2、3、6、7是什麼意思?
2. 我想透過分組列對點進行著色,但保持連接線的單一顏色,我首先嘗試手動執行此操作。 我最後給點和線都著色了。 我手動編輯它並保存腳本。 儲存的腳本看起來很難看(見下文)。 你知道 jsl 的另一種方法嗎? 我正在考慮將 for 循環和 eval(parse(string) 表達式結合起來作為備份解決方案。
{Legend Model(
6,
Properties( 0, {Line Color( 19 )} ),
Properties( 1, {Line Color( 19 )} ),
Properties( 2, {Line Color( 19 )} ),
Properties( 3, {Line Color( 19 )} ),
Properties( 4, {Line Color( 19 )} ),
Properties( 5, {Line Color( 19 )} ),
Properties( 6, {Line Color( 19 )} ),
Properties( 7, {Line Color( 19 )} ),
Properties( 8, {Line Color( 19 )} ),
Properties( 9, {Line Color( 19 )} ),
Properties( 10, {Line Color( 19 )} ),
Properties( 11, {Line Color( 19 )} ),
Properties( 12, {Line Color( 19 )} ),
Properties( 13, {Line Color( 19 )} ),
Properties( 14, {Line Color( 19 )} ),
Properties( 15, {Line Color( 19 )} ),
Properties( 28, {Line Color( 19 )} ),
Properties( 29, {Line Color( 19 )} ),
Properties( 30, {Line Color( 19 )} ),
Properties( 31, {Line Color( 19 )} ),
Properties( 32, {Line Color( 19 )} )
), Legend Model(
7,
Base( 0, 0, 0 ),
Base( 1, 0, 0 ),
Base( 2, 0, 0 ),
Base( 3, 0, 0 ),
Base( 4, 0, 0 ),
Base( 5, 0, 0 ),
Base( 6, 0, 0 ),
Base( 7, 0, 0 ),
Base( 8, 0, 0 ),
Base( 9, 0, 0 ),
Base( 10, 0, 0 ),
Base( 11, 0, 0 ),
Base( 12, 0, 0 ),
Base( 13, 0, 0 ),
Base( 14, 0, 0 ),
Base( 15, 0, 0 ),
Base( 16, 0, 0 ),
Base( 17, 0, 0 ),
Base( 18, 0, 0 ),
Base( 19, 0, 0 ),
Base( 20, 0, 0 ),
Base( 21, 0, 0 ),
Base( 22, 0, 0 ),
Base( 23, 0, 0 ),
Base( 24, 0, 0 ),
Base( 25, 0, 0 ),
Base( 26, 0, 0 ),
Base( 27, 0, 0 ),
Base( 28, 0, 0 ),
Base( 29, 0, 0 ),
Base( 30, 0, 0 ),
Base( 31, 0, 0 ),
Base( 32, 0, 0 ),
Properties( 0, {Line Color( 0 )} )
)}3. 圖形產生器中的圖例是靜態的(即,如果我單擊某個群組,它不會突出顯示與其對應的點)。 這是雙變量和變異圖中的一個非常好的功能。 有解決方法嗎? 這只是小事,如果沒有解決方法,我可以使用 JMP 過濾器來完成此任務。
非常感謝,
夏伊拉