MacOS gnuplot 導入とやり方

Homebrewを使ったインストール

%brew install gnuplot

 

 

インストール後

%gnuplot

 

G N U P L O T

Version 5.4 patchlevel 2    last modified 2021-06-01 

 

Copyright (C) 1986-1993, 1998, 2004, 2007-2021

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>

となる

Terminal type is now 'unknown’となっていたら、書けない

gnuplot>plot sin(x)

gnuplot>plot x*5

 

 

 

直近に消したものはControl-Pで戻せる