我希望在 x 軸上設定一組特定的刻度線,分別代表測量月份,而且這些月份並不固定。我找不到如何指定刻度線的位置,例如,如何傳入包含數值的向量。
請問有人能提供一下具體操作方法嗎?或者告訴我這是不可能的,讓我放棄吧…
感謝您抽出時間解答,至少我忽略了顯而易見的問題。
我找到了解決方法,方法如下:
//It was necessary to print them and copy paste the result, as when i was using the variables timeticks and timetickslabel I was able to make JMP crash
//timeticks=aslist(concat(0,2::94::4,96))[1];
//timeticks_labels=list();
//for(ii=1,ii<=length(timeticks),ii++,timeticks_labels[ii]=char(timeticks[ii]));
sct << New Column( "AWK",
numeric,
continuous,
formula( ADY / 7 ),
Set Property(
"Axis",
{Min( -2 ), Max( 100 ), Minor Ticks( 1 ),
Tick Label List(
{"0", "2", "6", "10", "14", "18", "22", "26", "30", "34", "38", "42", "46",
"50", "54", "58", "62", "66", "70", "74", "78", "82", "86", "90", "94",
"96"},
{0, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70,
74, 78, 82, 86, 90, 94, 96}
)}
)
);