如果您在JMP中有現有圖形,請使用紅色三角形菜單並重做 - >重新啟動 - >確定以查看交互式構建器,或將腳本保存到腳本窗口以獲取腳本以重現它。
在Graph Builder中,從頭開始,將變量拖動到拖放區域並選擇熱圖樣式(如果出現點,則關閉其他樣式。)
Graph Builder圖形生成器
此腳本構建測試表並運行圖形構建器腳本。使用筆和日期的序數使軸的行為符合您的預期。
dt = New Table( "Untitled 2",
Add Rows( 0 ),
New Column( "date", Numeric, "ordinal", Format( "y/m/d", 12 ) ),
New Column( "pen", Numeric, "ordinal", Format( "Best", 12 ) ),
New Column( "location", Character, "Nominal" ),
New Column( "temp", Numeric, "Continuous", Format( "Best", 12 ) )
);
For( t = Today(), t <= Today() + In Days( 10 ), t += In Days( 1 ),
For( p = 1, p <= 20, p += 2,
For( io = 0, io <= 1, io += 1,
dt << addrows( 1 );
dt:date = t;
dt:pen = p;
dt:location = If( io, "inside", "outside" );
dt:temp = p + 10 * io + Random Integer( 0, 9 );
)
)
);
dt << Graph Builder(
Size( 476, 580 ),
Show Control Panel( 0 ),
Variables( X( :date ), Y( :pen ), Group Y( :location ), Color( :temp ) ),
Elements( Heatmap( X, Y, Legend( 42 ) ) )
);
Heat map熱圖
非常感謝你幫助我。
我很難用筆數:我的數據記錄器是在筆外分配的:1,4,6,8,10,11,13,15,17和20。
能告訴我如何在Y軸上只顯示這支鋼筆嗎?
我一直試圖在軸設置中這樣做,但沒有運氣..

嘗試製作筆(也可能是日期)順序。
click the icon to change the modeling type單擊圖標以更改建模類型
刪除筆3和5後,我得到了這個軸
3 and 5 are gone3和5都沒了
我認為你仍在使用連續建模類型。