Gnuplot學習筆記

來源:互聯網
上載者:User

Gnuplot學習筆記 安裝gnuplot-x11(可輸出至X11)協助    $gnuplot    gnuplot>help some_command樣本    #輸出    set term postscript eps enhanced size 3.7,5 #enhanced使用增強文本,size 圖的大小(英寸),terminal預設為wxt(X11)    set output "psr.eps"        #輸出檔案名     #座標軸    set xlabel "Period (s)"         #x軸label    set logscale x                    #設x軸為對數座標    set xtics 1e-9,-1000,1e-24   #x軸標度範圍    #set xtics (2,4,6,8,10)    set xr [0.001:20]                  #x軸範圍    set ydata time                    #設y軸資料為時間    set timefmt "%H:%M:%S"    #設定時間格式    set format y "%g{/Symbol \260}"    #y軸標度格式     #標註    set key 0.01,100                  #legend位置    #unset key                          #取消legend    set arrow from 0.1,2 to 0.2,3  #箭頭    set label "peak" at 0.01,10 rotate by 10    #標籤     #變數    a=3*2**3       #作圖    plot "a.dat" using 1:2 title 'relation' with points pointtype 6 linetype rgb "red" pointsize 1,\ #資料檔案作圖    x**2 with line linetype 5    #函數做圖檔案轉換eps->pdf(否則直接插入tex中enhance文本會顯示異常)     epstopdf    *.eps    pdflatex    *.pdf增強文本運算子 ^            a^x                  上標 \superscript_           a_x                    下標 \subscript@          a@^b_c              上標和下標同時出現 \phantom box (occupies no width)&           &{space}            插入指定寬度空白 \inserts space of specified length~           ~a{0.8-}            將後字元放在前字元的頂部 \overprints '-' on 'a', raised by 0.8 times the current fontsize 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.