Hi yt-users,<div><br></div><div>I've got another hopefully quick problem I'm looking for help with (thanks for bearing with me with all of my emails!).</div><div>I'm trying to create a line plot through 'add_ray' in a PlotCollection. It is created just fine, but I can't seem to set the x and y limits of the plot. Neither pc.set_xlim() nor ray.set_xlim() (along with the y-axis versions) do anything. </div>

<div>Here is my script:</div><div><br></div><div>---------------------</div><div>from yt.mods import *</div><div>pf = load("plt00500")</div><div><br></div><div><div>pc = PlotCollection(pf, 'c')</div><div>

ray = pc.add_ray([0.0, 5.0e9, 5.0e9],[1.e10, 5.0e9, 5.0e9], 'logden')</div></div><div><br></div><div><div>pc.set_ylim(-5.0, 8.0)</div><div>pc.set_xlim(0.2, 0.5)</div></div><div><br></div><div>pc.save('ray')</div>

<div><br></div><div>---------------------</div><div><br></div><div>But my image remains unchanged: <a href="http://i.imgur.com/1jPzHbt.png" target="_blank">http://i.imgur.com/1jPzHbt.png</a></div><div><br></div><div>What am I missing here? Is it not possible to set the limits on such a plot? Thanks in advance for your help.</div>

<div><br></div><div>-Noel Scudder</div>