Dear Kalele,

 The right way to do this is to load the files in the right order on the 
command line, so instead of using

splash *.dat

Instead, use (for example):

splash out????.dat out?????.dat

Finally you could list the files in manual order by creating a splash.filenames 
file with the filenames listed one per line. Then you don’t need to give any 
filenames on the command line.

Best wishes,

Daniel

> On 9 Nov 2017, at 4:10 am, Kalale Chola <xxx> wrote:
> 
> Dear Dr. Price,
> 
> I am currently preparing a paper for publication. For
> generating nice plots I am using SPLASH. I, however,
> have a problem generating png files that properly
> sequenced. Let me explain exactly what i mean.
> 
> 1] I have a list of indexed files out5000.dat, out10000.dat, out15000.dat...
> with a step of 5000. 
> 
> 2] From the terminal I do: splash out*.dat
> to load the files. See attached file load.dat
> 
> 3] I then used an interactive device to adjust options until it looked right.
> i then pressed "s" to save the plot. See screenshot.png
> 
> 4] I then generated png files. See PlotSequence.dat
> 
> Here is my problem. When you inspect PlotSequence.dat, you find that
> splash_0000.png is created from  out10000.dat
> splash_0001.png is created from  out105000.dat
> 
> notice the jump. If you scroll down PlotSequence.dat you again find
> 
> splash_0010.png is created from  out150000.dat
> splash_0011.png is created from  out15000.dat
> splash_0012.png is created from  out155000.dat
> 
> Again notice the jump. It seems that the sequence of files splash_*.png
> is random with respect to the inpt files out*.dat.
> 
> Is it possible to generate the splash_*.png files and number them sequentially
> with respect to inputs out*.dat as follows
> 
> splash_0000.png is created from  out5000.dat
> splash_0001.png is created from  out10000.dat
> splash_0002.png is created from  out15000.dat
> splash_0003.png is created from  out20000.dat
> splash_0004.png is created from  out25000.dat
> 
> and so on. Note that the number in out[seq].dat corresponds to the iteration 
> number
> in the SPH simulation. The reason I am interested in the splash_*.dat being 
> generated this
> way is that I can easily play the frames splash_0000.png, splash_0001.png 
> ,....
> as a movie and also I can easily know the iteration number for each 
> splash_0000.png file.
> 
> Sorry if this request is bothersome. Regardless, thanks for your continued 
> support.
> 

-- 
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 https://groups.google.com/group/splash-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/splash-users/F7B03811-BE82-46EA-93CD-69881D37F321%40monash.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to