gnuplot を使おう。 その3 (955レス)
上下前次1-新
1(4): 2011/08/25(木)12:15 AAS
グラフ描画ソフト gnuplot のスレ。
gnuplot 公式 Web ページ
外部リンク:www.gnuplot.info
前スレ
gnuplot を使おう。 その2
2chスレ:unix
926: 2023/03/28(火)15:33 AAS
標準配布のgnuplot環境には大抵ps処理系(組み込み、gs等インタプリタ)が含まれてるから確かに昔は重宝したけ
今のPC環境なら選択肢は無数にあるから好きな言語選べば良いと思うけどね
927: 2023/04/13(木)17:46 AAS
開発版の新機能について竹の先生が紹介されています.
外部リンク[html]:takeno.iee.niit.ac.jp
928: 2023/05/19(金)10:17 AAS
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
929: 2023/05/22(月)09:01 AAS
gnuplot 5.4.7 がリリースされました
外部リンク:sourceforge.net
これが今度こそ最後にVer.5のリリースとなり,次は6.0.0になると思います
930: 2023/05/25(木)16:29 AAS
`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}",
+"",
931: 2023/05/25(木)16:30 AAS
+" 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`).",
932: 2023/06/15(木)14:47 AAS
5.4.8がでました.5.4.7でバージョン番号の扱いに誤りがあってその修正だけです.
933(1): 2023/07/22(土)04:05 AAS
[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: -
というエラーが出てきます。どのへんがおかしいでしょうか
934(1): 2023/07/22(土)11:14 AAS
>>933
>unexpected or unrecognized token: -
なんてでないよ
935: 2023/07/22(土)14:11 AAS
>934
そうですか。私の環境のせいかもしれませんので、少し調べてみます。
ありがとうございました。
936: 2023/07/25(火)23:49 AAS
うちの環境は同じメッセージでたよ
aboveと0.4の間のマイナスのとこだって
937: 2023/07/26(水)01:20 AAS
plot [0:26+2/3] 64-x with filledcurves x1 fc "yellow" notitle, - 0.4 * x + 48 with filledcurves x1 lc "white" notitle
とかかな?
938(1): 2024/03/15(金)17:28 AAS
gnuplot-6.0.0 が2023の12月末にでています
939: 2024/03/27(水)19:43 AAS
クイズ!カラオケ!つま先立ちショッピング!
940: 2024/03/27(水)20:08 AAS
今日は買い時じゃないか
IDなしだから
昨シーズン運が良かったんじゃないのにあかんのに
よくそんな意味でのコメント ありゃ最低や
941: 2024/03/31(日)21:55 AAS
>>938
multiplotの各プロットでreplotとかできるらしいのは良さげ。
ただTcl/TkとかでGUI作ってそっちにplotした方が柔軟性はある。x11限定だけど。
x11以外にもそういうこと(出力先を別アプリのウィンドウにする)できるのあるのかなぁ。
942: sage 2024/04/19(金)13:07 AAS
6.0.0のWindowsバイナリがリリースされました
943: 2024/05/30(木)12:34 AAS
6.0.1がリリースされました.Windowsバイナリもリリースされました.
944: 2024/06/04(火)22:33 AAS
ggplotに移行してたが
matplotlibに再移行
945: 2024/12/23(月)09:13 AAS
2024/12/20 ごろ6.0.2がアップロードされました.Windowsバイナリもアップロードしています.
946: 02/01(土)07:47 AAS
久しぶりにこのスレ見てみたら900番台いってるのな
947: 06/08(日)22:53 AAS
V6.0.3出ました
外部リンク:sourceforge.net
948: 06/09(月)16:19 AAS
gnuplot 6.0.3 がリリースされました.Windowsバイナリもアップロードされています
949: 06/24(火)16:14 AAS
グラフをsvg形式で出力すると
毎回 set output "ファイル名.svg"で指定しないと出力されたファイルがエラーを起こしてしまうのですが
何か対処法はありますか?
950: 06/24(火)21:14 AAS
意味が分かりません
set outputしないとファイルは出力されないのでは?
951(1): 06/24(火)21:51 AAS
すみません言葉足らずでした
(諸々の設定とかは抜きで)
set output "hoge.svg"
plot "hogehoge.csv"
と言った具合で出力すると思うんですが
例えば、ここからグラフのレイアウトを変えた後に
通常なら再びplot "hogehoge.csv"をしてしまえば、
出力ファイルが上書きされて、何の問題もないと思うのですが
svgの場合はなぜか上書きされず、svgファイル内の末尾に追記する形で更新されてしまいファイルが壊れてしまうんです
これを解決するには毎回plotする前に、set outputを行わないといけなくて結構不便で……
設定かなにかで解決できるといいんですが、ご存知の方いらっしゃいませんかね
952(1): 06/24(火)22:31 AAS
>>951
>例えば、ここからグラフのレイアウトを変えた後に
>通常なら再びplot "hogehoge.csv"をしてしまえば、
>出力ファイルが上書きされて、何の問題もないと思うのですが
その出力ファイルが上書きされない通常のterminalって何でしょうか?
953: 06/24(火)22:45 AAS
>>952
上書きしてくれて問題ないterminalはemfです
上書きしてくれなくて面倒なterminalはsvgですね
パワポとかワードで使用する時に扱いやすいファイルを探していて
上書きはしてくれるんですがemfだと不都合があったのでsvgを試してる感じです
954: 06/24(火)23:34 AAS
pdfcairoやepscairoやpostscriptも追記です
unset outputしたりset outputで新たなファイルを開くと
gnuplotは前のterminalの最後だと分かるのでそこでファイルを閉じます
unset outputやset outputなしに
そこがterminalの最後だとどうして分かるのですか?
emfって本当に上書きなんでしょうか?
955: 06/24(火)23:53 AAS
ふむ……本来はoutputであらためてファイルを指定することが必要ということなんですね
emfも上書きしているように見えているだけで、実際のところは違う挙動じゃないか?と……
結局のところは毎回output等の処理が必要そうですね、ありがとうございます
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ
ぬこの手 ぬこTOP 1.300s*