Hi,
I want to make a contour plot of x and xp from the out file but instead of frequency parameter, I want to plot the data in terms of p (momentum). That would be like density plot but instead of the number of particles for each grid I want to know the energy of these particles.
Thank you in advance,
Farzad
sddshist2d for energy
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sddshist2d for energy
Farzad,
If (x, xp) form a grid, then you can use
This will make a 2d plot of p vs (x, xp).
If (x, xp) don't form a grid, then you can try
This will plot the (x, xp) values as a scatter plot with the dots color-coded according to the value of p.
--Michael
If (x, xp) form a grid, then you can use
Code: Select all
sddscontour -shade -xyz=x,xp,p <filename>
If (x, xp) don't form a grid, then you can try
Code: Select all
sddsplot -column=x,xp -split=column=p -graph=dot,vary -order=spect
--Michael