JSL:佈局(「按行排列」)在透過腳本編寫日誌時遺失親愛的 JMP 社群:
我在編寫腳本時偶然發現了以下問題(附範例):
- 如果我使用以下腳本,“jrn1 << Journal;”結果傳輸到日誌,但沒有「Group Options( Layout( 'Arrange in Rows', N Across( 2 ) ) ),」。
- 如果我使用手動選項(編輯>>日記或Crtl + J),則保留兩列佈局。
是否有另一種“日誌語法”保留了我不知道的佈局,或者這是一個錯誤?
除了透過「H 列錶框 ()」格式化日誌佈局之外,我還有其他選擇嗎?
最好的,
施特菲
kin1 = current data table();<BR /><BR />jrn1 = kin1 << Bivariate(
Y( :response ),
X( :time),
Size(400, 325),
Fit Each Value( {Line Color( {212, 73, 88} )} ),
By( :ID ),
Group Options( Layout( "Arrange in Rows", N Across( 2 ) ) ),
);
Current Report()[OutlineBox(1)] << setTitle("Kinetics"); //Adjust the header retroperspectively
jrn1 << Journal;吉恩
自動化和腳本編寫回覆:JSL:佈局(「按行排列」)在透過腳本編寫日誌時遺失jrn1 將包含雙變數平台的多個引用,您只想使用其中之一(或甚至更高層級)。例如,您可以像這樣修改腳本
Names Default To Here(1);
kin1 = Current Data Table();
jrn1 = kin1 << Bivariate(
Y(:response),
X(:time),
Size(400, 325),
Fit Each Value({Line Color({212, 73, 88})}),
By(:ID),
Group Options(Layout("Arrange in Rows", N Across(2))),
);
Current Report()[Outline Box(1)] << setTitle("Kinetics"); //Adjust the header retroperspectively
(jrn1[1] << Top Parent)<< Journal;

回覆:JSL:佈局(「按行排列」)在透過腳本編寫日誌時遺失保存日記覆蓋 Fit Group 的圖表與此類似,但如果我沒記錯的話,還有一種更好的方法,但很難找到或記住...如果我設法找到它,我將編輯此回應。
編輯:終於找到了。 (在我看來)很難找到,但它是:在群組選項上使用Return Group(1) (我已將其添加到我的個人提示和技巧文件中,因此希望下次有人遇到類似問題時我會發現它更容易)
Names Default To Here(1);
kin1 = Current Data Table();
jrn1 = kin1 << Bivariate(
Y(:response),
X(:time),
Size(400, 325),
Fit Each Value({Line Color({212, 73, 88})}),
By(:ID),
Group Options(Layout("Arrange in Rows", N Across(2)), Return Group(1)),
);
Current Report()[Outline Box(1)] << setTitle("Kinetics"); //Adjust the header retroperspectively
jrn1 << Journal;
Names Default To Here(1);
Open Help(
"Scripting Index",
Search(
Term("Group Options"),
Match(
{"Contains Terms",
"Match All Terms",
"Ignore Case"}
)
),
IndexContext(
Category("All Categories"),
Object("Search results"),
Method("Group Options")
)
);
