cgHistoplot colors [message #80210] |
Tue, 22 May 2012 10:13 |
willettk
Messages: 20 Registered: October 2006
|
Junior Member |
|
|
Hello,
I just re-downloaded the entire Coyote library (May 22, 2012 version), and am having a significant problem with the background color in cgHistoplot. Starting a fresh new IDL session, I type in:
IDL Version 8.1, Mac OS X (darwin x86_64 m64). (c) 2011, ITT Visual Information Solutions
IDL> cghistoplot,indgen(10)
% Compiled module: CGHISTOPLOT.
% Compiled module: CGDEFCHARSIZE.
% Compiled module: STR_SIZE.
% Compiled module: CONVERT_TO_TYPE.
% Compiled module: CGDEFAULTCOLOR.
% Compiled module: GETDECOMPOSEDSTATE.
% Compiled module: DECOMPOSEDCOLOR.
% Compiled module: SETDECOMPOSEDSTATE.
% Compiled module: CGDISPLAY.
% Compiled module: CGQUERY.
% Compiled module: CGERASE.
% Compiled module: CGCOLOR.
% Compiled module: CGSNAPSHOT.
% CGCOLOR: Can't find color BACKGROUND. Substituting 'OPPOSITE'.
IDL>
And I get a black background with no visible text or axes and red as the datacolor. Repeating the command with the same window open, the background switches to white, but no text or axes are visible.
I'm guessing that there's something odd in the way that cgColor is picking its default, but I can't locate the problem. It does work if I define BACKCOLORNAME while starting the plot. This seems to be cgHistoplot-specific -- cgPlot works perfectly. Any suggestions?
-thanks,
kw
|
|
|