Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about pyroot

Read more about pyroot

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - pyroot

Adding axis limits in pyROOT

I am trying to limit my x-axis in my pyROOT code. Right now the x-axis is way too long and makes the waveform that I am plotting look too thin. I need to limit the x-axis range to about (130,240) but ...
test-img

Rachel Fister

limit

axis

pyroot

Votes: 0

Answers: 1

Latest Answer

Before calling canvas.Print("plot.pdf"), you can try: tgraph.GetXaxis().SetRangeUser(130, 240) Regarding the usage of the -> operator, in Python it has not the same meaning as it has on ...
test-img

lbarbele

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved