Hello,
Does anybody know if yt can plot mesh cells (cell edges) besides edges of patches in a 2D slice plot (with AMR grid data), like the one below (only cell edges in some patches were plotted)? I was able to plot edges of different AMR grid patches with the *annotate_grids* method of *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't find any method that seems to do this job?
I am using yt 3.2.3.
Any suggestions and discussion will be appreciated.
Thank you!
Best,
Hi Xinsheng,
Right now this isn't possible -- it tends not to be something that comes up too often. But, I think it should be relatively straightforward. I've added an issue for it, and I'm going to try to take a look at it tomorrow.
https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-ed...
I've marked it a blocker for our next release.
-Matt
On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin xsqin@uw.edu wrote:
Hello,
Does anybody know if yt can plot mesh cells (cell edges) besides edges of patches in a 2D slice plot (with AMR grid data), like the one below (only cell edges in some patches were plotted)? I was able to plot edges of different AMR grid patches with the *annotate_grids* method of *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't find any method that seems to do this job?
I am using yt 3.2.3.
Any suggestions and discussion will be appreciated.
Thank you!
Best,
--
Xinsheng Qin Ph.D. candidate Department of Civil and Environmental Engineering University of Washingtonxsqin@uw.edu _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
I've found a few minutes and issued a pull request:
https://bitbucket.org/yt_analysis/yt/pull-requests/2088/adding-annotate_cell...
On Sun, Mar 27, 2016 at 9:42 AM, Matthew Turk matthewturk@gmail.com wrote:
Hi Xinsheng,
Right now this isn't possible -- it tends not to be something that comes up too often. But, I think it should be relatively straightforward. I've added an issue for it, and I'm going to try to take a look at it tomorrow.
https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-ed...
I've marked it a blocker for our next release.
-Matt
On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin xsqin@uw.edu wrote:
Hello,
Does anybody know if yt can plot mesh cells (cell edges) besides edges of patches in a 2D slice plot (with AMR grid data), like the one below (only cell edges in some patches were plotted)? I was able to plot edges of different AMR grid patches with the *annotate_grids* method of *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't find any method that seems to do this job?
I am using yt 3.2.3.
Any suggestions and discussion will be appreciated.
Thank you!
Best,
--
Xinsheng Qin Ph.D. candidate Department of Civil and Environmental Engineering University of Washingtonxsqin@uw.edu _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Thank you, Matt!
That will be a great feature!
I will try it once the pull request is approved and new code is merged.
Best,
Xinsheng Qin
On 03/27/2016 08:36 AM, Matthew Turk wrote:
I've found a few minutes and issued a pull request:
https://bitbucket.org/yt_analysis/yt/pull-requests/2088/adding-annotate_cell...
On Sun, Mar 27, 2016 at 9:42 AM, Matthew Turk <matthewturk@gmail.com mailto:matthewturk@gmail.com> wrote:
Hi Xinsheng, Right now this isn't possible -- it tends not to be something that comes up too often. But, I think it should be relatively straightforward. I've added an issue for it, and I'm going to try to take a look at it tomorrow. https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges I've marked it a blocker for our next release. -Matt On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin <xsqin@uw.edu <mailto:xsqin@uw.edu>> wrote: Hello, Does anybody know if yt can plot mesh cells (cell edges) besides edges of patches in a 2D slice plot (with AMR grid data), like the one below (only cell edges in some patches were plotted)? I was able to plot edges of different AMR grid patches with the *annotate_grids* method of *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't find any method that seems to do this job? I am using yt 3.2.3. Any suggestions and discussion will be appreciated. Thank you! Best, -- ~~~~~~~~~~~~~~~~~ Xinsheng Qin Ph.D. candidate Department of Civil and Environmental Engineering University of Washington xsqin@uw.edu <mailto:xsqin@uw.edu> _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org