数学建模社区-数学中国

标题: matlab中如何画出有点和线的图 [打印本页]

作者: Reader_Founder    时间: 2013-8-27 13:24
标题: matlab中如何画出有点和线的图
显示节点和连线的图
谢谢,在线等
作者: 袁海亮    时间: 2013-8-27 18:25
plot(x,y,"color_point_linestile")  这就能标记出来吧
作者: Reader_Founder    时间: 2013-8-27 18:45
袁海亮 发表于 2013-8-27 18:25
plot(x,y,"color_point_linestile")  这就能标记出来吧

额,桑科斯
作者: magic2728    时间: 2013-8-27 21:20
plot函数,可以画出点和线的图。
作者: madio    时间: 2013-8-27 21:59
下面是一个例子:
Plot half of a "Bucky ball" carbon molecule, placing
asterisks at each node:
  1. k = 1:30;
  2. [B,XY] = bucky;
  3. gplot(B(k,k),XY(k,:),'-*')
  4. axis square
复制代码

作者: madio    时间: 2013-8-27 22:10
如果要画比较复杂的网络结构图,建议使用R软件,参考这里
http://www.madio.net/thread-199076-1-1.html
作者: Reader_Founder    时间: 2013-8-28 00:33
madio 发表于 2013-8-27 22:10
如果要画比较复杂的网络结构图,建议使用R软件,参考这里
http://www.madio.net/thread-199076-1-1.html

谢谢,我的意思是用plot命令作图,如何让节点和连线呈现不用颜色?
作者: 沉默双    时间: 2013-8-30 20:39
plot函数,可以画出点和线的图。plot3可以画出三维图




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5