michele

90 Reputation

4 Badges

5 years, 315 days

MaplePrimes Activity


These are questions asked by michele

"What's new in Maple 2020" explain an exciting new option for DrawGraph: layout=interactive, that should allow you to move vertices in the plot. I tried this in the help page opened in a worksheet window and it works.

Unfortunately when I write in a new worksheet the command

with(GraphTheory): with(RandomGraph): G:=RandomGraph(10,25); DrawGraph(G,layout=interactive)

I get the error

"Error, invalid input: GraphTheory:-DrawGraph expects value for keyword parameter [style, layout] to be of type identical(none, bipartite, circle, default, fixed, grid, interactive, network, spectral, spring, spring[constant], tree, user, planar, random), but received plots:-interactive"

Could you help me? Thanks

The definition 
a:=ModularSquareRoot(10,11)
returns
Error, ... because no numbers in Z11 have the square equal to 10. I need, in a procedure, to prevent the error, I mean something like this:
if a<>ERROR then b:=b+1 else c:=c+1 end if
Any suggestions? Thanks

Please, is it possible to enlarge the vertices of a graph (DrawGraph in GraphTheory)? Thanks

1 2 3 Page 3 of 3