Many thanks to David Smith for his response to my request regarding image
colors. I tried his recommendation (below) and it works perfect
Simon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Windows, the trick is to use the image.color.table argument to
graphsheet(). For example:
graphsheet(num.image.colors = 3, num.image.shades = "5,15",
image.color.table = "0,0,0|255,0,0|255,255,255")
creates a new graphsheet window, where image() creates plots with
shades of white through red to black. You can also do this through
the GUI by modifying one of the built-in color schemes with
"Options | Color Schemes" -- "User 1" is a good choice, and be sure
to look at the Image Colors tab and make changes to the User 1 section.
You then need to call graphsheet() with the image.color.scheme option:
graphsheet(image.color.scheme="user 1")
Using this method isn't portable though if you want to share your code with
someone else (who won't have the same settings for the User 1 color scheme).
Use the first method above for portability.
# David Smith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
|