contour overlapping

Friends,

I have two matrices of same size. I used contourf to
create the countour plots for the two matrices separately.

i) I am interested in making one countour plot marking the areas which are different in both the countours or

ii) Overlapping one countour over the other, so that i can compare
the upper and lower diagonals that can represent count1 and count2.

Kindly suggest me some ideas.

Thanks,

Bala

Hi Bala,

Friends,

I have two matrices of same size. I used contourf to create the countour
plots for the two matrices separately.

i) I am interested in making one countour plot marking the areas which are
different in both the countours or

What you could do quite easily is making one additional countour plot of the
difference of the two matrices, e.g. absolute(matrix1 - matrix2).

ii) Overlapping one countour over the other, so that i can compare the
upper and lower diagonals that can represent count1 and count2.

I don't know if there is a possibility of overlaying two contours and somehow
switching there alpha-value dynamically, which could be useful, but an
overlay contourf of matrix1 and contour (not filled) for matrix 2 could be
done.

best regards
Matthias

···

On Wednesday 13 May 2009 13:16:17 Bala subramanian wrote:

Dear Matthias,

Thank you for the information. Could you please provide me a small example of such overlapping.

Thanks,
Bala

···

On Wed, May 13, 2009 at 1:50 PM, Matthias Michler <MatthiasMichler@…361…> wrote:

Hi Bala,

On Wednesday 13 May 2009 13:16:17 Bala subramanian wrote:

Friends,

I have two matrices of same size. I used contourf to create the countour

plots for the two matrices separately.

i) I am interested in making one countour plot marking the areas which are

different in both the countours or

What you could do quite easily is making one additional countour plot of the

difference of the two matrices, e.g. absolute(matrix1 - matrix2).

ii) Overlapping one countour over the other, so that i can compare the

upper and lower diagonals that can represent count1 and count2.

I don’t know if there is a possibility of overlaying two contours and somehow

switching there alpha-value dynamically, which could be useful, but an

overlay contourf of matrix1 and contour (not filled) for matrix 2 could be

done.

best regards

Matthias


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your

production scanning environment may not be a perfect world - but thanks to

Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700

Series Scanner you’ll get full speed at 300 dpi even with all image

processing features enabled. http://p.sf.net/sfu/kodak-com


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Bala subramanian schrieb:

Dear Matthias,

Thank you for the information. Could you please provide me a small example
of such overlapping.

Look at
http://matplotlib.sourceforge.net/examples/pylab_examples/contour_image.html

or any other contour example from this page:
http://matplotlib.sourceforge.net/examples/index.html

Armin