你好,
我正在嘗試通過特定列中提到的標誌向行狀態添加顏色/標記。 例如,在處理城市數據集時,我為幾行創建了隨機標誌(5 種不同類別的標誌),並且大多數都是空的。 現在,這些值中的大部分都用一個黑點繪製,我對此很滿意。 但是,當我嘗試創建帶有圖例的個人價值圖時,主要問題出現了。 我不希望黑點出現在圖例上,我希望顯示 5 個不同顏色的不同類別。


dlg = Column Dialog(
yList = Col List( "Ys",
Min Col(1)
),
xList = Col List( "Xs",
Min Col(1),
Max Col(1)
),
byList = Col List( "Color/Mark By",
Max Col(1)
)
);
_files = dlg["byList"];
dt << Color or Mark by Column( _files[1], Marker Theme( "solid" ), Color Theme("JMP default") );
meas_cols = dt << Get Column Names("String");
// Get the selected X and Y columns
x_col = dlg["xList"];
y_cols = dlg["yList"];
// Create new window with a vertical list box to store graph builder objects
nw = New Window( "graphs", <<JOURNAL></JOURNAL>