mac安装gnuplot

使用命令安装:

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>


效果图

224534_LMKl_1429274.png

转载于:https://my.oschina.net/guonaihong/blog/465803

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值