[yt-users] Problems with PhasePlot.

Matthew Turk matthewturk at gmail.com
Mon Dec 2 05:22:31 PST 2013


Hi Alessandro,

This looks like a bug.  I can reproduce it over here, and I've issued
a pull request to fix it.

https://bitbucket.org/yt_analysis/yt/pull-request/657/phaseplots-were-transposed

I think we'll likely roll a hotfix release as well, for 2.6.1.

-Matt

On Mon, Dec 2, 2013 at 7:46 AM, Alessandro Ballone <aballone at mpe.mpg.de> wrote:
> Dear all,
>
> I am using yt to analyze my PLUTO simulations and I should say it's a
> great analysis and visualization software! Thanks for your great job!
>
> I'll go now to my problems. I just switched to version 2.6 and I started
> using the new "PhasePlot" class. Unfortunately, I get strange results. I
> include, at the end of the email, links to plots for 2 simulations with
> exactly the same initial conditions and setup, but with different
> refinement of my grid.
> First of all I suggest to focus on the 2 files highref.png and
> righthighref.png. The first one has been made with the "PhasePlot" class,
> the second one with the old "PlotCollection" method "add_phase_object".
> You can see that the former one is rotated and flipped with respect to the
> latter one. I checked my data and the correct plot is the one made with
> the "deprecated" method!
> Furthermore, if you now compare *highref files to *lowref files, you will
> be able to see the 2 different simulations. You can notice that the right*
> files look the same, apart from the lower part of the plot, where the
> result is different due to numerics in my simulations. The other 2 plots
> made with PhasePlot (the one without "right" in their names) are instead
> inconsistent, with highref being a "stretched" version of lowref.
> I am wondering whether this is a problem related to yt's implementation
> for PLUTO, but the SlicePlot and ProjectionPlot classes DO work correctly
> with it, so I tend to think this is not the case...
>
> One last thing. The "set_zlim" method does not work because it's not defined!
>
> Thanks in advance for your answer and thanks again for yt!
>
> Alessandro
>
> +++++ IMAGES +++++
>
> highref: http://i.imgur.com/ZCOqjzV.png
>
> righthighref: http://i.imgur.com/PSwOIdQ.png
>
> lowref: http://i.imgur.com/VrSJf3K.png
>
> highref: http://i.imgur.com/dtLKdXV.png
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list