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

Home » Public Forums » archive » Re: Thicker points
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Thicker points [message #53997] Tue, 15 May 2007 11:31
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Quoth David Fanning:

> Christopher Thom writes:
>
>> This is very similar to a thread earlier this morning. I'm plotting a
>> whole bunch of points, as points (psym = 3). Together, all these points
>> make up a straight line, but there are aribtrary gaps in the lines.
>>
>> i.e.
>>
>> y = something
>> x = where(mask eq 1, nx)
>> if nx gt 0 then oplot, x, replicate(y, nx), ps = 3
>>
>> But my collaborator would like thicker lines...which I can do for
>> everything in my plot *except* the points above. setting !p.symsize = 50,
>> or whatever, doesn't seem to help for plotting with periods.
>>
>> Does anyone know how to make thicker "points"? I guess I could turn the
>> list of points into a series of connected points, and draw straight line
>> sections...but that could end up a bit messy.
>
> You could try creating your own symbols. Something like
> this seems to work OK with SYMCAT:
>
> IDL> Plot, findgen(11), PSym=SymCat(15), SymSize=0.4
>
> You can find SYMCAT here:
>
> http://www.dfanning.com/programs/symcat.pro

Excellent! I think I shall make heavy use of this little gem.

cheers
chris
Re: Thicker points [message #53998 is a reply to message #53997] Tue, 15 May 2007 09:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Christopher Thom writes:

> This is very similar to a thread earlier this morning. I'm plotting a
> whole bunch of points, as points (psym = 3). Together, all these points
> make up a straight line, but there are aribtrary gaps in the lines.
>
> i.e.
>
> y = something
> x = where(mask eq 1, nx)
> if nx gt 0 then oplot, x, replicate(y, nx), ps = 3
>
> But my collaborator would like thicker lines...which I can do for
> everything in my plot *except* the points above. setting !p.symsize = 50,
> or whatever, doesn't seem to help for plotting with periods.
>
> Does anyone know how to make thicker "points"? I guess I could turn the
> list of points into a series of connected points, and draw straight line
> sections...but that could end up a bit messy.

You could try creating your own symbols. Something like
this seems to work OK with SYMCAT:

IDL> Plot, findgen(11), PSym=SymCat(15), SymSize=0.4

You can find SYMCAT here:

http://www.dfanning.com/programs/symcat.pro

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. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Thicker points
Next Topic: Re: Interesting property of sort

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

Current Time: Sun Oct 12 11:55:20 PDT 2025

Total time taken to generate the page: 1.36145 seconds