Re: number keyword in legend [message #78671 is a reply to message #78670] |
Fri, 16 December 2011 08:49   |
simona bellavista
Messages: 56 Registered: December 2009
|
Member |
|
|
> I would say you probably have a programmer error. :-)
Ok, it is more than possible that I did some mistakes. But look, I
tried the function in the interactive shell
(I work on linux, just to specify, and again in IDL v7.0)
IDL> window, 0, retain=2
IDL> plot, dindgen(100)
IDL> al_legend,['Plus sign','Asterisk','Period'],psym=[1,2,3]
% Compiled module: AL_LEGEND.
% Compiled module: SETDEFAULTVALUE.
% Compiled module: CGPLOTS.
% Compiled module: SETDECOMPOSEDSTATE.
% Compiled module: DECOMPOSEDCOLOR.
% Compiled module: CGCOLOR.
% Compiled module: STRSPLIT.
% Compiled module: CGSNAPSHOT.
% Compiled module: SYMCAT.
% Compiled module: CGTEXT.
% Compiled module: CGDEFCHARSIZE.
% Compiled module: STR_SIZE.
% Compiled module: ERROR_MESSAGE.
Traceback Report from CGTEXT:
% Keyword ADDCMD not allowed in call to: XYOUTS
% Execution halted at: CGTEXT 258 /mypath/idl/coyote/
cgtext.pro
% AL_LEGEND 492 /mypath/idl/Default/
al_legend.pro
% $MAIN$
% Variable is undefined: WIDTH.
% Error occurred at: AL_LEGEND 494
/mypath/idl/Default/al_legend.pro
% $MAIN$
% Execution halted at: $MAIN$
IDL>
|
|
|