約 6,385 件
https://w.atwiki.jp/ketpic/pages/55.html
Initangle( ) reset the angles to defaults. デフォルト値に戻す
https://w.atwiki.jp/ketpic/pages/120.html
Letterrot( position, direction vector f, tangential direction f, normal directiongg, string) write string (expression at the center of position inclining direction Ex) Exprrot([1, 1], [3, 1], 1.5, 0, ab ); ¦ tangential direction is a small movement in the direction. Ditto normal direction ¦ “graphicx” package is needed. \usepackage{graphicx} 「点」の位置に「方向」を右横方向にするように文字を傾けて書く ※ 「接線方向」,「法線方向」はそれぞれの微少移動量 ※ graphicx パッケージが必要
https://w.atwiki.jp/ketpic/pages/130.html
KETPicを初めて使う人のための最初のサンプルを練習するページです.次の絵のような「座標軸と放物線」をTeXを用いて書いてみましょう. 準備は済んでいますか? Scilabのインストール TeXのインストール (TeXに関しては,自分で用意したTeXファイルからdviファイル(中間的にできばえを見ることが出来るファイル)やpdfファイル(配布するためのファイル)を作ることができることを確認してください.この部分についてはできるものとして話を進めます.) KETPic(Scilab版)のインストール は終わっているでしょうか?まだ済んでいなければこちらを参照してインストールをしてください. でははじめます. まずファイル名を決めましょう. つまらないことのようですが,KETPicを使ってファイルを作っていくとあっという間にファイルがたくさん出来上がります.このとき,ファイル名が内容を反映していないと,いちいちファイルを開いてみなければいけません.ですから,最初の1つめとはいえ,「sample」のような名前は使うべきでないと思います.ここでは座標軸と放物線なので,「放物線のグラフ」かまたは英語で「plot_parabola」などがよいと思います.以下では「plot_parabola」で説明します. ユーザが作るべきファイルは2つです. 1つはScilabで作るファイルで,こちらはplot_parabola.sceというファイル名になります.もう1つはTeXで作るファイルでplot_parabola.texとなります.(最近の仕様で,拡張子(.sceや.tex)は表示されませんが,これはどのソフトウエアと関連付けられているかを示す重要なところです.)なお,texファイルもsceファイルも「メモ帳」などで作ってファイル名を***.texや***.sceとすればよいですが,一般的にはよくないことも注意しておきます. sceファイルを作りましょう. まず,Scilabを起動します. そして,左上のアイコン(上図赤丸)をクリックします. ここに次のプログラムを書き込みます.とりあえず,c \User\***\Document\KETPic というところに「plot_parabola.sce」という名前で保存します. Ketlib=lib( C \Users\Ahara\Documents\KETPic\ketpicsci_v4_3_0a\ketpicsci_v4_3_3\ketpicsciL5\ ); Ketinit(); Setwindow([-2, 2], [-1, 5]); g1=Plotdata( x^2 , x=[-2,2] ); cd( C \Users\Ahara\Documents\KETPic ); Openfile( plot_parabola_fig.tex ) Beginpicture( 1cm ); Drwline(g1); Endpicture(1); Closefile(); プログラムの意味はだいたい次のような感じです. plot_parabola.sceの意味 そうしたら,メニューから「実行する」「・・・ファイルを実行(出力あり)」を選びます.なれてきたら[ctrl+L]というキーを押しても同じことです.そのあとにファイルをいれてあるフォルダをみると次のようになっています. 次は,「plot_parabola.tex」を作成します.texのエディターがあればそれを,そうでなければメモ帳などで次のファイルを作りましょう. \documentclass{article} \newlength{\Width} \newlength{\Height} \newlength{\Depth} \usepackage{amsmath,amssymb} \begin{document} \input{plot_parabola_fig.tex} \end{document} これを「plot_parabola.tex」という名前で保存します. plot_parabola.texの意味 plot_parabola.texをコンパイルします.そうして出来上がったものを見ると,次のような絵がかけていることがわかります.
https://w.atwiki.jp/ketpic/pages/29.html
Ptne(),Ptnw(),Ptsw(),Ptse() return coordinates of each corner of view area. フレーム枠の各頂点 Ptne(PD),Ptnw(PD),Ptsw(PD),Ptse(PD) PD を囲む矩形の各頂点
https://w.atwiki.jp/ketpic/pages/110.html
Dottedline( sequence of PD or MS f, interval of points f point sizeg g ) generate codes to draw plot data by dotted line. 点線を書き出す Ex) Dottedline( G1, G2 ); Ex) Dottedline( G1, 1.5 ); (The interval is 1.5 times as standard) Ex) Dottedline( G1, G2, 1, 0.5 ); (The point size is 0.5 times as standard)
https://w.atwiki.jp/ketpic/pages/34.html
Crossprod(v1,v2) return the value of crossproduct 外積
https://w.atwiki.jp/ketpic/pages/39.html
Mixdisp(ML) display members of ML in the simple form. list の要素を画面に簡易表示 Ex) Mixdisp(ML2)
https://w.atwiki.jp/ketpic/pages/5.html
CASTeXセミナーでは,KeTpicやKeTCindyの話題を中心とした講演会・ワークショップを月1回のペースで東京近郊で開催してます. 第51回CASTeXセミナー 第50回CASTeXセミナー 第2回下関研究集会 第49回CASTeXセミナー 第48回CASTeXセミナー
https://w.atwiki.jp/ketpic/pages/96.html
Phcutdata(MS of vetices VL, MS of face indices FL, plane data PlaneD) make PD3d of polyhedron and cutting plane. 多面体を平面で切ったときの多面体と切断面の3d リストを作成 ¦ Form of PlaneD a¤x+b¤y+c¤z-d , a¤x+b¤y+c¤z=d [a, b, c, d] Mix(a, b, c, P) Plane on which P lies. ¦ Cutting plane is the last opponent of MS Ex) VL=Mix([0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1]); FL=Mix([1, 2, 3], [1, 2, 4], [1, 3, 4], [2, 3, 4]); PL=Phcutdata(VL, FL, ’[1, 1, 1, 3)’); Windisp(PL);
https://w.atwiki.jp/ketpic/pages/119.html
Expr( position, direction, string,...) write expression in direction at position Ex) Expr([4, 3], s , y=\sin x ); 点の位置の「方向」に数式をかく($$は不要) 例) Expr([4, 3],’s’,’y=f(x)’);