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

Home » Public Forums » archive » Re: a legend for user-defined symbols
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: a legend for user-defined symbols [message #49939] Mon, 28 August 2006 09:26 Go to previous message
Dilkushi@gmail.com is currently offline  Dilkushi@gmail.com
Messages: 21
Registered: August 2006
Junior Member
Dear Dr. Fanning
excellent. It works just great..
I appreciate your time and gesture
Sincerely
Dilkushi de Alwis
Postdoctoral Visiting Scientist
NOAA
5200 Auth Rd
Camp Springs, MD 20746-4304

David Fanning wrote:

> Dilkushi@gmail.com writes:
>
>> i have 3 user-defined symbols how do i create a legend?
>
> I think in general, you would do something like this, probably
> three times:
>
> x = [0.0, 0.5, -0.8, 0.8, -0.5, 0.0]
> y = [1.0, -0.8, 0.3, 0.3, -0.8, 1.0]
> UserSym, x, y, /Fill
> Plot, Findgen(11), PSym=-8, SymSize=2.0
> PlotS, [0.2, 0.3], [0.85, 0.85], PSym=-8, SymSize=2.0, /Normal
> XYOuts, 0.33, 0.845, 'This is the star line', /Normal
>
> 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. (Opata Indian saying, meaning "Perhaps thou
> speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Changing the color of area outside the "projected" map area
Next Topic: Re: Changing the color of area outside the "projected" map area

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

Current Time: Sat Oct 11 13:57:39 PDT 2025

Total time taken to generate the page: 2.07807 seconds