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

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

[Octave-bug-tracker] [bug #31745] flipping images with hold on


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31745] flipping images with hold on
Date: Thu, 02 Dec 2010 13:14:42 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

URL:
  <http://savannah.gnu.org/bugs/?31745>

                 Summary: flipping images with hold on
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Thu 02 Dec 2010 08:14:42 AM EST
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

Matlab and Octave produce the same results for


clf
imagesc (1./hilb(4))
hold on
plot (1:4, 's-')
 

But if the order if switched ...


clf
plot (1:4, 's-')
hold on
imagesc (1./hilb(4))
set (gca, 'children', flipud (get (gca, 'children')))
 

... Matlab correctly respects the existing axis limits and y-axis
orientation, while Octave does not. For reference, see the hold_2_1.png plots
at the link below.

http://octave.sourceforge.net/compare_plots/




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31745>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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