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

Home » Public Forums » archive » ring in fg graphics
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: ring in fg graphics [message #90635 is a reply to message #90628] Thu, 19 March 2015 10:29 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Wednesday, March 18, 2015 at 5:02:15 PM UTC-6, Helder wrote:
> Hi,
> is there a way to make a ring in function graphics in a single call?
> I've tried using polygon with the connectivity keyword without luck. I don't see a way to do this using ellipse.
> Is this impossible or am I just having a hard time getting the solution?
>
> Thanks,
> Helder

I think we talked about this a couple of weeks ago.

a = findgen(101)/100*2*!PI
x = 0.5 + [0.3*SIN(a), 0.2*SIN(a)]
y = 0.5 + [0.3*COS(a), 0.2*COS(a)]
w = WINDOW()
p = POLYGON(x, y, FILL_COLOR='red', /NORMAL, LINESTYLE='none')
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: normal probability plot
Next Topic: PLOT3D format input

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

Current Time: Thu Oct 09 20:07:10 PDT 2025

Total time taken to generate the page: 0.95320 seconds