clearer
 

void set_plot_style() {

const Int_t NRGBs = 5;
const Int_t NCont = 255;
Double_t stops[NRGBs] = { 0.00, 0.34, 0.61, 0.84, 1.00 };
Double_t red[NRGBs]   = { 0.00, 0.00, 0.87, 1.00, 0.51 };
Double_t green[NRGBs] = { 0.00, 0.81, 1.00, 0.20, 0.00 };
Double_t blue[NRGBs]  = { 0.51, 1.00, 0.12, 0.00, 0.00 };
TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
gStyle->SetNumberContours(NCont);

}

dhmoon/macro2dset.txt · 마지막 수정: 2017/08/03 23:46 작성자 dhmoon
 
광주광역시 북구 용봉동 전남대학교 자연대 4호관 물리학과 319호 | Tel. +82-62-530-3484
Bld.4-319 Department of Physics, Chonnam National University, 77 Yongbong-ro, Buk-gu, Gwangju 500-757, KOREA
별도로 라이선스를 알리지 않을 경우, 이 위키의 내용은 다음의 라이선스에 따릅니다: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki