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

Home » Public Forums » archive » Re: circle plot symbol
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: circle plot symbol [message #20145 is a reply to message #20126] Fri, 19 May 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
refik@rsmas.miami.edu (Refik Orhun) writes:


> Hi Folks,
>
> First of all, you have quite an impressive news group.
> Well, I Have a simple question. How do I code a circle as a symbol in a
> plot ? All the symbols in my plots so far are squares, diamonds and
> triangles, i.e. codes 2, 3, 4, etc...
>
> Can anybody tell me the number or code for a "simple circle" to use
> in PSYM= ?

I don't think a circle symbol exists, but I'm sure I will be
corrected. You can use the following procedure to define a circle as
the "user" symbol, symbol 8. You call it either as plain "circsym" or
as "circsym, /filled" to get a filled circle. Then you can say,
"plot, ..., psym=8"

pro circsym, _EXTRA=extra
theta=findgen(26)*0.251327412
usersym, cos(theta), sin(theta), _EXTRA=extra
end

I believe somebody has a big library of these kinds of user-defined
symbols.

Good luck,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: Contour plots on maps
Next Topic: Re: Comma seperators

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

Current Time: Fri Dec 05 15:38:58 PST 2025

Total time taken to generate the page: 0.01370 seconds