<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />嗨,
有沒有辦法在熱圖顯示中渲染更複雜的東西,比如字形。
字形將位於相應的單元格中,並允許同時查看更多值。
我正在考慮一個內外矩形字形,例如這裡(最左邊部分)
https://www.ukp.tu-darmstadt.de/fileadmin/user_upload/Group_UKP/Visualization/Vis-Streifen.png
謝謝邁克爾
我認為這是不可能的,因為Graph Builder只能有一個顏色變量並且沒有覆蓋熱圖,但後來我嘗試將方形標記與熱圖結合起來,它創造了所需的效果。我不確定它是否在感知上有效,但您可以嘗試使用不同的尺寸/標記組合來查看是否可以傳達您的信息。
主要技巧是為行指定顏色(使用Rows> Color或Mark by Column)並告訴Graph Builder中的Points元素忽略顏色角色中的變量(Properties> Points> Variables> untick C2),這樣只有熱量map元素使用它。下面的腳本。

New Table( "double heat",
New Column( "X1", Nominal, Set Values( Mod( 0 :: 59, 6 ) + 1 ) ),
New Column( "X2", Nominal, Set Values( Floor( (0 :: 59) / 6 ) + 1 ) ),
New Column( "S1", Formula( Random Uniform() ) ),
New Column( "C1", Formula( Random Uniform() ) ),
New Column( "C2", Formula( :C1 + Random Normal() / 5 ) )
);
Current Data Table() << Run Formulas();
// change the rows to use square markers (could be anything)
For Each Row( Row State( Row() ) = Marker State( "Filled Square" ) );
// Color each row marker based on column C1
Current Data Table() << Color by Column( :C1, Color Theme( "Blue to Gray to Red" ) );
Graph Builder(
Size( 257, 422 ), Show Control Panel( 0 ),
Variables( X( :X1 ), Y( :X2 ), Color( :C2 ), Size( :S1 ) ),
Elements(
Heatmap( X, Y, Legend( 13 ) ),
Points( X, Y, Color( 0 ), Legend( 12 ) )
),
SendToReport( Dispatch( {}, "400", ScaleBox,
{Legend Model( 12, Properties( 0, {Marker Size( 6 )} ) )}
) )
)