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

Home » Public Forums » archive » Re: contour overplotting
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
Re: contour overplotting [message #75464] Mon, 14 March 2011 06:57 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
abc writes:

> I am having a small trouble in making contour over-
> plotting . Here I am reading two different data set with different
> values. I want to make a contour plot of the first data set and then
> want to over plot the contour of the second data set with different
> colors.

Well, that's not what your code is doing. Your code is
making two contour plots. Is that the "small trouble"
are you having? Or, is something else causing a problem?

> My question is that is it possible in IDL to overplot a contour plot
> on another contour plot with different colors. if yes then how. And
> if No then how I can overplot a contour plot on another contour plot
> with the same colors.

Yes, it is possible. You can probably learn anything
you want to know about contour plots from reading
the Contour Plot chapter from my new book. Fortunately,
you don't have to buy anything! The chapter is available
here:

http://www.idlcoyote.com/books/tg/samples/tg_chap5.pdf

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: contour overplotting [message #75646 is a reply to message #75464] Tue, 15 March 2011 03:28 Go to previous message
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
On Mar 14, 2:57 pm, David Fanning <n...@idlcoyote.com> wrote:
> abc writes:
>>                  I am having a small trouble in making contour over-
>> plotting . Here I am reading two different data set with different
>> values. I want to make a contour plot of the first data set and then
>> want to over plot the contour  of the second data set with different
>> colors.
>
> Well, that's not what your code is doing. Your code is
> making two contour plots. Is that the "small trouble"
> are you having? Or, is something else causing a problem?
>
>> My question is that is it possible in IDL to overplot a contour plot
>> on another contour plot with different colors. if yes then how.  And
>> if No then how I can overplot a contour plot on another contour plot
>> with the same colors.
>
> Yes, it is possible. You can probably learn anything
> you want to know about contour plots from reading
> the Contour Plot chapter from my new book. Fortunately,
> you don't have to buy anything! The chapter is available
> here:
>
>   http://www.idlcoyote.com/books/tg/samples/tg_chap5.pdf
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Dear Sir ,
I have read contour Plot chapter from your new book.
It is very helpful. But still I am not able to over-plot contours of
the second data set i.e x1,y1,z1 on my first data set i.e x,y,z with
different colors.
Actually my main aim is to find the point of intersection of these two
over plotted contour plots. I tried a lot but I don't know how to do
that.

Thanks a lot !!!!!!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: X/Y convert to lat/lon
Next Topic: plotting xaxis with date

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

Current Time: Wed Oct 08 15:17:34 PDT 2025

Total time taken to generate the page: 0.00518 seconds