![](https://secure.gravatar.com/avatar/f53378bec68c476a1e13d5da168f238c.jpg?s=120&d=mm&r=g)
Dear yt-users, Hello. I am Eun-jin. I tried to visualize Gadget's simulations(Gadget2) and followed https://yt-project.org/docs/dev/cookbook/gadget_notebook.html But It plots only 1/4 (upper and right side). I wondered whether my simulation data has some problems, so I checked some gadget snapshots from yt sample datasets 'Gadget3-snap-format2', 'IsothermalCollapse', but the first one gives 1/4 and the last one is fine. I also tried the same with the latest stable version yt-3.4.1 (before I used yt-3.5 dev), and it gave me the same results. Can I ask how to resolve this? Any suggestions would be greatly appreciated. Thank you, Eun-jin
![](https://secure.gravatar.com/avatar/7857f26c1ef2e9bdbfa843f9087710f7.jpg?s=120&d=mm&r=g)
Hi Eujin, I'm not able to reproduce what you're seeing on yt 3.4.1. However, I might be doing something slightly different. Can you try running this script: import yt ds = yt.load('Gadget3-snap-format2/Gadget3-snap-format2') yt.SlicePlot(ds, 'z', ('gas', 'density')).save() Running that script I get the following image: https://i.imgur.com/2km9KIF.png Do you get something different? Or are you saying that something is wrong with this image? Could it be the case that you're passing a bounding_box keyword argument to yt.load()? If so you might be selecting a subset of the domain. -Nathan On Mon, Jul 2, 2018 at 9:05 PM, Eunjin Shin <shinphy8@gmail.com> wrote:
Dear yt-users, Hello. I am Eun-jin. I tried to visualize Gadget's simulations(Gadget2) and followed https://yt-project.org/docs/dev/cookbook/gadget_notebook.html But It plots only 1/4 (upper and right side).
I wondered whether my simulation data has some problems, so I checked some gadget snapshots from yt sample datasets 'Gadget3-snap-format2', 'IsothermalCollapse', but the first one gives 1/4 and the last one is fine.
I also tried the same with the latest stable version yt-3.4.1 (before I used yt-3.5 dev), and it gave me the same results.
Can I ask how to resolve this? Any suggestions would be greatly appreciated.
Thank you, Eun-jin _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
![](https://secure.gravatar.com/avatar/f53378bec68c476a1e13d5da168f238c.jpg?s=120&d=mm&r=g)
Hello, Nathan. Thank you very much for your advice. I could obtain the whole plot from my simulation. Thank you for your help. Eun-jin
participants (2)
-
Eunjin Shin
-
Nathan Goldbaum