<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>I'd like to expand upon on Sebastian's correct but short answer.</div>
</div>
</div>
<div><br>
</div>
<div>The contour filter is not going to give you the contours that you are asking for. &nbsp;The contour filter is going to extract the geometry representing exactly the locations of the contours and nothing else. &nbsp;As such, if you contour a slice through your data
 (or somewhat equivalently take a slice through your contour), you will get a bunch of lines representing where in the plane the field equals the isovalue you gave. So rather than getting a plane of colors as in your second example, you get the lines at the
 interface between colors.</div>
<div><br>
</div>
<div>The representation of contours you are asking for is a bit different. &nbsp;You want the entire geometry of the plane drawn and colored in such a way that the contours are represented as sharp transitions in the colors. &nbsp;Since you are never actually extracting
 the geometry of the contours themselves, running the contour filter is not appropriate for this. &nbsp;Instead, as Sebastian said, you want to make a slice through the data and provide a coloring that represents the contours. &nbsp;To set up these colors, first make
 sure the slice is colored by the scaler value you want contours of. &nbsp;Then click the edit color map button to pull up the color scale editor. &nbsp;Click on the &quot;Use Discrete Colors&quot; option (you will need to turn on the &quot;advanced&quot; properties if you are using the
 most recent version of ParaView) and then set the resolution to be set to the number of color bands you want.</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, January 7, 2013 6:53 AM<br>
<span style="font-weight:bold">To: </span>Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] 2D contours on a slice for a 3D data<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">It seems that you just want to slice your data and eventually reduce the number of color in your lookup table so you see distinct color bands.
<div><br>
</div>
<div style="">Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Jan 6, 2013 at 10:16 PM, Pradeep Jha <span dir="ltr">
&lt;<a href="mailto:pradeep.kumar.jha@gmail.com" target="_blank">pradeep.kumar.jha@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,
<div><br>
</div>
<div>I have a 3D data (the geometry is a simple cube). I am interested in looking at the 2D contour plots of a variable on a sliced plane. &nbsp;Below I have attached two figures. The first figure shows the slice. It only shows the cross-section of the iso-surfaces
 of the variable I loaded in 3D. I am interested in getting a contour plot, like the 2nd figure (I got this image randomly from the net), of the variable values on the slice.&nbsp;</div>
<div><br>
</div>
<div>I hope I made myself clear :) Any ideas how I can do it?</div>
<div>Thank you,</div>
<div>Pradeep</div>
<div><br>
</div>
<div><img height="532" width="829" src="cid:F1CE9B4D-3091-46DC-8BA8-EA4225571D4D"></div>
<div><br>
</div>
<div><img height="493" width="524" src="cid:5504E990-C080-48CA-A79B-7CAB8C591720"></div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>