Update Color Schemes for Java Graphics Device

DESCRIPTION:

The color scheme update functions allow you to keep the color scheme information in Spotfire S+ and the java.graph device consistent when working from the command line.

USAGE:

java.colorscheme.update.java(check.cache=T)
java.colorscheme.update.splus()

OPTIONAL ARGUMENTS:

check.cache
a logical flag; if TRUE (the default), the current cached settings of the color scheme information are compared to the new values before the update is performed. If there are no differences, the update is not performed.

VALUE:

NULL

SIDE EFFECTS:

For java.colorscheme.update.java, the java.graph device is updated with the settings for Java color schemes from the Spotfire S+ engine. For java.colorscheme.update.splus , the Spotfire S+ engine settings are updated based on the Java settings, and the Java settings are checked to make sure they match the engine settings.

DETAILS:

Normally, you don't need to know about these functions. If you are just adjusting the colors of a given graph, these simply modify the color scheme associated with the graph. Cases where these become important are:

1. If you programmatically modify the S-PLUS java.colorscheme.XXX variables, you need to call java.colorscheme.update.java to see these changes in the Java color scheme dialogs.

2. If you select the "Set Default Color Scheme" or "Set Other Color Scheme..." buttons in the "Set Color Scheme" dialog, you will change the information in Java. You then need to call java.colorscheme.update.splus from Spotfire S+ to update the default color scheme values in the Spotfire S+ engine.

SEE ALSO:

EXAMPLES:

java.graph()
fix(java.colorscheme.trellis)
# make some changes
java.colorscheme.update.java()