Matt,
Try the attached script. You will need to change the path, if you do not have a c:/temp/ drive. Check to see if the color of the saved was removed.
Based upon experience, I have seen only these problems regarding colors:
- The script is run, and before the save picture, a data table clear rows states is called. In the script, you will see the statements varpic = report(varchart)[OutlineBox(2)] and bivpic = report(biv)[OutlineBox(1)]. Often people new to JSL think that this is capturing the graph as is, but in fact it is only creating a handle to the active (live) window. So any changes to the data table row states will be reflected on the graph when the save occurs.
- Graph customizations are made to the frame box using variables. Those variables (not their values) are stored. If the variables change or are deleted prior to saving the picture they will not show up in the picture.
- There was one instance about 8 years ago, where JMP output as well as other statistical graphic output always came out black and white. It was on a server where a default printer or graphics card had not been defined. I saw this only once.
So if the attached script saves the colors, and you are saving the pictures before closing or changing row states, then it might be the way you reference the graphs. If the colors are stripped from the twopics.png, then it is a system thing.
You should note your OS and version of JMP. Good Luck