約 6,389 件
https://w.atwiki.jp/ketpic/pages/71.html
Enclosing(MS of curves f, pointg) make PD of the closed curve connecting the nearest intersection of adjacent curves in order. If the first curve and the last curve intersect at more than one points, “point” should be indicated. The closed curve begins from the intersection nearest to “point”. Ex) G1=Plotdata( xˆ2 , x ); G2=Plotdata( 2-x , x ); G3=Plotdata( 2+x , x ); G4=Enclosing(Mix(G1, Invert(G2), Invert(G3)), [-1, 1] ); “Invert” is to be described.
https://w.atwiki.jp/ketpic/pages/133.html
そもそものKETPicソースコードの順番について KETPicを使ってScilabでプログラムを組むときには次のように考えるのがフツウです. KETPicを呼び出して使えるようにする.(Ketlib=lib(***); Ketinit();) 作図を行って,プロットデータとして準備する.(Setwindow(***,***); g1=Plotdata(****);) 文字データを準備する. (ここで一度画面上で下見する) (Windisp(***); ) 作成するTeXファイルを開いて,(cd(***); Openfile(***); Beginpicture(***); ) 準備したプロットデータを書き込む.(Drwline(g1);) 準備した文字データを書き込む. そしてファイルを閉じてファイルとして完成させる.(Endpicture(1); Closefile();) もちろん,この順番を守らなくてもKETPicソースを書くことは可能です(たとえばTeXファイルを先に開いて,後からプロットデータを作成する,など)が,「約束を守る」ことにより,作成者だけではなくKETPicユーザとファイルを共有するときにも読みやすいソースコードを提供することが出来ます. わかりやすいKETPicソースコードの枠組み コマンドの配置 おおむね,上で説明したような順序でコマンドが並んでいることが好ましい. 適切な名前 頂点の名称・線分の名称は,実際に描かれる頂点・線分の名称に即したものをつけたほうがよい.(たとえばであるが,頂点AはptA,線分ABはsegABなど.) 作図として依存関係にあるものについてそれぞれの座標を数値を書くのは不合理である.すでにある変数の値を利用する.(あとから頂点の位置を微調整したいときに,変更する箇所が1箇所であるようにする.) 数学としての整合性 たとえば平行なベクトルで長さが2倍のものを記述するのに,それぞれの座標を数値で記入するのは不合理である.数学の公式から計算できるものは,計算式によって座標や式を与える.(想定図から目分量で決めるのではなく,式によって与える.) 図としての整合性 文字データなどを頂点にはりつけるときなど,図を拡大・縮小した場合に「図の崩れ」がおこるかどうかを想定する. KETPic機能の活用 長さを表すカッコなど,KETPicの機能によりさまざまな「都合のよい図」を描くことが可能であるので活用する もっと詳しい説明はこちら.
https://w.atwiki.jp/ketpic/pages/85.html
Spacecurve( list of functions, range, options ) make PD of a space curve represented by parametric functions. Ex) G1=Spacecurve( [cos(t), sin(t), t] , t=[0, 2*%pi] ); ¦ Options are similar to that of “Plotdata”.
https://w.atwiki.jp/ketpic/pages/88.html
Xyzax3data( range of x , range of y , range of z ) make MS of axes. Ex) Fxyz=Xyzax3data( x=[0, 2] , y=[0, 2] , z=[0, 4] );
https://w.atwiki.jp/ketpic/pages/21.html
Scilabのファイルを作ってから版組までの手順
https://w.atwiki.jp/ketpic/pages/129.html
Xyzaxpersname( plotdata of axe {label of x, y label, z label }{,small movement} ) write labels of axes in the case of perspective projection Ex) Xyzaxpersname(Gax, ”, ”, ’w’); 一点投影で,各軸のラベルを書き入れる
https://w.atwiki.jp/ketpic/pages/105.html
Endpicture( 1 ) end picture environment after drawing axes. picture 環境を終える(座標軸をかく) ""Endpicture( 0 ) end picture environment without drawing axes. picture 環境を終える(座標軸をかかない)
https://w.atwiki.jp/ketpic/pages/33.html
Dotprod(v1,v2) return the value of dotproduct 内積
https://w.atwiki.jp/ketpic/pages/93.html
Skeletonpers3data(( MS1 of space curves, MS2 of space curves f, size f, threshold amountgg ) make skeletondata of MS1 hidden by MS2 (Perspective projection) . ¦ The result is 3-dimensional.
https://w.atwiki.jp/ketpic/pages/52.html
Setarrow(Size {, Angle {, Position {, Thickness}}}{, String}) set the barracking of arrowlines. Ex) Setarrow(0.5, 1, 1, 0.7, tf ); ¦ The default are size=1, angle=18±, position=1( end-point) ¦ If Angle · 5, the angle is set to Angle £ 18. ¦ String is string of shape l =line, f = filled ( default ) miner adjustment of position c = center, b =bottom, t = top (default) 矢印の形状を指定する 例) Setarrow(0.5, 1, 1, 0.7, ’tf’ ); ※ デフォルト 大きさ1 ,角度18 °,位置は終点 ※ 5 以下の開き角を指定したときは,18 °からの倍率とする ※ 形状’l’ :ライン ’f’ :塗り(デフォルト) ※ 位置微調整’c’:中央 ’b’:下 ’t’:トップ(〃) ※ 空引数のとき,現在の設定値を表示