## 530 Reputation

8 years, 182 days

## Is it possible to write a legend with pl...

Maple 2019

Hi,

I discovered that the option legend, when used in plots:-inequal, returns an empty graphic.
Is it a bug or a deliberate choice?

Anyways, is it possible to insert a legend in a simple way (that is without using textplot for instance)?

TIA

## How to change tickmarks in sparsematrixp...

Maple 2019

Hi,

Let's take the last example (Maple 2019) given in help[sparsematrixplot] (representation of the adjacency matrix of a graph).
Vertices of this graph are labelled 1, 2, ...20.
Suppose I change these names as a, b, ...t.
I would like the tickmarks of the sparsematrixplot output match the names of the vertices of the graph, and not the integers 1, 2, ..20

I tried this:
S := [\$1..20] =~ StringTools:-Char~(96 +~  [\$1..20]);
plots:-sparsematrixplot(..., tickmarks=[S, S])

But the only the tickmars of the columns are changed, not those of the rows.

Is it possible to change the names of the tickmarks ?

## Is it possible to define variables with ...

Maple 2019

Hi,

Defining variables named H2 or O2 doesn't pose any problem (H__2 for instance), but could it be possible in Maple 2019 to define a variable named H2O2 ?

## How to select functions from a list...

Maple

Hi,

I have a set of functions of the form P :=  { a(t), b(t), f(g(t)), u(v(w(t)), A(a(t), b(t)), ... } and I want to obtain the set Q := { a(t), b(t), g(t), w(t) } (that is the set of the innermost functions)
Since more than an hour I'm fighting without success with select and parmatch and I'm desperatly askink for your help.

PS : the list P only contains functions of t, never of t and of another variables.

## A strange behaviour of the display...

Maple 2018

Hi,

Here are two sequences of commands that should give the same kind of plots. But, while the first one returns the expected display, the second doesn't (look to the labels on the histogram plot).

There is no hidden character that could explain this second display. Just that I proceeded this way:

1. I executed the second sequence once.
2. Then I told myself that displaying the histogram was superfluous, so I replaced its final semicolon with a colon.
3. And I finally thought that, no, the histogram had a real interest and that I should display it; and I restored the semcolon (this is what you can see on the second sequence).
And this add to the histogram the labels inherited from the second plot ...

Nothing dramatic here, but was the development team aware of this curiosity?

 > restart:
 > N := 10: S := Statistics:-Sample(Normal(0, 1), 10)^+: Statistics:-Histogram(S); plots:-logplot(<  < [\$1..N]> | S >, labels=["A", "B"]);
 > restart:
 > N := 10: S := Statistics:-Sample(Normal(0, 1), 10)^+: Statistics:-Histogram(S); plots:-logplot(<  < [\$1..N]> | S >, labels=["A", "B"]);
 >