# How to remove one point from TGraph

**URL:** <https://root-forum.cern.ch/t/how-to-remove-one-point-from-tgraph/19697>\
**Category:** ROOT\
**Created:** [August 14, 2015, 1:43pm UTC](https://root-forum.cern.ch/t/how-to-remove-one-point-from-tgraph/19697 "2015-08-14T13:43:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [August 14, 2015, 2:00pm UTC](https://root-forum.cern.ch/t/how-to-remove-one-point-from-tgraph/19697/2 "2015-08-14T14:00:14Z")

</div>

Delete point number “ipoint”: [TGraph::RemovePoint (Int\_t ipoint)](https://root.cern.ch/root/html/TGraph.html#TGraph:RemovePoint@1)  
Delete point close to the mouse position: [TGraph::RemovePoint ()](https://root.cern.ch/root/html/TGraph.html#TGraph:RemovePoint)

How to set / adjust axis range in canvas: [How to adjust range in canvas?](https://root-forum.cern.ch/t/how-to-adjust-range-in-canvas/18048/5)

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-remove-one-point-from-tgraph/19697)._
