gnuplot を使おう。 その3 at UNIX
[2ch|▼Menu]
1010:名無しさん@お腹いっぱい。
23/03/17 01:44:57.15 .net
コルーチン、スレッド/プロセス管理、高階手続き、例外機構などpsの先進的だった機能もpython3系で追い付かれた感があるわな
当然エコシステムでも敵わないから、psの書き手はますます減りそうで寂しい

1011:名無しさん@お腹いっぱい。
23/03/17 02:02:20.54 .net
yieldとかあったな、本当に先進的
俺はgnuplotに吐かせたpsコードに引数処理、与えたファイルとストリームの読み書き、素直なデータのパースを書き加える程度
単に他の言語でラッパを書くとファイルが増えて面倒という理由だけど

1012:名無しさん@お腹いっぱい。
23/03/18 21:48:18.18 .net
皆さんpsの高度な機能使ってるんですね
自分は作成したらプリントするか、ベクター系のソフトで編集する位だけど、他の皆さんかどういう用途で使ってるのか想像つかないです

1013:名無しさん@お腹いっぱい。
23/03/18 22:04:27.38 .net
数式で表せる図形とか書いたことあるな

1014:名無しさん@お腹いっぱい。
23/03/19 02:07:01.25 .net
なるほど
フラクタルとか、難しい数式をビジュアル化するとか面白そうですね

1015:名無しさん@お腹いっぱい。
23/03/28 15:33:16.40 .net
標準配布のgnuplot環境には大抵ps処理系(組み込み、gs等インタプリタ)が含まれてるから確かに昔は重宝したけ
今のPC環境なら選択肢は無数にあるから好きな言語選べば良いと思うけどね

1016:名無しさん@お腹いっぱい。
23/04/13 17:46:54.96 .net
開発版の新機能について竹の先生が紹介されています.
URLリンク(takeno.iee.niit.ac.jp)

1017:名無しさん@お腹いっぱい。
23/05/19 10:17:17.95 .net
5.4.7testing がでました
Changes in 5.4.7
================
* FIX pseudofiles '+','++' must ignore "set datafile columnheader" Bug #2585
* FIX data from an array must ignore "set datafile columnheader" Bug #2585
* FIX various problems with unbounded plot iteration Bug #2589
* FIX allow plot ... smooth acsplines with filledcurves Bug #2592
* FIX "plot title at {end|beginning}" belongs in KEYSAMPLE layer
* FIX handle empty string in last field of csv file
* FIX Handle nonlinear axes during contour generation Bug #2593
* FIX yerrorbars key sample should match bars in the plot Bug #2598
* FIX "plot with table" must skip all smoothing operations Bug #2610
* FIX cairolatex/epslatex: prevent doubled text in opaque textboxes
* FIX wxt: versions prior to 3.0 do not support XDG Bug #2587
* FIX wxt: fontscale and fontsize handling was inconsistent Bug #2373
* FIX tikz epslatex cairolatex: updated to work with TeXLive2023 Bug #2613
* FIX correctly report cardinality of an empty array is zero Bug #2616
* FIX ignore datafile separator when plotting from an array
* FIX combination of pm3d options "at b" or "at t" with "depthorder"
* FIX combination of 'autotitle columnhead' and 'using col("key")' Bug #2620
* FIX do not complain if XDG files are not found because no $HOME Bug #2623
* FIX windows terminal: arrow length corrected for aspect ratio Bug #2565

1018:名無しさん@お腹いっぱい。
23/05/22 09:01:35.54 .net
gnuplot 5.4.7 がリリースされました
URLリンク(sourceforge.net)
これが今度こそ最後にVer.5のリリースとなり,次は6.0.0になると思います

