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 #49950 is a reply to message #49939] Sat, 26 August 2006 06:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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 22:09:17 PDT 2025

Total time taken to generate the page: 1.60238 seconds