Root 作图

Drawing Axis Independently of Graphs or Higstrograms
 

TGaxis(xmin,ymin,xmax,ymax,wmin,wmax,ndiv,opt,gLength)

TGaxis->SetName("");
TGaxis->SetLabelSize(double_t);
TGaxis->SetTitle("");
TGaxis->SetTitleSize(double_t);
TGaxis->SetTitleOffset(double_t);
TGaxis->Draw();
  • xmin,ymin,xmax,ymax: 初末位置
  • wmin,wmax: 坐标的最大值和最小值
  • opt:
    • G: logarithmic
    • B: Blank axis
    • U: 没有刻度(ticks)
    • +(-): 刻度在正(负)方向一侧
    • R,L,C,M: 标度的位置

package for mathematica-3

Programming with Mathematica

阅读全文

package for mathematica-2

Programming with Mathematica

阅读全文

package for Mathematica-1

Programming with Mathematica

阅读全文