<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE> Partiview (PC-VirDir): Partiview and NEMO</TITLE> <LINK HREF="partiview-7.html" REL=next> <LINK HREF="partiview-5.html" REL=previous> <LINK HREF="partiview.html#toc6" REL=contents> </HEAD> <BODY> <A HREF="partiview-7.html">Next</A> <A HREF="partiview-5.html">Previous</A> <A HREF="partiview.html#toc6">Contents</A> <HR> <H2><A NAME="s6">6. Partiview and NEMO</A></H2> <P>The program <CODE>snapspecks</CODE> converts a NEMO snapshot to specks format that can be read in directly by partiview. The default viewing variables are <CODE>x,y,z,m</CODE>, but you can add and changed them by using the <B>options=</B> keyword. In fact, arbitrary <I>bodytrans</I> expressions can be used for output. In the following example a 32-body Plummer sphere is created, which is then given a power-law mass spectrum (with slope -2) between 0.5 and 10 mass units, and animated: <P> <BLOCKQUOTE><CODE> <HR> <PRE> % mkplummer - 32 |\ snapmass - - massname='n(m)' masspars=p,-2 massrange=0.5,10 |\ hackcode1 - run1.dat % snapspecks run1.dat > run1.tab % partiview run1.cf % cat run1.cf read run1.tab eval labels off eval lum lum 0 1 eval polylumvar point-size .1 area texturevar 4 eval psize 5000 eval slum 5 eval every 1 </PRE> <HR> </CODE></BLOCKQUOTE> <P> <P> <HR> <A HREF="partiview-7.html">Next</A> <A HREF="partiview-5.html">Previous</A> <A HREF="partiview.html#toc6">Contents</A> </BODY> </HTML>