这是JSL样本。我想在绘制带有样本数据的图形时更改Y轴表达式。我想帮助改变Y轴上GROUP_Y的轴对齐从底部到顶部1 - > 10。我感谢你们所有人。
-------
发布后,我解决如下。
Group Y( :GROUP_Y, Levels( 100 ), Order By( :GROUP_Y, descending) )
我正在尝试删除帖子。
-------
DS = New Table( "Sample_Data",
Add Rows( 300 ),
New Column( "X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 1000 ) ),
Set Property( "Axis", {} )
),
New Column( "Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 1000 ) )
),
New Column( "GROUP_X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Ceiling( :X / 100 ) ),
Set Selected
),
New Column( "GROUP_Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Ceiling( :Y / 100 ) )
),
New Column( "LEVEL",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Random Integer( 3 ) ),
)
);
DS << Graph Builder(
Size( 716, 645 ),
Show Control Panel( 0 ),
X Group Edge( "Bottom" ),
Y Group Edge( "Left" ),
Variables(
X( :X ),
Y( :Y ),
Group X( :GROUP_X, Levels( 100 ) ),
Group Y( :GROUP_Y, Levels( 100 ) ),
Color( :Level )
),
Elements( Points( X, Y, Legend( 12 ) ) )
);