[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57610] Advanced legend in subplot makes hold
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #57610] Advanced legend in subplot makes hold not work |
Date: |
Thu, 16 Jan 2020 10:06:30 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?57610>
Summary: Advanced legend in subplot makes hold not work
Project: GNU Octave
Submitted by: None
Submitted on: Thu 16 Jan 2020 03:06:28 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: gs
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.2
Operating System: GNU/Linux
_______________________________________________________
Details:
I am trying to accomplish to plot and then hold the plot and then add more
data to the plot. It doesn't work when I have this legend:
legend("wh","location","eastoutside")
only this legend works:
legend("wh")
when using the first one even if i use hold on before I plot, the old data
disappears.
It only happens when using subplot, code:
close all
figure(1)
subplot(211)
hold
grid
plot([1 2],[1 2])
subplot(212)
hold
grid
plot([1 2],[1 2])
legend("wh","location","eastoutside")
subplot(211)
plot([4 5],[4 5])
subplot(212)
hold on
plot([4 5],[4 5])
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57610>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57610] Advanced legend in subplot makes hold not work,
anonymous <=