you're in luck (you caught me on a Friday)

r5196

should now work. Still a bit to do - only works for projection plots at 
present, but should be enough for what you need. And 3D iron filings plots work 
:)

Daniel

> On 7 Nov 2014, at 9:58 am, Benjamin Lewis <[email protected]> wrote:
> 
> [Apologies for top posting]
> 
> Any way I can shoe-horn this into working for now? I'm trying to plot where, 
> and with what velocity (direction, not so much magnitude), particles are 
> being accreted onto the sink so I only have the limited information that 
> sphNG 'A' file contains. I could conceivably do this in matplotlib, but 
> splash is faster and looks nicer :-)
> 
> If it isn't trivial don't worry. Thanks anyway :-)
> 
> On 6 November 2014 22:45, Daniel Price <[email protected]> wrote:
> Hi Ben,
> 
>  This is because the vector plotting uses the smoothing length and density to 
> render the vector arrows. So you won't get the vector plot unless you have h, 
> rho and particle mass in the columns list also.
> 
> However, you are right that it should be possible to plot vectors in this 
> case, so I'll add it as a feature request to implement that. The routines to 
> do the actual plotting of arrows without rendering do exist in splash, so it 
> is just a matter of allowing them to be used in the appropriate situation. 
> Likewise, the 3D "iron filings" plots I've been making with splash don't use 
> the smoothing length either, so they should also be allowed in this case.
> 
> Cheers,
> 
> Daniel
> 
> > On 6 Nov 2014, at 11:44 pm, Benjamin Lewis <ben.lewis@xxx> wrote:
> >
> >
> > Hi Daniel,
> >
> > I trust all is well in Monash/with the move from Maths to Physics etc.
> >
> > I have a (hopefulyl quick) question about asplash's columns files. I'm
> > trying to plot some particles and vectors from a text file (long story
> > why, trying out an idea) but I can't work out what magic incantation I
> > need to put in the columns file to make it work.
> >
> > Currently I have:
> >  [ btl202@post-zen: btl202 ]$ cat columns
> >  x
> >  y
> >  z
> >  v_x
> >  v_y
> >  v_z
> >  ts
> >
> > and the data file looks something like:
> >  [ btl202@post-zen: btl202 ]$ head < accspl_0000.txt
> >  # firstT = 8.980081 lastT = 9.343800 nT = 333456.000000i
> >  #
> >  # x       y      z      v_x      v_y      v_z        ts
> >  0.000063 -0.000112 0.000028 0.443758 0.584049 0.057143 8.980081
> >  0.000059 -0.000109 0.000027 0.624525 0.229591 0.203379 8.980081
> >  0.000055 -0.000106 0.000029 0.823962 -0.132463 -0.036930 8.980081
> >  0.000065 -0.000096 0.000029 -0.120366 -0.734718 -0.009822 8.980081
> >  0.000063 -0.000111 0.000035 0.326880 0.422621 -0.587679 8.980081
> >  0.000060 -0.000103 0.000031 0.429662 -0.258081 -0.269252 8.980081
> >  0.000060 -0.000106 0.000022 0.439261 0.095163 0.697331 8.980081
> >
> > But with these option asplash doesn't give me a prompt to plot vectors
> > if I do, e.g., a y-x plot.
> >
> > Is there something obvious I'm missing? I had a rummage through
> > read_data_ascii.f90, and as far as I can tell v_{x,y,z} should be
> > setting the iamvec label correctly...
> >
> > Thanks!
> >
> 
> 
> 
> -- 
> -- 
> Benjamin Lewis
> Returning Officer and Past-President
> Durham Union Society
> 
> Mobile: +44 7540 379074 Office: +44 191 384 3724
> Pemberton Buildings, Palace Green, Durham
> 

-- 
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.

Reply via email to