gnuplot を使おう。 その3 (946レス)
上下前次1-新
877: 2022/09/16(金)21:20 AAS
いいってことよ
878: 2022/09/22(木)20:30 AAS
深刻なバグの修正があったようで 5.4.5 が早めにリリースされそうです。
外部リンク:sourceforge.net
879: 2022/09/23(金)00:31 AAS
やっとかよ
880: 2022/09/26(月)08:22 AAS
5.4.5 のβリリースがでました。
外部リンク:sourceforge.net
Changes in 5.4.5
================
* NEW "set key offset <dx <dy>" tweaks placement of the key
* NEW data-driven histogram colors (variable color from extra using column)
* CHANGE re-order drawing 3D labels to come after pm3d depthorder surfaces
* CHANGE hpgl: add terminal option "fontscale <value>"
* CHANGE for nonuniform matrix data, column(0) returns linear position in matrix
* CHANGE set pointintervalbox 0 disables drawing the background box Bug #2544
省8
881: 2022/09/27(火)00:41 AAS
キターーー
882: 2022/10/02(日)18:07 AAS
重要なバグ修正があるので年末予定のスケジュールを早めてgnuplot 5.4.5 がリリースされました。
Windowsバイナリもアップロードされています。
外部リンク:sourceforge.net
883: 2022/10/05(水)21:56 AAS
極座標でのグリッドが開発版に実装されました。
外部リンク:sourceforge.net
configure で --enable-polar-grid オプションをつけてビルドすると実装されます。
polargrid.dem の実行結果を pdf にしてみました。
外部リンク[pdf]:tmacchant33.starfree.jp
Windows と Cygwin の開発版のバイナリもこのオプションをつけてビルドしています。
外部リンク[html]:tmacchant33.starfree.jp
884: 2022/10/16(日)12:50 AAS
開発版にローカル変数がサポートされました。
外部リンク:sourceforge.net
885: 2022/10/20(木)16:00 AAS
関数ブロックが開発版に実装されました。
外部リンク:sourceforge.net
configure で --enable-function-blocks を使ってください。
(以前紹介した watch points や polar grid はデフォルトで enable となりました。)
デモは以下を御覧ください。
外部リンク[html]:www.gnuplot.info
886: 2022/12/01(木)22:12 AAS
ageます
887(9): 2022/12/06(火)01:23 AAS
C++からデータをパイプでgnuplotに流し込むことを考えています
以下のソースはLinuxではうまくいったのですが
mingwでビルドしてWindowsで実行するとうまく行きません
(ソース分けます)
#include <string>
#include <cstdio>
#include <memory>
#include <ctime>
#include <map>
#include <cmath>
省8
888: 887 2022/12/06(火)01:24 AAS
(続き)
int main ()
{
string gnuplot_path ("gnuplot");
FILE fp (popen (gnuplot_path.c_str (), "w"));
if (!fp)
return -1;
fprintf (fp, "reset\n");
fprintf (fp, "set yrange [-1:1]\n");
clock_t time0 (clock ());
省17
889: 887 2022/12/06(火)01:34 AAS
書けなくなった
890(3): 2022/12/06(火)08:10 AAS
>>887
mingw gnuplotの5.4はpipeの扱いにバグがあります.
最近修正されたのですがリリース版修正されるのは次のリリース(5.4.6)になります.
5.2のgnuplotを使うか
891(3): 2022/12/06(火)08:12 AAS
890 途中でかきこんでしまいました.5.2.xを使うか5.5(開発版)を使うかです.
5.5(開発版)のバイナリは以下
外部リンク[html]:tmacchant33.starfree.jp
892: 887 2022/12/06(火)12:05 AAS
>>890,891
有難うございます
試してみまするる
893: 887 2022/12/06(火)12:08 AAS
>>890,891
このあとエラーとgnuplotのバージョン情報を貼ろうと思ったのですが
昨夜は全然書き込めなくなりました
バージョンはご懸念の通り5.4 patchlevel 5になります
不完全な書き込みにも関わらず情報提供をありがとうございます
894: 887 2022/12/06(火)12:57 AAS
>>890,891
ビンゴでした
Windows版は5.2.8にしたら意図通り動作しました
(ちなみにLinuxで動作していたのはDebianのstableのやつで5.4.1でした
5.4系列でパイプに問題があるのはWindows版だけかもしれません)
不完全な情報からご回答を頂きまして本当に有難うございました
895: 887 2022/12/10(土)15:26 AAS
Windowsで
tail -f hoge.gp | gnuplot
のようにしたいのですが
tail -fのように使えるコマンドってありますか?
スレ違いのような気もしますが一連ってことでお聞きします
896: 887 2022/12/10(土)21:02 AAS
pwshで以下のようにして出来ました
gc hoge.gp -tail 1 -wait | gnuplot
上下前次1-新書関写板覧索設栞歴
あと 50 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.008s