import Graph def Execute(action): Graph.Axes.xAxis.ShowNegativeArrow = True Graph.Axes.yAxis.ShowNegativeArrow = True Graph.Redraw() Action = Graph.CreateAction(Caption="Arrows on Axes", OnExecute=Execute) Graph.AddActionToMainMenu(Action)