Re: number keyword in legend [message #78670 is a reply to message #78669] |
Fri, 16 December 2011 09:00   |
simona bellavista
Messages: 56 Registered: December 2009
|
Member |
|
|
of course, I just needed an updating. I wonder what's wrong today ...
btw, have a nice day
I'll do it another time
On Dec 16, 5:49 pm, simona bellavista <afy...@gmail.com> wrote:
>> 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>
|
|
|