如何更改附加到整个图表的属性
有谁知道如何更改图形属性“Norm”。一个命令;
G = SetProperty[G, "GraphProperties" -> {"Norm" -> 1}]
没有像我预期的那样工作。这是图构造函数;
G = Graph[{Property[1, "Potential" -> 11],2,3,4},
{Property[2 -> 1, "PreferenceIntensity" -> 5], 3 -> 1, 3 -> 2, 1 -> 4},
EdgeWeight -> {5, 3, 4, 2},
Properties -> {"GraphProperties" -> {"Norm" -> 5}},
VertexLabels -> "Name", ImagePadding -> 10] ;
谢谢。
Does anyone know how to change graph property "Norm". A command;
G = SetProperty[G, "GraphProperties" -> {"Norm" -> 1}]
doesn't work as I expected. Here is the graph constructor;
G = Graph[{Property[1, "Potential" -> 11],2,3,4},
{Property[2 -> 1, "PreferenceIntensity" -> 5], 3 -> 1, 3 -> 2, 1 -> 4},
EdgeWeight -> {5, 3, 4, 2},
Properties -> {"GraphProperties" -> {"Norm" -> 5}},
VertexLabels -> "Name", ImagePadding -> 10] ;
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能有效:
通常您应该避免创建以大写字母开头的符号名称,因此以后使用
g
。This may work:
Generally you should avoid creating symbol names that start with a capital letter, so use
g
in the future.