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 選項。
謝謝回复。 我試過這個解決方案,但正如你所說,它最終破壞了圖表並且看起來不准確!