嗨!
1)
我有一个列有两个不同名称的数据(取决于我使用的数据)。
它被称为“存储条件”或“温度”。
我使用图形构建器创建了一个图形并保存了脚本,但我想为我正在使用的每个数据库使用相同的脚本。
我试着添加|到脚本 - 但它似乎不起作用。
有任何想法吗?
Graph Builder(
Variables(
X( :Sample name ),
Y( :Name( "main peak (%)" ) ),
Y( :Name( "aggregate (%)" ), Position( 1 ) ),
Y( :Name( "degradation (%)" ), Position( 1 ) ),
Group X( <FONT color="#FF0000">:Storage condition | :Temperature,</FONT> N View Levels( 1 ), First View Level( 3 ) ),
Group Y( :Time point, N View Levels( 1 ), First View Level( 4 ) )
),
Elements(
Bar(
X,
Y( 1 ),
Y( 2 ),
Y( 3 ),
Legend( 14 ),
Bar Style( "Stacked" ),
Label( "Label by Value" )
)
),
SendToReport(
Dispatch(
{},
"main peak (%)",
ScaleBox,
{Min( 90 ), Max( 101 ), Inc( 1 ), Minor Ticks( 1 )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch(
{},
"Y title",
TextEditBox,
{Set Text( "Relative peak area (%)" )}
)
)
)2)
我有一个堆叠的酒吧,我按价值添加了标签。
但是,当我改变比例(Y轴)时,没有显示较低的值(但是当比例未改变时显示)。
我可以以某种方式从95-100获得Y轴刻度,但仍能看到这两个值吗?

谢谢!:)
所有需要完成的工作是确定已提取的列,然后在脚本中指定它。 这是我对你的脚本的修改:
names default to here(1);
dt=current data table();
If(try(dt:sex<<GET name=""></GET>
关于堆叠条问题,我建议您联系JMP支持
support@jmp.com
你好,
谢谢你,但它似乎只有在我有“存储条件”而不是“温度”时才能工作。
如果我有“存储条件”或“温度”,我是否应该总是更改脚本?或者我可以在脚本“存储条件”或“温度”?
谢谢!
在具有“温度”列的数据表上运行脚本时,JMP日志中指定了哪些错误?
对不起,我的意思是相反 - 它适用于Temp而不是Storage Cond
我的错误.....我没有改变它从有条件检查的列...尝试此代码
names default to here(1);
dt=current data table();
If(try(dt:Storage condition<<GET name=""></GET>