comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to simplify or mesh a IDLgrLegend Obj ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to simplify or mesh a IDLgrLegend Obj ? [message #65260 is a reply to message #65253] Tue, 17 February 2009 21:06 Go to previous messageGo to previous message
dosfun is currently offline  dosfun
Messages: 14
Registered: February 2009
Junior Member
On 2月18日, 上午11时44分, David Fanning <n...@dfanning.com> wrote:
> dos...@163.com writes:
>> I have created a legend which include many items, how can I simpkify
>> this legend? I mean to make this big legend into some small legends.
>> Thank you for any tips.
>
>> my code is like this:
>
>> ....
>> nameList = ['a', 'b', 'c']
>> objList = [symbol_1, symbol_2, symbol_3]
>
>> oLegend = Obj_New('IDLgrLegend' , $
>> Item_Name = nameList, $
>> Item_Obj = objList, $
>> /Recompute )
>
> Uh, maybe you could subscript your arrays. :-)
>
> oLegend = Obj_New('IDLgrLegend' , $
> Item_Name = nameList[0:1], $
> Item_Obj = objList[0:1], $
> /Recompute )
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks,

But what I really want is to break the legend into separate parts,
then I can move the separated legends one by one.

;; I plan to use
oLegend->Break, objList = objList


Cheers.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: another IDL oddity
Next Topic: Re: get LAT/LON from georef image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:29:44 PDT 2025

Total time taken to generate the page: 0.00364 seconds