# Plotting particle track in Flair

**URL:** <https://fluka-forum.web.cern.ch/t/plotting-particle-track-in-flair/1554>\
**Category:** Flair\
**Created:** [27 March 2021 08:28 UTC](https://fluka-forum.web.cern.ch/t/plotting-particle-track-in-flair/1554 "2021-03-27T08:28:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luo.luo](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/l/49beb7/32.png) [@luo.luo](https://fluka-forum.web.cern.ch/u/luo.luo)\
**Post date:** [27 March 2021 08:28 UTC](https://fluka-forum.web.cern.ch/t/plotting-particle-track-in-flair/1554/1 "2021-03-27T08:28:06Z")

</div>

Dear experts，  
I wonder how I get the attached image of the reaction process.This image is from the PDF of the online course.  
I am currently using the old version of FLUKA 4-0.1 and flair 3.1-4. I want to know whether the latest version of flair 3.1-10 and FLUKA 4-1.1 have the function to get this image? If so, I have to update it. I also want to know the general steps.

 ![1](https://fluka-forum.web.cern.ch/uploads/default/original/2X/c/c4e945c66de91f4d49dcb5773ef57cd9c44cab06.png)

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [27 March 2021 09:27 UTC](https://fluka-forum.web.cern.ch/t/plotting-particle-track-in-flair/1554/2 "2021-03-27T09:27:35Z")

</div>

Dear @luo.luo,

please keep your FLUKA and Flair installation always up to date, as support only provided for the latest releases.

To create the trajectory plot, you need to add an **USERDUMP** card to your simulation, run it with a low number of primaries.

When it finished, you need to create a new layer on the Geometry window, with the Userdump option. See:

 ![track](https://fluka-forum.web.cern.ch/uploads/default/original/2X/1/1dc6117bac9ad11b27c4c59aa3e93e2989c001f7.png)

More explanation in the Flair manual: [F4.13} Layers](http://flair.cern/manual/F4.13.html).

Finally here is an example Flair project file: [track.flair](https://fluka-forum.web.cern.ch/uploads/short-url/pdN9s5K7XUnOU2VEZAK0yQqJ2oS.flair) (1.6 KB)

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [27 April 2021 09:23 UTC](https://fluka-forum.web.cern.ch/t/plotting-particle-track-in-flair/1554/3 "2021-04-27T09:23:01Z")

</div>


