[yt-users] pc.add_ray
Elizabeth Tasker
taskere at mcmaster.ca
Tue Oct 19 12:09:42 PDT 2010
Hi,
I'd like to plot properties along a line through my simulation box,
something that wasn't hard to discover how to do in yt (not least
because Matt demonstrated it at the meeting in San Diego!):
p = pc.add_ray([0.,5.,5.], [10.,5.,5.], "Density")
But the plot at the end has an x-axis running from 0 to 1.0, rather than
0. to 10.0. I tried adding:
p.set_xlim(0,10.0)
but it seemed disinterested. Can I correct this?
Elizabeth
More information about the yt-users
mailing list