## 4029 Reputation

6 years, 181 days

## How can I link a m file?...

Maple

How to attach an m-file to a question?
Does it exist a rspecific repository where I can put an m-file?

## How to change programmatically the numbe...

Maple

Can the number of frames per second be changed programmatically in animate and/or animatecurve ?

## Is it possible to construct binary opera...

Maple

How are constructed binary operators in Maple?
Is it possible to create a binary operator A that we can use this way z := x A y ?

TIA

## Problem in displaying the edge weights o...

Maple 2015

It seems that DrawGraph cannot display the weights of more than 45 arcs of a directed graphs (the arcs themselves are keeping to be displayed correctly).

Maybe a version issue?

WeightedGraphs.mw

## How to use animate with matrix plot?...

Maple

Hi
I would like to matrixplot consecutive powers of a matrix. As the name of the matrix is not always the same I wrote a simple "embedded" procedure WM to do this.
This produre works well when called directly, but I don't understand how to make it work when called from animate

```WM := P -> n -> plots:-matrixplot(P^n, heights=histogram):

U := Matrix(2\$2, [0.8, 0.2, 0.4, 0.6]);
WM(U)(1);  #ok whatever the value of the argument of W(U)

plots:-animate(WM(U), [n], n=1..2);  # produces an error

# even this simpler command doesn't work
plots:-animate(plots:-matrixplot, [U^n], n=1..2)  # same error as above
```

Can you help me to fix this?

TIA

PS: I firstly defined WM this way

```WM := proc(P, n)  plots:-matrixplot(P^n, heights=histogram) end proc:
```

but I met difficulties to tell animate that only n was the parameter to change

 4 5 6 7 8 9 10 Last Page 6 of 34
﻿