User Tools

Site Tools


root:functionsetnumberpoints
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


root:functionsetnumberpoints [2010/09/28 11:10] (current) – created decianm
Line 1: Line 1:
 +====== Set the number of points to draw a function ======
 +===== Problem =====
 +If you draw a function and zoom in, you see it is composed of straight lines connecting points. You can increase the number of points to solve this.
 +
 +===== Do =====
 +<code>
 +TF1* func = new TF1("func","function", 0, 100);
 +func->SetNpx(myNumberOfPoints);
 +</code>
 +The default for ''myNumberOfPoints'' is 100.
  
root/functionsetnumberpoints.txt · Last modified: 2010/09/28 11:10 by decianm