Hi Folks,<br><br>I was wondering if there are any objections (particularly from Nathan) to adding an optional **kwargs argument to SlicePlot and ProjectionPlot, so that we can pass in field parameters like this:<br><br><div style="margin-left:40px">
pw = SlicePlot(pf, 2, 'GravitationalForceMag', center=c, width=(1e4, 'au'), particle_data=pd)<br><br></div>instead of the (very slighty) more clunky:<br><br><div style="margin-left:40px">slice = pf.h.slice(2, c[2], ['GravitationalForceMag'], particle_data=pd)<br>
pw = slice.to_pw('GravitationalForceMag', center=c, width=(1e4, 'au'))<br><br></div>I think it would be nice to able to use the same syntax to generate slices and projections whether or not a derived field requires extra field parameters.<br>
<div style="margin-left:40px"><br></div>Thanks,<br>Andrew <br><br>