# Python viewing two volumes side by side (four over four)

**URL:** <https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638>\
**Category:** Development\
**Created:** [September 13, 2021, 7:48am UTC](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638 "2021-09-13T07:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_Arbabi](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Post date:** [September 13, 2021, 7:48am UTC](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638/1 "2021-09-13T07:48:28Z")

</div>

I wanted to have two volumes that I load from dicom series to be viewed side by side separately. something like this view:

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/6/e64cadff1111f93682da9e9edcbbb78fb84a0ecb.jpeg)  
how is the good approach to that?

---

<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:** [September 13, 2021, 2:37pm UTC](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638/2 "2021-09-13T14:37:37Z")

</div>

Did you try the CompareVolumes module? It doesn’t currently do 3D but does allow you to easily create layouts with axi/sag/cor views. We’ve discussed generalizing it to a CompareData module but that’s not on any current roadmap.

---

<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:** [September 13, 2021, 2:55pm UTC](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638/3 "2021-09-13T14:55:24Z")

</div>

You can also [drag-and-drop the volumes from the Data module into the views](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#selecting-displayed-data) where you want to see them.

![](https://github.com/Slicer/Slicer/releases/download/docs-resources/drag_to_view.gif)
