[yt-users] xstick label in yt slice plot

Jiang, Yanfei yanfei.jiang at cfa.harvard.edu
Thu May 19 13:29:25 PDT 2016


Hi Nathan,

   Here is a much smaller data file that you can try:

https://drive.google.com/file/d/0ByTG4wYr-7aOdUxUR0dMWGZVQmM/view?usp=sharing

Now the inner boundary is 28 and it is labeled as 0.


On Thu, May 19, 2016 at 3:07 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> Hi Yanfei,
>
> John ZuHone gave me access to your dataset - I think the issue is that
> ds.domain_left_edge is [2, 0, 0], and that is confusing the code that
> generates the plot coordinates for spherical geometries.
>
> I don't think this is an issue with the frontend, but a general issue with
> plotting data in spherical coordinates with an inner radial boundary.
>
> I don't have any test datasets besides yours that look like this, and
> yours is pretty large, so it would be nice to have a smaller dataset to
> play with.
>
> -Nathan
>
> On Thu, May 19, 2016 at 10:59 AM, Jiang, Yanfei <
> yanfei.jiang at cfa.harvard.edu> wrote:
>
>> Hi,
>>
>>    I am trying to make a slice plot with the new capability for spherical
>> polar grid in Athena++ data John developed. The attached notebook.png shows
>> what I am doing. I take a slice and the origin is set to "domain". The
>> image.png is the image from the notebook. In the slice image, the empty
>> space near the center corresponds to the inner radial boundary of the
>> original spherical coordinate, which is 2 in this case. Therefore, I think
>> the x stick where is 0 in the plot should be 2. Do you know any way to fix
>> this?
>>
>> Thanks.
>>
>> --
>> Yan-Fei Jiang
>>
>> Einstein Fellow
>> Harvard-Smithsonian Center for Astrophysics
>> 60 Garden Street, Cambridge MA USA 02138
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


-- 
Yan-Fei Jiang

Einstein Fellow
Harvard-Smithsonian Center for Astrophysics
60 Garden Street, Cambridge MA USA 02138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160519/2023926b/attachment.html>


More information about the yt-users mailing list