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

Home » Public Forums » archive » 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
usersym keywords -- why? [message #63436] Mon, 10 November 2008 15:04 Go to previous message
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Hi all,

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.

cheers
chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and sqlite
Next Topic: Re: linfit with string time array (x)

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

Current Time: Sat Oct 11 07:54:05 PDT 2025

Total time taken to generate the page: 1.12380 seconds