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

Home » Public Forums » archive » Re: SUMMARY: oplot - error in plotting to Z buffer only
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: SUMMARY: oplot - error in plotting to Z buffer only [message #14292] Fri, 12 February 1999 00:00
fireman is currently offline  fireman
Messages: 49
Registered: August 1991
Member
Oops - forgot the CIRCLE function
(from Dick Jackson <djackson@dfanning.com>)


FUNCTION CIRCLE, xcenter, ycenter, radius, nPts

IF N_Elements(nPts) EQ 0 THEN nPts = 100
points = (2 * !PI / (nPts-1)) * FIndGen(nPts)
x = xcenter + radius * Cos(points)
y = ycenter + radius * Sin(points)
RETURN, Transpose([[x],[y]])

END

--
---- Gwyn F. Fireman
---- General Sciences Corporation
---- MODIS Characterization Support Team
---- Gwyn.Fireman@gsfc.nasa.gov 301-352-2118
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ENVI web page?
Next Topic: SUMMARY: oplot - error in plotting to Z buffer only

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

Current Time: Wed Oct 08 11:39:21 PDT 2025

Total time taken to generate the page: 0.00453 seconds