Graph Builder(
Size( 1068, 757 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables(
X( :SSS ),
Y( :"$MLD"n ),
Y( :ChlMD, Position( 1 ) ),
Y( :depth, Position( 1 ) ),
Color( :HabitatType )
),
Elements(
Smoother( X, Y( 1 ), Y( 2 ), Y( 3 ), Legend( 15 ) ),
Points( X, Y( 1 ), Y( 2 ), Y( 3 ), Legend( 17 ) )
),
SendToReport(
Dispatch(
{},
"SSS",
ScaleBox,
{Label Row( {Label Orientation( "Vertical" ), Show Major Labels( 0 )} )}
),
Dispatch(
{},
"$MLD",
ScaleBox,
{Min( 116.734216796432 ), Max( -0.525034015687382 ), Inc( 20 ),
Minor Ticks( 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
17,
Properties( 5, {Marker( "Dot" )}, Item ID( "$MLD", 1 ) ),
Properties( 6, {Marker( "Dot" )}, Item ID( "ChlMD", 1 ) ),
Properties( 7, {Marker( "Dot" )}, Item ID( "depth", 1 ) )
)}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "depth" )} )
)
);
我不确定这是否可以在 Graph Builder 中(轻松地)完成,但是您可以使用 journal 来实现至少类似的东西如何在图形顶部移动 x 轴?
首先在图形生成器中创建图形,然后转到编辑/日志,选择 x 轴并将其移动到图形顶部。 这是一个有点 hacky 的解决方案,看起来不像图形生成器那么好(例如,刻度线在错误的一边)。 您还可以移动 x 轴标题(使其居中可能需要对显示框进行更多修改)。

您也可以在图表生成器中修改 x 轴的边距,但这取决于图表的大小,而且很可能还有更多的 hacky 选项。
谢谢回复。 我试过这个解决方案,但正如你所说,它最终破坏了图表并且看起来不准确!