Matlab 2017b library functions don't match online documentation.
Afficher commentaires plus anciens
Hi,
I am using academic version of Matlab 2017b and was developing plots for network graphs. I was following documentation given on this web page: https://in.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.graphplot.layout.html
However, when I tried to plot graph using force layout with influence of weights as mentioned in the documentation it threw me an error.
I dig deeper into the issue and realized that:
Although for the function layout: Keyword 'Force' is supposed to have name value pair "WeightEffect", when I run help layout in my matlab console I find that "WeightEffect" is not a valid name value pair. This is despite the fact that online documentation says it has been released in 2015b.
layout(H,METHOD,NAME,VALUE) uses additional options specified by one or
more Name-Value pair arguments. The optional argument names can be:
'force' Supports 'Iterations', 'XStart', 'YStart'.
'force3' Supports 'Iterations', 'XStart', 'YStart', 'ZStart'.
'layered' Supports 'AssignLayers', 'Direction', 'Sinks', 'Sources'.
'subspace' Supports 'Dimension'.
'subspace3' Supports 'Dimension'.
See the reference page for a description of each Name-Value pair.
Warm regards,
Varshit Dusad
2 commentaires
madhan ravi
le 6 Déc 2018
kindly specify how you are calling layout?
Varshit Dusad
le 6 Déc 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!