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

Home » Public Forums » archive » TVIM and multiple plots.
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
TVIM and multiple plots. [message #8085] Tue, 04 February 1997 00:00
D.Kennedy is currently offline  D.Kennedy
Messages: 26
Registered: January 1997
Junior Member
I have a problem with plotting several images using TVIM, specifically
in getting them all to use the same scale.
I am putting multiple plots on the page with !P.MULTI=[0,2,3,0,0]

I have six images, so I want the scale on all images to go from
[0, max([max(map1), max(map2), max(map3)..etc]) I call this 'range'

Fine, so I call TVIM like this (leaving out unimportant stuff):

tvim, map1, /scale, range=range
tvim, map2, /scale, range=range
tvim, map3, /scale, range=range

I _expect_ this to make all images use the same colours, so the features on
each map can be directly compared at a glance without having to check the
scales. If they use their own scales some are much stronger than others.
The plots are then misleading at a glance.

What TVIM actually is doing is somewhat different! Its seems to be taking
all the data, say it actually goes from 0->5, and stretching it to
fit the 'master scale' on the side, given by range, say 0->9
So, say most of my data for a 'weak' plot is between 0->1, on the plot
its boosted to between 2->3 for example.

This means that the page of plots effectively has a different zero level
for each image. Most unacceptable to my supervisor I reckon! ;-)
Anyone have any ideas on how to fix this?
Someone must have, come on, don't be shy! You at the back? Ideas?
Erm...its late. Too much caffeine.

(Thanks in advance, please Email replies as well, posts can take as
much as two weeks to make it through my arthritic newserver, its
crazy!)
--
David Kennedy, Dept. of Pure & Applied Physics, Queen's University of Belfast
Email: D.Kennedy@Queens-Belfast.ac.uk | URL: http://star.pst.qub.ac.uk/~dcjk/
Hi! I'm a .signature virus! Copy me into yours and join the fun!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linux & Call_External
Next Topic: Re: Random number generators in IDL

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

Current Time: Wed Oct 08 13:33:11 PDT 2025

Total time taken to generate the page: 0.00697 seconds