[yt-dev] pull request for plot and images

John Wise jwise at physics.gatech.edu
Sat Jun 23 03:52:47 PDT 2012


Hi Geoffrey,

You can also do a projection of Ones from only the ellipsoid by doing

pc = PlotCollection(pf, center=[0.5]*3)
pc.add_projection('Ones', 0, data_source=ell)

where ell is your ellipsoid object.

You can upload your images to imgur using the yt command line option "yt upload_image <image>", where <image> is the image filename.  Then you can send the URL it gives you.

Thanks,
John

On 23 Jun 2012, at 00:55, Geoffrey So wrote:

> Again I apologize for being stupid, but here's what I sent earlier to the "no-reply" address about 2 days ago:
> 
> http://paste.yt-project.org/show/2470/
> 
> The script will do a 3D scatter plot of the "Ones" field included by the ellipsoid, and do a x,y projection for ease of inspection.  I don't think aspect ratio is working quite right, but not sure how to fix it.  The aspect thing seems to work better in interactive mode.  Give it a try and see if it's a big concern.  At least when I set A=B=C the ellipsoid looks like a sphere, in 3D and projection.
> 
> How would I send in the png images that the file should produce?  The paste only allows text, let me know where to send the images, or I can reply to this email with the images attached.
> 
> From
> G.S.
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

--
John Wise
Assistant Professor of Physics
Center for Relativistic Astrophysics, Georgia Tech




More information about the yt-dev mailing list