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

Home » Public Forums » archive » Re: usersym keywords -- why?
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: usersym keywords -- why? [message #63429 is a reply to message #63427] Tue, 11 November 2008 00:57 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning schrieb:
> Christopher Thom writes:
>
>> Debugging some code today, I discovered what I would consider to be
>> strange behaviour. Although...maybe this is a "feature". Consider the
>> following:
>>
>> usersym, [ -1, 0, 1, -1 ], [ 1, -1, 1, 1 ], thick = 20
>> plot, findgen(10), ps=8, thick = 2
>>
>> Is there any reason why usersym accepts thickness and color keywords? And,
>> more importantly, why the keywords passed to plot/oplot don't over-ride
>> them?
>>
>> I was using some symbols from the awesome symcat() library [thanks david!]
>> when I discovered this. The only workaround I could come up with was to
>> extend symcat() to accept and pass _extra keywords to usersym...which now
>> gives me the even more confusing:
>>
>> plot, findgen(10), ps = symcat(11, thick = 20), thick = 2
>>
>> If anyone can see a sane or (better!) elegant solution to the thickness
>> madness I've been having all afternoon, I'd love to hear of it.
>
> I can't really make out what you think the problem is.
> I think IDL is doing exactly the right and expected thing
> here: if I make a user symbol, I don't want someone outside
> messing around with it.
>
> Why did you have to extend SYMCAT? It already takes the THICK
> keyword.
>
> Cheers,
>
> David
>

Just a quick question why isn't it passed by _EXTRA ?

Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: latitude, longitude and a data point
Next Topic: Re: IDL and sqlite

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

Current Time: Sun Oct 12 05:49:03 PDT 2025

Total time taken to generate the page: 1.51947 seconds