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

Home » Public Forums » archive » Re: Creating a sphere (Object 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: Creating a sphere (Object Graphics) [message #23602 is a reply to message #23595] Mon, 29 January 2001 10:05 Go to previous messageGo to previous message
Jason P. Meyers is currently offline  Jason P. Meyers
Messages: 24
Registered: September 2000
Junior Member
OK, I hate editors that don't warn you about breaking long lines. The
following
lines should all be a single line in the IDL procedure. Most are just
comment lines, but two are actual lines of code.

Sorry for any confusions this may have caused!

Jason

"Jason P. Meyers" wrote:
>
>
> PRO JPM_Make_Sphere, n, x=x, y=y, z=z
>

The following pairs of lines should have been left together as one

> ; Parameter: n : array width (must be odd, but we'll make it odd if
> it's not)


> ; Keywords: x,y,z : named variables to contain the 2-D arrays (n x
> 2n-1)


> ; Tweeking the value of m adjusts the spacing of points along the
> z-profile.


> x1 = cos(atan(yy,xx))*(sqrt(abs(1-(1-abs(xx))^m)) >
> sqrt(abs(1-(1-abs(yy))^m)))


> y1 = sin(atan(yy,xx))*(sqrt(abs(1-(1-abs(xx))^m)) >
> sqrt(abs(1-(1-abs(yy))^m)))
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Formatting output
Next Topic: IDL Display under RH7

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

Current Time: Sun Oct 12 07:17:53 PDT 2025

Total time taken to generate the page: 0.01122 seconds