<div dir="ltr">Hi Kearn,<div><br></div><div>If you want to physically see the shape of the object you are creating, you can provide it as a data source to a project.  For example, take your region and do:</div><div>plot = ProjectionPlot(pf, "x", "Density", data_source=box)</div>
<div>plot.save()</div><div><br></div><div>Britton</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 12:58 PM, Sam Geen <span dir="ltr"><<a href="mailto:samgeen@astro.ox.ac.uk" target="_blank">samgeen@astro.ox.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As a general Python piece of advice, if you type "help(box)" after those lines it'll give you the class interface of the box object and its docstrings.<div class="HOEnZb">
<div class="h5"><br>
<br>
On 10/12/13 13:55, <a href="mailto:k.grisdale@surrey.ac.uk" target="_blank">k.grisdale@surrey.ac.uk</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi yt users<br>
<br>
I am using yt to create data objects to sample properties in a RAMSES simulation at different locations. I want to create a cuboid data object with x and y width of 0.2 and a z width of 0.4. I have been using the following commands to create the object:<br>

<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

left = [0.4,0.4,0.3]<br>
cen = [0.5,0.5,0.5]<br>
right = [0.6,0.6,0.7]<br>
box = pf.h.region(cen, left, right)<br>
</blockquote></blockquote></blockquote>
  My Question is will this create a data object of the shape that I want or will it create something else? Is there a way to see the shape of the data object?<br>
<br>
Thanks in advance for the help<br>
<br>
Kearn<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</div></div></blockquote></div><br></div>