I just created some random data with a plot made in graph builder.
The first script generates the plot as it would do when I normally start graph builder.
The second script changes the dimensions of the plot and the fonts for all elements one by one.
What I'd like to have in the end is a script which I can just use on almost any plot to add arrowheads to axis with continuous data and change size and all used fonts. Ten either manually export the plot or have a separate script which exports the plot as pdf file.
2nd script:
Graph Builder(
Size( 1535, 865 ),
Variables( X( :x ), Y( :y ) ),
Elements( Points( X, Y, Legend( 3 ) ) ),
SendToReport(
Dispatch(
{},
"x",
ScaleBox,
{Label Row( {Set Font( "CMU Serif" ), Set Font Size( 14 )} )}
),
Dispatch(
{},
"y",
ScaleBox,
{Label Row( {Set Font( "CMU Serif" ), Set Font Size( 14 )} )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Font( "CMU Serif" ), Set Font Size( 14 )}
),
Dispatch(
{},
"X title",
TextEditBox,
{Set Font( "CMU Serif" ), Set Font Size( 14 )}
),
Dispatch(
{},
"Y title",
TextEditBox,
{Set Font( "CMU Serif" ), Set Font Size( 14 )}
),
Dispatch( {}, "400", LegendBox, {font( "CMU Serif", 14, "Plain" )} )
)
)