有谁知道如何让 PlotCol Box 生成我们在 Fit Y by X 中的均值比较中看到的置信带/条形图? 示例如下:


你好@迈克D_安德森,
下面的 JSL 怎么样?
nw = New Window( "Example",
Table Box( pcb1 = Plot Col Box( "Interval", {25, 40, 5, 10, 10, 5} ) ),
Table Box( pcb2 = Plot Col Box( "Bar", {25, 45, 5, 10, 10, 5} ) )
);
//Interval
pcb1 << Lower( [20, 30, 0, 5, 5, 0] );
pcb1 << Upper( [30, 50, 10, 15, 15, 10] );
pcb1 << Set Plot Style( Interval );
//Bar
pcb2 << Lower( [20, 30, 0, 5, 5, 0] );
pcb2 << Upper( [30, 50, 10, 15, 15, 10] );
pcb2 << Set Plot Style( Bar );
我希望它有帮助。
来自脚本索引:
Names Default To Here( 1 );
dt = Open( "$sample_data\World Demographics.jmp" );
New Window( "World Population",
Table Box(
"test",
String Col Box( "Territory",
:Territory << get values
),
pcb =
Plot Col Box( "Population",
dt:Name( "Population (1000)" ) <<
get values
)
)
);
pcb << Set Axis(
Min( 0 ),
scale( "log" ),
Format( "Best", 6 ),
Inc( 1 ),
Minor Ticks( 1 )
);
pcb << set axis position( "Bottom" );
pcb << set width( 300 );
pcb << set plot style( "Interval" );
pcb << set scrollable( 25 );
我注意到在一般轴框设置中,您可以指定对数刻度的基数。 这可以通过 Plot Col Box 轴来完成吗?
不,我认为您无法更改用于缩放该图的对数的底数。 您在哪里看到这个功能? 你有例子吗?