mac安装gnuplot

时间:2015-06-12 01:13:47   收藏:0   阅读:834

使用命令安装:

brew install gnuplot --with-x11


进入gnuplot

gnuplot


正常的欢迎界面

G N U P L O T
	Version 4.6 patchlevel 6    last modified September 2014
	Build System: Darwin x86_64

	Copyright (C) 1986-1993, 1998, 2004, 2007-2014
	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 set to ‘x11‘


出错的欢迎界面

G N U P L O T
	Version 4.6 patchlevel 6    last modified September 2014
	Build System: Darwin x86_64

	Copyright (C) 1986-1993, 1998, 2004, 2007-2014
	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 set to ‘unknown’

Terminal type set to ‘unknown’ 错误及解决方法

http://xquartz.macosforge.org/landing/ 下载dmg安装包安装

安装好mac用的x11 重启下电脑,如果不需要安装x11就不需要重启电脑


来个hello world

gnuplot> x=4
gnuplot> plot(x)
gnuplot>


效果图

技术分享

原文:http://my.oschina.net/guonaihong/blog/465803

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!