# Showing grids in the viewer

**URL:** <https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [January 7, 2019, 10:49am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293 "2019-01-07T10:49:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![feng](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@feng](https://discourse.slicer.org/u/feng)\
**Post date:** [January 7, 2019, 10:49am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/1 "2019-01-07T10:49:01Z")

</div>

Is it possible to show grids in the viewer like this?

 ![Image result for MRI image with grids](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/3/a3340b546de5f985c0cdcd643c0e534a7faf4212.png)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 7, 2019, 1:42pm UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/2 "2019-01-07T13:42:10Z")

</div>

Yes, one way to do that is to make an identity transform and turn on display. Go to transforms module, create a linear transform, then turn on ‘visible in slice views’. I changed the lookup table to make it white instead of black.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/e/2e5f915012dd275ab7855d73cfa63e90dddc3327.jpeg)

---

<div class="post-metadata">

**Author:** ![nabid](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@nabid](https://discourse.slicer.org/u/nabid)\
**Post date:** [December 2, 2020, 1:59am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/3 "2020-12-02T01:59:18Z")

</div>

Is it possible to show grids in the 3D viewer for regions: Red, Yellow, Green at the same time? Please see the attached image. Or can this be done using some other module?  
Thanks. ![Untitled](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/9/192f60ad5b1168f7b31bd5bdcef229cbcaaed3f6.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 2, 2020, 2:10am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/4 "2020-12-02T02:10:27Z")

</div>

There are lots of options for displaying various grids in 2D and 3D. Over the past few decades we also developed a number of other techniques to convey spatial relationships, distances, etc. between objects. Can you tell a bit about what you would like to achieve?

---

<div class="post-metadata">

**Author:** ![nabid](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@nabid](https://discourse.slicer.org/u/nabid)\
**Post date:** [December 2, 2020, 2:15am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/5 "2020-12-02T02:15:09Z")

</div>

Thanks for your reply.  
I like to display the segmented volume in a 3D XYZ coordinate system (grid). Please let me know how to do it. Using the transform module, it shows a box of grid and the segmented object is not nicely visible. Please see the image in the previous post.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 2, 2020, 2:38am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/6 "2020-12-02T02:38:03Z")

</div>

Can you tell what is your end goal? Why would you like to show grid planes?

---

<div class="post-metadata">

**Author:** ![nabid](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@nabid](https://discourse.slicer.org/u/nabid)\
**Post date:** [December 2, 2020, 2:41am UTC](https://discourse.slicer.org/t/showing-grids-in-the-viewer/5293/7 "2020-12-02T02:41:06Z")

</div>

The volume of the segmented object will change over time. I want to show the 3D segmented objects in two windows side by side. 3D grid planes help to understand that they are 3D objects.
