在jsl編輯變量字符如何在創建可變性圖之後更改它的比例。我需要先創建繪圖,然後將刻度更改為稍後記錄。
以下是我當前的嘗試,但它不會更改為日誌圖。
cc2 = Variability Chart(
Y( :Data ),
X( :Trend, :Group ),
Std Dev Chart( 0 ),
Points Jittered( 0 ),
Show Box Plots( 1 ),
);
if (log_plot_needed,
//change scale of plot to log
report(cc2)[scalebox(1)] << set scale({scale("Log")}; //this line is not correct.
);
此外,這可能超出了問題的範圍,但有沒有辦法確定如何更改任何圖表的項目?我經常使用圖形上的“保存腳本”選項來幫助我找到jsl代碼,但這只有在我一次創建圖形時才有用。 我不確定如何在不查看每個圖表的情況下更改圖表。
Re:在jsl中編輯變量字符謝謝。 這正是我所需要的。 我不知道Scripting Index就在那裡,但它在未來應該非常有用。
Re:在jsl中編輯變量字符這是更正後的腳本,以及指向腳本索引中引用的指針。 更改是對AxisBox()而不是ScaleBox()
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
cc2 = Variability Chart(
Y( :height ),
X( :sex ),
Std Dev Chart( 0 ),
Points Jittered( 0 ),
Show Box Plots( 1 ),
);
log_plot_needed=1;
if (log_plot_needed,
//change scale of plot to log
report(cc2)[axisbox(1)] << scale("Log");
);
