Re: number keyword in legend [message #78667 is a reply to message #78666] |
Fri, 16 December 2011 09:10   |
simona bellavista
Messages: 56 Registered: December 2009
|
Member |
|
|
OK,
but the bottom line is:the number keyword cannot decrease the length
of my lines under a certain value.
this value is set by charsize, in the sense that:
charsize increases ----> length of lines increases
On Dec 16, 6:02 pm, David Fanning <n...@dfanning.com> wrote:
> simona bellavista writes:
>> 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$
>
> Now that I look more closely at your error, I would
> say you need to update your Coyote Library ASAP. LOTS
> of new features for you! ;-)
>
> http://www.idlcoyote.com/programs/zip_files/coyoteprograms.z ip
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|