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

Home » Public Forums » archive » plotting filled circles of defined radius
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: plotting filled circles of defined radius [message #88679 is a reply to message #88676] Fri, 30 May 2014 13:32 Go to previous message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
> theta=findgen(n)/(n-1.0)*2*!pi
> xo=lo(i)+ro(i)*sin(theta)/110
> yo=bo(i)+ro(i)*cos(theta)/120
> oplot,xo,yo,linestyle=0,color=0

For "direct" (old) graphics, the IDL procedure USERSYM lets you define a plotting symbol, a circle in your case. Then you just use
plot, x, y, usersym=8
I use it all the time -- works great.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Create an XML file in IDL
Next Topic: shp file to ENVI classification file type

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

Current Time: Wed Oct 08 15:56:01 PDT 2025

Total time taken to generate the page: 0.00416 seconds