<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I have a follow up question on similar lines.&nbsp;</div><div><br></div><div>In the 3D cube that I have, I have a velocity vector data. Is it possible that I can show the vector field coming out of the sliced plane? i.e. at each point of the sliced plane, an arrow&nbsp;coming out of the sliced plane&nbsp;representing the magnitude and direction of the velocity vector at the particular point on the plane. Something like the attached image.</div><div>&nbsp;</div><div>I hope I made myself clear. &nbsp;</div><div>Thanks in advance,</div><div>Pradeep</div><div><br></div><div><br></div><div><img id="35c3cbb1-ea15-4e56-8466-bd79fd63f051" height="190" width="364" apple-width="yes" apple-height="yes" src="cid:03028CCC-C6DF-47CA-868E-0D61BA1B21C1"></div><div><br></div><div><br><div><div>Le 8 janv. 2013 à 10:06, Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>thanks everyone. It seems like it is working.</div><div><br></div><div>Pradeep</div><div><br><div><div>Le 8 janv. 2013 à 02:58, "Moreland, Kenneth" &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; 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 "Use Discrete Colors" option (you will need to turn on the "advanced" 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; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); ">
<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>"<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" &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;" type="cite">
<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" type="cite">
<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><span>&lt;Slice.png&gt;</span></div>
<div><br>
</div>
<div><span>&lt;contour.jpg&gt;</span></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>
</div>

<span>&lt;contour.jpg&gt;</span><span>&lt;Slice.png&gt;</span></blockquote></div><br></div></div></blockquote></div><br></div></body></html>