[yt-users] Problem with annotate_contour() callback on OffAxisProjectionPlots

Matthew Turk matthewturk at gmail.com
Tue Apr 1 13:32:08 PDT 2014


Hi Cameron,

On Tue, Apr 1, 2014 at 4:11 PM, Cameron Hummels <chummels at gmail.com> wrote:
> Hey everyone,
>
> I have an unusual problem that I cannot seem to work out.  I'm trying to
> generate a set of contours on an OffAxisProjectionPlot using the underlying
> data from another OffAxisProjectionPlot (i.e. a different data_source).  I
> can get this working A-OK when I just use the ProjectionPlot class, but when
> I attempt to use the OffAxisProjectionPlot, I encounter problems.
>
> I made a small script demonstrating this problem, as well as the success
> when this method is applied to a ProjectionPlot object.  Any suggestions?
>
> Note, this is yt 2.x dev.  Here is the script:
>
> http://paste.yt-project.org/show/4459/
>
> Cameron

My reading of your script is that you want "test4.png" to have
contours on it, right?  I just ran this script on 61e6b84f875c, which
is near tip of 2.x, and I got this image for test4.png:

http://i.imgur.com/hfycSN9.png

Is this not what you wanted?

-Matt

>
> --
> Cameron Hummels
> Postdoctoral Researcher
> Steward Observatory
> University of Arizona
> http://chummels.org
>
> _______________________________________________
> 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