Hi Michaela, The steps you are following are correct. However, to be able to render dark matter particles you need to specify a smoothing length for them. This can be done in GADGET by setting the GSPLASH_DARKMATTER_HSOFT environment variable to give a global value for the smoothing length to all dark matter particles. This is crude but will at least do something (a better way is to actually compute individual smoothing lengths for the dark matter particles).
That is, you first need to be able to render dark matter particles at all. By default in splash they do not have a smoothing length set, so they are just treated as "non-SPH" particles that can only be plotted as raw points. Daniel On 2 Jul 2014, at 3:02 am, Michaela Voth <[email protected]> wrote: > Dear Daniel Price, > my name is Michaela Voth and I am working with splash for a while now and I > like it a lot - its easy to handel and the creation of the plots is > intuitive. I am working with Gadget and plot my snapshots with splash. Now I > want to create a little more difficult plots and therefore I have a question > and I wasnt able to find a solution. I am sry for annoying you with this. > > My aim is the plot Gas Particles as a render plot and the Dark Matter > Particles on top as a contour. > > I already tried to find a solution but thats the only explanation I found: > http://users.monash.edu.au/~dprice/splash/userguide/basics.html#sec31 > > Thus, I changed the render options: > > >> ----------------- rendering options ------------------- > >>0) exit > >>1) set number of pixels ( AUTO ) > >>2) change colour scheme ( 2 ) > >>3) 2nd render/contour prompt ( ON ) > >>4) change number of contours ( 20 ) > >>5) colour bar options ( 1 ) > >>6) use particle colours not pixels ( OFF ) > >>7) normalise interpolations ( OFF ) > >>8) use accelerated rendering ( OFF ) > >>9) use density weighted interpolation ( OFF ) > >>10) customize label on projection plots ( ) > >>11) change kernel ( default [cubic] ) > >>enter option ([0:11], default=0): 3 > >>allow contour/double render prompt? (default=yes): > >> > >>Double rendering renders the first quantity in black and white > >>and the second in colour with a transparent background > >>(such that data below the colour bar minimum appears transparent) > >> > >>use double rendering instead of contours? (default=no): > >>Contour plotting prompt is ON > >>enter number of contours between min,max ([0:500], default=20): > >>plot contour labels? (default=yes): > > and now I wanted to change the particle type optionen, so that one particle > type is shown by the rendered plot and the other type should be shown by the > contour: > > >>------------- particle plot options ------------------- > >>0) exit > >>1) turn on/off particles by type ( ON, ON, OFF, OFF, OFF, OFF ) > >> use in contour plots: ( OFF, -, -, -, -, - ) > >>2) change graph markers for each type ( 1, 4, 17, 1, 3, 1 ) > >>3) set colour for each particle type ( -1, -1, -1, -1, -1, -1 ) > >>4) change plotting order of types ( 1, 2, 3, 4, 5, 6 ) > >>5) plot line joining particles ( OFF ) > >>6) plot error bars/smoothing circles ( OFF ) > >>7) change coordinate systems ( 1 ) > >>8) plot exact solution ( 0 ) > >>9) exact solution plot options > >>enter option ([0:9], default=0): 1 > >>Plot gas particles / use in renderings? (default=yes): > >>Use gas particles in contour plots? (default=no): > >>Plot dark matter particles? (default=yes): > >>>> Plot dark matter particles on top of rendered plots? (default=no): > >>Plot boundary 1 particles? (default=no): > >>Plot boundary 2 particles? (default=no): > >>Plot star particles? (default=no): > >>Plot sink / black hole particles? (default=no): > > in submenu point 2 is a line for "use in contour plots: ( OFF, -, -, -, -, - > ) " but I dont know how to set this to "On" for the particle type 2. The only > option that can be changed here is "Plot dark matter particles on top of > rendered plots? (default=no): " . What am I doning wrong here? For my aim the > option must be > > >>1) turn on/off particles by type ( ON, ON, OFF, OFF, OFF, OFF ) > >>use in contour plots: ( OFF, ON, -, -, -, - ) > > How can I adjust this ? > > Thank you very much for the help. > Greetings, > Michaela Voth -- You received this message because you are subscribed to the Google Groups "SPLASH users forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/splash-users. For more options, visit https://groups.google.com/d/optout.
