博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Graphviz gnuplot
阅读量:4687 次
发布时间:2019-06-09

本文共 910 字,大约阅读时间需要 3 分钟。

这两个都是因为用到snap的时候要画图和显示图的库。

windows下的安装还是挺容易的。gnuplot是有64位的库,graphviz是32位的。装完后,都记得要把路径改下,这样子才能成功的使用。

snap中有段测试代码分别测试gnuplot和graphviz,gnuplot的挺easy的。graphviz的其实也挺容易的,只是运行完之后,不是立马出来了结果,会产生一个dot文件。然后打开graphviz查看dot文件。虽然dot文件也可以用word打开。是一段转换后的代码。

具体可以参见这个解释在stackoverflow上面。http://stackoverflow.com/questions/1494492/graphviz-how-to-go-from-dot-to-a-graph、

原文如下:

 

type: dot -Tps filename.dot -o outfile.ps

If you want to use the dot renderer. There are alternatives like neato and twopi. If graphiz isn't in your path, figure out where it is installed and run it from there.

If you're using windows, check out the installed tool called GVEdit, it makes the whole process slightly easier.

Go look at the graphviz site in the section called "User's Guides" for more detail on how to use the tools:

(See page 27 for output formatting for the dot command, for instance)

 

转载于:https://www.cnblogs.com/hope100/p/4165820.html

你可能感兴趣的文章
css 继承和层叠
查看>>
javascript实现图片轮播3D效果
查看>>
ssl初一组周六模拟赛【2018.3.17】
查看>>
[RxJS] Avoid mulit post requests by using shareReplay()
查看>>
C++和C#之间的数据类型对应关系
查看>>
模型分离(选做)
查看>>
LeetCode 242. Valid Anagram
查看>>
观察者模式------《Head First 设计模式》
查看>>
JSP表单提交乱码
查看>>
如何适应现代雇佣关系
查看>>
【BZOJ4592】[Shoi2015]脑洞治疗仪 线段树
查看>>
redis sentinel 读写分离
查看>>
团队项目(第五周)
查看>>
ElasticSearch6(三)-- Java API实现简单的增删改查
查看>>
选拔赛 I 点进来吧,这里有你想要的
查看>>
SQL 优化经验总结34条
查看>>
开源 视频会议 收藏
查看>>
核心J2EE模式 - 截取过滤器
查看>>
test1
查看>>
.net开源CMS
查看>>