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

Home » Public Forums » archive » disk arc
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: disk arc [message #92939 is a reply to message #92934] Wed, 30 March 2016 13:45 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
If you have a set of X, Y positions and a center position xc,yc then you can find the angle from the center

ang = atan( x-xc, y-yc)

You can then assign the angles into sectors of size !pi/4

On Wednesday, March 30, 2016 at 12:21:35 PM UTC-4, Masoud Afshari wrote:
> Dears,
> I plot a disk with using dist_circle comand line. Now I want to divide the disk to 8 equal arcs and determine which points are inside each arc.
>
> how can I do this??
>
> thanks
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Reducing eps file size for plots with overlaid images?
Next Topic: IDL Poetry

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

Current Time: Wed Oct 08 11:41:40 PDT 2025

Total time taken to generate the page: 0.00472 seconds