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

Home » Public Forums » archive » Multiple instances of usersym in legend
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: Multiple instances of usersym in legend [message #49438 is a reply to message #49344] Thu, 20 July 2006 12:59 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <1153412265.928169.121390@75g2000cwc.googlegroups.com>,
Jonathan Wolfe <vorticitywolfe@gmail.com> wrote:
> Hello,
>
> I'm trying to use multiple instances of usersym in the famous
> legend.pro by Fred Knight. However, once you define usersym it sticks
> and I can't figure out a way to allow it to reset for the following
> line.
>
> usersym,[ -1, 1, -1, -1 ], [1, 0, -1, 1 ]
> ;usersym,[ -1, 1, -1, -1 ], [1, 0, -1, 1 ]
> legend,['square','right triangle'],psym=[8,8], /fill
>
> this works and plots two squares, but I want the second square to be a
> filled right triangle for example.
>
> Can anyone point me in the right direction?
>
> Thanks for your help!

See the example in the legend.pro header that makes use of the corners keyword and legend is called
twice so you change the usersym in between. You'll also have to manually create the box around
the legend with the plots command as they do in the example.


Hope that helps,

--Mike

--
Michael Chinander, PhD
m-chinander@uchicago.edu
Department of Radiology
University of Chicago
[Message index]
 
Read Message
Read Message
Previous Topic: IDL syntax coloring for BBEdit and TextWrangler
Next Topic: Multiple Spawn Commands

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

Current Time: Sat Oct 11 15:31:12 PDT 2025

Total time taken to generate the page: 0.89760 seconds