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

Home » Public Forums » archive » Re: scale3
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: scale3 [message #13201] Fri, 23 October 1998 00:00
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
horaciop@yahoo.com wrote:
>
> Hi, I am visualisating a 3d array using this routine:
>
> array=fltarr(64,300,300)
> read,1,array
> Shade_Volume, array, 1.5, v, p, /Low
> s = Size(data)
> Scale3, XRange=[0,s(1)], YRange=[0,s(2)], $
> ZRange=[0,s(3)]
> tv, polyshade(v,p,/t3d)

Marcus -

If this is really the code you're using, then the Scale3 routine
isn't the problem; the variable "data" is undefined so the ranges
for Scale3 will be *very* wrong. I used your code to render a
set of brain images, and it works fine (with the one minor change).

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Previous Topic: Re: plotting on a draw widget
Next Topic: Multiple file selector?

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

Current Time: Sat Oct 11 14:38:28 PDT 2025

Total time taken to generate the page: 1.36263 seconds