# glyph variable arrow size

**URL:** <https://discourse.vtk.org/t/glyph-variable-arrow-size/7391>\
**Category:** Development\
**Created:** [December 13, 2021, 10:28pm UTC](https://discourse.vtk.org/t/glyph-variable-arrow-size/7391 "2021-12-13T22:28:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cimo](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/c/b5e925/32.png) [@cimo](https://discourse.vtk.org/u/cimo)\
**Post date:** [December 13, 2021, 10:28pm UTC](https://discourse.vtk.org/t/glyph-variable-arrow-size/7391/1 "2021-12-13T22:28:00Z")

</div>

Hi all,  
I would like to assign arrows with a different size according to the selected scalar.  
Any idea ?

Thanks in advance.  
N.

 ![Gglyph3DNormal](https://discourse.vtk.org/uploads/default/original/2X/b/bf7ce3906a964696a9aa7becd669f3aba52393a4.jpeg)

---

<div class="post-metadata">

**Author:** ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)\
**Post date:** [December 13, 2021, 11:30pm UTC](https://discourse.vtk.org/t/glyph-variable-arrow-size/7391/2 "2021-12-13T23:30:04Z")

</div>

If you are using the `vtkGlyph3D` filter, you could try the `SetScaleModeToScaleByVector()` or `SetScaleModeToScaleByScalar()` see scaling-related properties in the [documentation](https://vtk.org/doc/nightly/html/classvtkGlyph3D.html) and this [example](https://kitware.github.io/vtk-examples/site/Cxx/VisualizationAlgorithms/CarotidFlowGlyphs/).