1019:名無しさん@お腹いっぱい。
23/05/25 16:29:49.89 .net
`kittycairo` terminalが現在の開発版にくみこまれました
+" The `kittycairo` terminal generates in-window output on terminal emulators",
+" that support the kitty graphics protocol. The actual drawing is done via",
+" cairo, a 2D graphics library, and pango, a library for text rendering.",
+" The kitty protocol is an alternative to sixel graphics, with the advantage",
+" of support for 24-bit RGB colors and slightly lower required bandwidth to",
+" transfer the image data between computer and terminal in a remote session.",
+"",
+" Syntax:",
+" set terminal kittycairo",
+" {{no}enhanced} {mono|color}",
+" {font <font>} {fontscale <scale>}",
+" {linewidth <lw>} {rounded|butt|square} {dashlength <dl>}",
+" {background <rgbcolor>}",
+" {size <XX>,<YY>} {anchor|scroll}",
+"",

1020:名無しさん@お腹いっぱい。
23/05/25 16:30:09.69 .net
+" This terminal processes labels and other text using enhanced formatting",
+" by default. See `enhanced`.",
+"",
+" The width of all lines in the plot can be modified by the factor <lw>",
+" specified in `linewidth`. The font size can similarly be uniformly modified",
+" the scale factor provided by `fontscale`. For discussion of font and text",
+" encoding options, see the `pdfcairo` terminal."
+"",
+" The option `rounded` sets line caps and line joins to be rounded;",
+" `butt` is the default, producing butt caps and mitered joins.",
+"",
+" The size of the plot is given in screen pixels. By default each plot is",
+" drawn starting at the current cursor position and scrolls with the terminal",
+" text. `anchor` instead pins each plot to the top left of the terminal window.",
+" This is useful for animation or pseudo-mousing using the keyboard",
+" (see `pseudo-mousing`).",

1021:名無しさん@お腹いっぱい。
23/06/15 14:47:55.33.net
5.4.8がでました.5.4.7でバージョン番号の扱いに誤りがあってその修正だけです.

1022:名無しさん@お腹いっぱい。
23/07/22 04:05:44.92.net
[0:26+2/3]の範囲で
- 0.4 * x + 48

64-x
で囲まれた領域を描画したいです。
plot sample [0:26+2/3] 64 - x with filledcurves above - 0.4 * x + 48 fc "yellow" notitle
と入力すると、
unexpected or unrecognized token: -
というエラーが出てきます。どのへんがおかしいでしょうか

1023:名無しさん@お腹いっぱい。
23/07/22 11:14:19.96.net
>>1022
>unexpected or unrecognized token: -
なんてでないよ

1024:名無しさん@お腹いっぱい。
23/07/22 14:11:24.15.net
>1023
そうですか。私の環境のせいかもしれませんので、少し調べてみます。
ありがとうございました。

1025:名無しさん@お腹いっぱい。
23/07/25 23:49:29.67.net
うちの環境は同じメッセージでたよ
aboveと0.4の間のマイナスのとこだって

1026:名無しさん@お腹いっぱい。
23/07/26 01:20:19.89.net
plot [0:26+2/3] 64-x with filledcurves x1 fc "yellow" notitle, - 0.4 * x + 48 with filledcurves x1 lc "white" notitle
とかかな?

1027:名無しさん@お腹いっぱい。
24/03/15 17:28:49.14 .net
gnuplot-6.0.0 が2023の12月末にでています

1028:名無しさん@お腹いっぱい。
24/03/27 19:43:05.59 .net
クイズ!カラオケ!つま先立ちショッピング!

1029:名無しさん@お腹いっぱい。
24/03/27 20:08:23.89 .net
今日は買い時じゃないか
IDなしだから
昨シーズン運が良かったんじゃないのにあかんのに
よくそんな意味でのコメント ありゃ最低や

1030:名無しさん@お腹いっぱい。
24/03/31 21:55:57.30 .net
>>1027
multiplotの各プロットでreplotとかできるらしいのは良さげ。
ただTcl/TkとかでGUI作ってそっちにplotした方が柔軟性はある。x11限定だけど。
x11以外にもそういうこと(出力先を別アプリのウィンドウにする)できるのあるのかなぁ。


最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

44日前に更新/295 KB
担当:undef