Hi Shankar,
pc.add_slice("Density",0)
Slices are infinitesimally small - the cells are only those cells that intersect with the slices are returned. If you want more than that, you'd want a projection through a thin slab, similar to what Britton Smith uses in the lightcone generator in yt/extensions.
I tried help(add_slice) but obviously it doesnot work. Trouble shooting is a little tricky.
help(pc.add_slice) is what you would be looking for, but that unfortunately does not explicitly say that the slices are infinitesimally thin.
Also, is this the correct place to get S2plot... http://astronomy.swin.edu.au/s2plot/index.php?title=S2PLOT:Python
Yup
Any chances of making it part of yt repository?
If you mean making it a part of the yt source repository, I would say no, there is no chance. Making it a part of the installation script is also not terribly likely, because there are some things in the S2Plot installation that I'm not really comfortable automating. (And beyond that, we would have to wait for a relatively permissive open source license before including it as a dependency.) That being said, future versions of the installation script may include VTK, but I'm not ready to commit to that at this time. Additional methods of volume rendering and 3D plotting are also being explored. -Matt