[yt-users] Annotate_contour

Seyit Hocuk seyit at astro.rug.nl
Tue Sep 10 02:13:31 PDT 2013


Dear all,

I don't know if this is a simple question or not, but is it possible to 
annotate_contours independent of the conditions of the main plot?

For example, I'm doing a projection plot "prj = ProjectionPlot(pf, "z", 
"Velocitydispersion",center=cent,width=wide,weight_field='volinv')" and 
my contour callback is 
"prj.annotate_contour("T_{gas}",clim=(1.0e0,2.8e1),ncont=ncont)". My 
problem is that the contours are also weighted by the chosen 
weight_field, which I do not want.

Is there a workaround?

Kind regards,
Seyit

-- 
With kind regards,
Seyit


S. Hocuk
Postdoctoral Researcher
Kapteyn Astronomical Institute
P.O. box 800
9700AV Groningen, the Netherlands




More information about the yt-users mailing list