Table of Contents
uns_2dplot - create a 2D image of an UNS file
select=range-or-component [parameter=value] ...
an UNS snapshot and plot a 2D image of the particles positions. Each particles
are smoothed by a gaussian and colored according to a logscale colormap.
The final effect give the illusion that the object has been colored by
density. The rendering that you get, looks like the one you get with glnemo2(see
man glnemo2) on gas particles.
The computation of all gaussian is multithreaded
and the number of threads used can be selected from the command line. It
requires BOOST thread api for compilation.
The following parameters
- in=uns input file
- Currently, the following input files are
supported: Nemo,Gadget 2 & 1, list of files
particles. Sets of particles must be selected using the : range operator,
separated by a comma. E.g. select=0:9,10:19 would select two sets of 10 particles,
or by component (gas,halo,stars,bulge,disk,bndry) [all]
- you specify here the output name of the image which will be automatically
saved in GIF format. If you give only the character ’?’, PGPLOT will ask you,
interactively, in which format you would like to save the image [?]
- Select time [all]
- give the same range for all
x,y and z axis. [-range:range], default none.
- Range of
values for the X axis, specified with a pair of numbers separated
by a colon. The default range is [-35.0:35.0].
- select as true if you want to display particles in XY
plan. Default is [t].
- select as true if you want to display
particles in XZ plan. Default is [t].
- select as true if
you want to display particles in ZY plan. Default is [f].
- center according to center if mass. Default is [t].
- if true, only one image will be created for all requested plan xy|xz|zy. If
false, and if a name is given to ’dev’ parameter, then a separated gif file
will be created for each plan xy|xz|zy. Default is [t].
here a title for the image
- if true, simulation’s filename
will be displayed, default [t]
- specify the filename
index offset of the image, default 
- size in
pixel of the gaussian 
- internal image width in pixels
- internal image height in pixels 
- gaussian parameter 
- number threads used for the
- display some verbose log [f]
- Jean-Charles LAMBERT
09-Nov-10 V1.0 public release JCL
Table of Contents