octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66728] legend inconsistencies


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #66728] legend inconsistencies
Date: Wed, 29 Jan 2025 07:43:32 -0500 (EST)

Follow-up Comment #2, bug #66728 (group octave):

@muhali: 
* Issue 2: Now that I read the help text for legend more carefully, I see it
is already clearly stated that unless and axes handle HAX is specified as
first argument, it will "Display a legend for the current axes...". Which in
our case is the latest created axes, ax(3).
* Issue 3: I couldn't find any mention of a restriction in ML doc saying that
a legend associated to a given axes should only label graphics objects
pertaining to this axes. Does ML also allow graphics objects from different
figures in a single legend? E.g., does the following work and if so what does
happen?


figure;
h1 = plot (1:10)
hold on
title F1
ax = gca;
figure;
h2 = plot (1:10, "-r");
title F2
legend ([h1 h2], "first", "second")
h3 = plot (ax, rand (1,10), "-g")





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66728>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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