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

Home » Public Forums » archive » Re: Displaying slices using same scaling
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: Displaying slices using same scaling [message #52736 is a reply to message #52735] Fri, 23 February 2007 05:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paolo Grigis writes:

> You can use the function "bytscl" on the 3d array (as a whole)
> and then display the single slices using "tv".

Well, it is *slightly* more complicated than that.
Find the minimum and maximum value of all the slices
together, then use the MIN and MAX keywords to BYTSCL
when you do the scaling. Then all your slices will
be scaled to the same absolute scale.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Displaying slices using same scaling
Next Topic: Re: Specify the degree of accuracy of a floating point number

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

Current Time: Sun Oct 12 00:08:42 PDT 2025

Total time taken to generate the page: 1.35809 seconds