I have a fairly simple problem, but cannot find the answer in the scripting guide. I created a temperature graph in graph builder using hourly temperature data. I used a line graph to show the daily mean and added error bars to show the range of daily temperatures. The error bars are the same color as the line graph which makes the mean line hard to see. To get around this, I right-click on the graph and select "customize". From the customize window, I can change the color of the error bars from black to gray and move up error bar in the drawing order. This makes the graph exactly how I want it. However, the customizations do not get carried over to the script. Whenever I save the script and run it again or change the date range of the graph, it goes back to the way it was before I customized it. Is there a way I can save these customizations in the script?
The following example script demonstrates how you can use XPath() to navigate the XML representation of the display tree to set the desired line color for the error bars. I will report to the JMP Development team that saving the script does not retain the error bar colors.