テキスト記号で描画するためのGnuplotの描画モードは何ですか?

テキスト記号で描画するためのGnuplotの描画モードは何ですか?

gnuplotでテキスト(テキストシンボルなど)を介してプロットしたことを思い出してください。 gnuplotに対応するフラグが何であるかを知りたいです。bless図のようなビジュアル選択ツールを作成しています。実装はテキスト図に基づいています。私はとして視点を変えることができるという直感がありますset terminal [something]。この形式が欲しい

ここに画像の説明を入力してください。

LaTeXの提案を受けました。 LaTeXは便利ですが、このようなインタラクティブな作業に適しているかどうかはわかりません。もちろん、目標は後で滑らかなカラービューを得ることですが、まず白黒テキストで十分です。この種のタスクでLaTeXが優れている理由の説明を追加します。

Gnuplotでテキストシンボルを使用してプロットするには?

ベストアンサー1

私がよく理解しているなら、あなたが望むものは次のとおりです。

set terminal dumb

例は次のとおりです。

$ gnuplot

    G N U P L O T
    Version 5.2 patchlevel 2    last modified 2017-11-01 

    Copyright (C) 1986-1993, 1998, 2004, 2007-2017
    Thomas Williams, Colin Kelley and many others

    gnuplot home:     http://www.gnuplot.info
    faq, bugs, etc:   type "help FAQ"
    immediate help:   type "help"  (plot window: hit 'h')

Terminal type is now 'qt'
gnuplot> set terminal dumb

Terminal type is now 'dumb'
Options are 'feed  size 79, 24 aspect 2, 1 mono'
gnuplot> plot sin(x)


    1 +--------------------------------------------------------------------+   
      |                *  *              +  *  **         +       *  *     |   
  0.8 |-+             *   *                 *    *          sin(x* *******-|   
      |              *     *                *    *               *    *    |   
  0.6 |-+            *      *              *     *               *     * +-|   
      |              *      *             *       *             *       *  |   
  0.4 |*+            *      *             *       *             *       *+-|   
      |*            *        *            *        *           *        *  |   
  0.2 |*+           *        *            *        *           *        *+-|   
      | *          *          *          *         *          *          * |   
    0 |-*          *          *          *         *          *          *-|   
      |  *         *          *         *           *         *           *|   
 -0.2 |-+*         *          *         *           *         *          +*|   
      |  *        *            *       *             *       *            *|   
 -0.4 |-+*        *            *       *             *       *           +*|   
      |   *      *              *      *             *      *              |   
 -0.6 |-+ *     *               *     *              *      *            +-|   
      |    *    *               *     *               *     *              |   
 -0.8 |-+   *   *                *   *                 *   *             +-|   
      |     *  *       +         **  *   +             *  *                |   
   -1 +--------------------------------------------------------------------+   
     -10              -5                 0                5                10  

gnuplot>

おすすめ記事