Example 1: Styles that Apply to the Entire Graph

If a variety of customizations have been applied to a graph using the options in the Graph Options dialog, the graph style can be saved and then applied with new data to completely reproduce the appearance of the customized graph. As an example, use the Adstudy.sta file to create a 2D scatterplot with the default linear fit applied from the Graphs menu (Measure01 and Measure02 were used in the graph below).

 

The saved graph style incorporates both the creation and customization features of the graph.

When you click the OK button, STATISTICA will ask you to select variables for the graph, and then will produce a new scatterplot with the background colors, marker shape and color, and gridline type, thickness, and color defined by the saved style.

Note that this graph style can also be instantly applied to future scatterplots after creation by selecting the saved NewColorScatterplot style from the Graph Styles box on the Graph Tools toolbar with the graph active.

Note also that a graph style specified in the Use graph style box on the Appearance tab of a graph creation dialog will be saved with the graph creation specifications if the graph is saved as a user-defined graph via the Add As User-defined Graph to Menu button on the Options 2 tab of the graph creation dialog.