octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave specific legend call forms


From: Pantxo Diribarne
Subject: Octave specific legend call forms
Date: Thu, 10 Oct 2019 16:19:55 +0200

Hello,

I am currently trying to rewrite the legend function and would like your opinion on an Octave specific way of manipulating legend objects. In demos we often use the following construct:

plot (1:10);
h = legend ("Hello");
legend (h, "fontsize", 20);

The last line is strange. We use "legend" to do what "set" should be doing. AFAICS this construct is not documented (only axes handles are documented to be possible as first argument). IMHO it doesn't feel natural to replace "set" by "legend" and doesn't bring any simplification so I'd like to remove this Octave specific call form.

Any opinion?

Pantxo 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]