Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:root:tcanvas [GiriWiki]

ユーザ用ツール

サイト用ツール


ja:root:tcanvas

以前のリビジョンの文書です



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 79

Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 101

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== TCanvas ====== ---- ===== Canvas の作成 ===== <code c_mac> TCanvas *c = new TCanvas("c","c",600,500); </code> * ただしこれはメニューやウインドウの枠を含んだ大きさである。実際の図自体の大きさはこれよりも小さくなってしまっている。 * 描画部分の大きさを指定したい場合は、以下のようにする <code c_mac> TCanvas *c = new TCanvas("c","c",600,500); c->SetWindowSize(600 + (600 - c->GetWw()), 500 + (500 - can->GetWh())); gSystem->ProcessEvents();//サイズ変更を反映 </code> ---- ===== Canvas の分割 ===== * Canvasをまず横に2つに分割し、さらにその左半分を上下に2つに分割する。 <code c_mac> TCanvas *c=new TCanvas("c","c",800,400); c0->Divide(2,1); c0->cd(1); // 1番のcanvasをさらに分割 TCanvas *c1=c0->cd(1); c1->Divide(1,2); </code>

ja/root/tcanvas.1396488490.txt.gz · 最終更新: 2014/04/03 01:28 by kota