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

Home » Public Forums » archive » Re: Making big triangle (FOV)
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: Making big triangle (FOV) [message #82243] Tue, 27 November 2012 06:30
zolile mtumela is currently offline  zolile mtumela
Messages: 50
Registered: September 2011
Member
On Tuesday, November 27, 2012 2:59:15 PM UTC+2, zolile...@gmail.com wrote:
> Hi all I have a program the can do mapping. I need help , I want to plot a field of view of the radar in the map. Field of view its like a big triangle but at the two end points form something like curve to merge those points. I do nt hv any idea how to make that kind of curve. I used plots to make triangle (FOV). Hence its not a pure triangle , can you help on making that kind of curve! I have been looking for some kind of routine but I dnt get any help. All suggestions all welcome. Thank you in advance for ur time!!

Thank you so much!
I reading this program now, I real appreciate ur help!!
Re: Making big triangle (FOV) [message #82246 is a reply to message #82243] Tue, 27 November 2012 05:29 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, November 27, 2012 1:59:15 PM UTC+1, zolile...@gmail.com wrote:
> Hi all
>
> I have a program the can do mapping. I need help , I want to plot a field of view of the radar in the map. Field of view its like a big triangle but at the two end points form something like curve to merge those points. I do nt hv any idea how to make that kind of curve. I used plots to make triangle (FOV). Hence its not a pure triangle , can you help on making that kind of curve! I have been looking for some kind of routine but I dnt get any help.
>
>
>
> All suggestions all welcome.
>
> Thank you in advance for ur time!!

I guess that this article should help you.

http://www.idlcoyote.com/graphics_tips/anisotropy.php

Use the function "arc" this way:

window, /free, xsize=600, ysize=600
center=[300.0,300.0]
Radius = 200.0
Ang1 = 45.0
Ang2 = 135.0
plots, [center[0],center[0]+Radius*cos(Ang1/!RaDeg)], [center[1],center[1]+Radius*sin(Ang1/!RaDeg)], /device
plots, [center[0],center[0]+Radius*cos(Ang2/!RaDeg)], [center[1],center[1]+Radius*sin(Ang2/!RaDeg)], /device
plots, arc(center[0],center[1],Radius,Ang1,Ang2), /device

Cheers,
Helder
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Flight Through the Universe
Next Topic: color axis

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

Current Time: Wed Oct 08 13:55:26 PDT 2025

Total time taken to generate the page: 0.00387 seconds