[yt-users] axis ticks problem in ProjectionPlot function

Nathan Goldbaum nathan12343 at gmail.com
Mon Aug 13 11:44:26 PDT 2012


Hi Suoqing,

I'm unable to reproduce the error you're seeing and I'm not sure what you mean by 'set the domain.'  Would you mind forwarding the full script you used to produce the plot?

Cheers,

Nathan

On Aug 13, 2012, at 11:40 AM, Ji Suoqing wrote:

> Hi all,
> 
> I've found a small problem in ProjectionPlot function: in FLASH4 data, I've already set the domain to be, say:
> 
> xmin=0.0
> xmax=1.0
> ymin=0.0
> ymax=1.0
> 
> But when I use ProjectionPlot to plot the figure, the axis ticks become -0.5<x<0.5, -0.5<y<0.5; while in VisIt, the axis ticks are right. Also, in YT if I print out:
> 
> pf.domain_left_edge & pf.domain_right_edge
> 
> the domain is correct: 0<x<1, 0<y<1.
> 
> I've found this in 2d cylindrical case, where x represents for r direction, and y for z direction. I'm not sure whether in cartesian coordinate the same problem exists or not.
> 
> Best wishes,
> Suoqing
> _______________________________________________
> 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