# Mask points for which scalar = 0

**URL:** https://discourse.paraview.org/t/mask-points-for-which-scalar-0/11535
**Category:** ParaView Support
**Created:** [February 28, 2023, 8:03pm UTC](https://discourse.paraview.org/t/mask-points-for-which-scalar-0/11535 "2023-02-28T20:03:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sherrifbro](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/73ab20/32.png) [@sherrifbro](https://discourse.paraview.org/u/sherrifbro)
#### Post date: [February 28, 2023, 8:03pm UTC](https://discourse.paraview.org/t/mask-points-for-which-scalar-0/11535/1 "2023-02-28T20:03:19Z")

</div>

I have a 3D dataset where each point stores the 3 components of the velocity and a scalar. I want to plot glyphs, but only at points where the scalar has a certain value (say 0). What filter can help me ignore the points with non-zero scalar value? My requirement is very similar to the “Mask Points” filter but I do not want random sampling - I want to sample points based on the scalar value.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [March 1, 2023, 12:23pm UTC](https://discourse.paraview.org/t/mask-points-for-which-scalar-0/11535/2 "2023-03-01T12:23:25Z")

</div>

You should extract the points of interest, and apply the glyph on the whole result.

For instance, use the `FindData` panel and make a query to select points depending on the scalar, and then use `Extract Selection` filter.

---

<div class="post-metadata">

### Author: ![sherrifbro](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/73ab20/32.png) [@sherrifbro](https://discourse.paraview.org/u/sherrifbro)
#### Post date: [March 1, 2023, 7:15pm UTC](https://discourse.paraview.org/t/mask-points-for-which-scalar-0/11535/3 "2023-03-01T19:15:49Z")

</div>

Thanks, you led me to the right place. I was able to use “Threshold” filter to extract the required points. I did not need to follow it up with the extract selection.
