[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43478] First plot in a multiplot figure does
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43478] First plot in a multiplot figure does not "hold on" with in a loop |
Date: |
Mon, 27 Oct 2014 11:54:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL:
<http://savannah.gnu.org/bugs/?43478>
Summary: First plot in a multiplot figure does not "hold on"
with in a loop
Project: GNU Octave
Submitted by: None
Submitted on: Mon 27 Oct 2014 11:54:58 AM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
In the following simple script to reproduce the bug: the first and the second
subplot should be identical but they are not.
for i=1:2
if (i==1)
mrk='r-';
else
mrk='k-';
endif
subplot (1, 3, 1)
plot(i*[-10:10], sin(i*[-10:10]),mrk); hold on;
subplot (1, 3, 2)
plot(i*[-10:10], sin(i*[-10:10]),mrk); hold on;
print("ex", '-depsc2')
endfor
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43478] First plot in a multiplot figure does not "hold on" with in a loop,
anonymous <=