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 static/image/common/back.gif
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:k = 1:30;
= bucky;
gplot(B(k,k),XY(k,:),'-*')
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 static/image/common/back.gif
如果要画比较复杂的网络结构图,建议使用R软件,参考这里
http://www.madio.net/thread-199076-1-1.html

谢谢,我的意思是用plot命令作图,如何让节点和连线呈现不用颜色?

沉默双 发表于 2013-8-30 20:39

plot函数,可以画出点和线的图。plot3可以画出三维图
页: [1]
查看完整版本: matlab中如何画出有点和线的图