Re: Contour plots and colorbars to compare different images [message #83256] |
Wed, 13 February 2013 06:50 |
DavidF[1]
Messages: 94 Registered: April 2012
|
Member |
|
|
Astro-loca writes:
> Maybe I did not express myself correctly...
>
> The data are always in the range 0-1, but in some images they stop at 0.1, in other at 0.7...
Yes, this is what I meant, too.
> And I'm using icontour, where I did not find the way to insert the levels...
Sorry, but I don't know anything about iContour. :-)
Cheers,
David
|
|
|
Re: Contour plots and colorbars to compare different images [message #83258 is a reply to message #83256] |
Wed, 13 February 2013 05:16  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Astro-loca writes:
> I tried to see if an answer was already provided to my question but did not find it...
>
> What I'm willing to do is to compare contour plots whose values are always in the range 0-1.
>
> I need for the various images the same color bar, so the different contours can be compared just at a galnce.
I put a Small Multiples Contour Plot in the Coyote Plot Gallery to show
you how this can be done:
http://www.idlcoyote.com/gallery/
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
Re: Contour plots and colorbars to compare different images [message #83260 is a reply to message #83258] |
Wed, 13 February 2013 02:14  |
Astro-loca
Messages: 2 Registered: February 2013
|
Junior Member |
|
|
Maybe I did not express myself correctly...
The data are always in the range 0-1, but in some images they stop at 0.1, in other at 0.7...
And I'm using icontour, where I did not find the way to insert the levels...
Il giorno martedì 12 febbraio 2013 20:38:40 UTC+1, David Fanning ha scritto:
> Astro-loca writes:
>
>
>
>> I tried to see if an answer was already provided to my question but did not find it...
>
>>
>
>> What I'm willing to do is to compare contour plots whose values are always in the range 0-1.
>
>>
>
>> I need for the various images the same color bar, so the different contours can be compared just at a galnce.
>
>
>
> Well, this is the normal way things are done. If you use
>
> the same contour levels for each of your contour plots,
>
> and your colorbar reflects those levels, the job is done.
>
>
>
> What are you doing that is causing you a problem?
>
>
>
> You can see all kinds of contour plots with color bars
>
> in the Coyote Plot Gallery:
>
>
>
> http://www.idlcoyote.com/gallery/
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
Re: Contour plots and colorbars to compare different images [message #83275 is a reply to message #83260] |
Tue, 12 February 2013 11:38  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Astro-loca writes:
> I tried to see if an answer was already provided to my question but did not find it...
>
> What I'm willing to do is to compare contour plots whose values are always in the range 0-1.
>
> I need for the various images the same color bar, so the different contours can be compared just at a galnce.
Well, this is the normal way things are done. If you use
the same contour levels for each of your contour plots,
and your colorbar reflects those levels, the job is done.
What are you doing that is causing you a problem?
You can see all kinds of contour plots with color bars
in the Coyote Plot Gallery:
http://www.idlcoyote.com/gallery/
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|