等高线图对于显示3D地图非常有用,但是定义区域的问题始终是一个麻烦。
在我的典型 jsl 图中,我使用下面的内容来定义轮廓图区域号 = 8、最大值 = 1.4、最小值 = 1。
但是,表格列:长度可能会随时间而变化,并且必须针对每个相应的图手动修改比例。
有人有经验如何创建一些 jsl 来定义轮廓图的最小值和最大值吗?
理想情况下,按年龄组定义最小值 = 25%分位数[长度],最大值 = 75%分位数[长度]是合理的。
谢谢你的帮助
Contour Plot(
SendToByGroup( {:split== "age"} ),
X( :x, :y ),
Y( :Length),
Show Data Points( 0 ),
Fill Areas( 1 ),
Label Contours( 0 ),
Transform( "None" ),
Color Theme( "Spectral" ),
Specify Contours(
Min( 1 ),
Max( 1.4 ),
N( 8 ),
Contour( 1, 1, -6947008 ),
Contour( 2, 1.05714285714286, -1527295 ),
Contour( 3, 1.11428571428571, -42680 ),
Contour( 4, 1.17142857142857, -52812 ),
Contour( 5, 1.22857142857143, -5497088 ),
Contour( 6, 1.28571428571429, -14668544 ),
Contour( 7, 1.34285714285714, -15435520 ),
Contour( 8, 1.4, -16463106 ),
Contour( 9, 1.4, -10363169 )
));