# Can the electric field be treated as Logarithmic plot?

**URL:** <https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570>\
**Category:** Garfield++\
**Created:** [March 18, 2024, 7:18am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570 "2024-03-18T07:18:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newconcept1979](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/newconcept1979/32/26349_2.png) [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Post date:** [March 18, 2024, 7:18am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570/1 "2024-03-18T07:18:23Z")

</div>

In a GEM TPC application, the electric field was plotted, the result was shown below:

 ![ElectricField](https://root-forum.cern.ch/uploads/default/original/3X/5/e/5e026e9ba305f995eeb56a5eb83572df538f7571.png)  
obviously, only the electric field in the GEM region was plotted,  
in the drift region and the induction region, the electric field was not plotted,  
maybe because of less value in the two regions,  
so Can the electric field be treated as Logarithmic plot?

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 18, 2024, 7:42am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570/2 "2024-03-18T07:42:26Z")

</div>

Hi,  
yes, you can right-click on the canvas and then click on “SetLogZ” (or call `...->SetLogZ()` within your program).

---

<div class="post-metadata">

**Author:** ![newconcept1979](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/newconcept1979/32/26349_2.png) [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Post date:** [March 18, 2024, 8:03am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570/3 "2024-03-18T08:03:52Z")

</div>

@hschindl , thank you for your reply!

---

<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:** [April 1, 2024, 8:03am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570/4 "2024-04-01T08:03:53Z")

</div>

Closed on April 1, 2024, 8:03am UTC

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