<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi yt users,
<div><br>
</div>
<div>I wanted to know if it is possible somehow to make plots (projections and slices) of a subregion of the domain, e.g. I define a sphere like :</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>sph= pf.h.sphere(center=[0,0,0], radius=(100,'pc’))</div>
<div><br>
</div>
<div>Now I want to plot the projection of the density of that region in the x axis:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>slc = SlicePlot(sph, 'x', 'dens')</div>
<div><br>
</div>
<div>But then I get the following error:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span><span class="ansired" style="font-size: 14px; line-height: 17.603300094604492px; white-space: pre-wrap; color: rgb(139, 0, 0);">AttributeError</span><span style="background-color: rgb(255, 255, 255); font-size: 14px; line-height: 17.603300094604492px; white-space: pre-wrap;">:
 'AMRSphere' object has no attribute 'domain_width'</span></div>
<div><br>
</div>
<div>thanks for your help,</div>
<div><br>
</div>
<div>Juan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>_____________________________</div>
<div>
<div>Juan Camilo Ibañez Mejia</div>
<div>Department of Astrophysics</div>
<div>American Museum of Natural History</div>
<div>+1-212-313-7435</div>
<div><a href="mailto:jibanezmejia@amnh.org">jibanezmejia@amnh.org</a></div>
<div>_____________________________</div>
</div>
</div>
<br>
</div>
</body>
</html>