# Track plotting in garfield

**URL:** <https://root-forum.cern.ch/t/track-plotting-in-garfield/38040>\
**Category:** Garfield++\
**Created:** [February 18, 2020, 10:04pm UTC](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040 "2020-02-18T22:04:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmirBH69](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amirbh69/32/24124_2.png) [@AmirBH69](https://root-forum.cern.ch/u/AmirBH69)\
**Post date:** [February 18, 2020, 10:04pm UTC](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040/1 "2020-02-18T22:04:04Z")

</div>

Hi everyone,  
I have an electron produced in a cell filled with high pressure gas under electric field and I need to create a plot of its trajectory.  
anyone can help on how to use the these functions taken from the manual  
void AvalancheMicroscopic::EnablePlotting(ViewDrift\* view);  
and  
void ViewDrift::Plot();  
I’m pretty new at garfield, ROOT and C++, so I feel kind of lost.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 3, 2020, 10:14pm UTC](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040/2 "2020-03-03T22:14:20Z")

</div>

Closed on March 3, 2020, 10:14pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [March 10, 2020, 7:48pm UTC](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040/3 "2020-03-10T19:48:53Z")

</div>

Opened on March 10, 2020, 7:48pm UTC


