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

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

[Octave-bug-tracker] [bug #30878] plotyy, semilogy, and text objects


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #30878] plotyy, semilogy, and text objects
Date: Thu, 26 Aug 2010 15:41:25 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4

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

                 Summary: plotyy, semilogy, and text objects
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Thu 26 Aug 2010 11:41:25 AM EDT
                Category: None
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: bpabbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

The example below incorrectly places the text object on the second axes.

close all
backend gnuplot
x = 0:0.1:2*pi; 
y1 = sin (x);
y2 = exp (x - 1);
ax = plotyy (x, y1, x - 1, y2, @plot, @semilogy)
ylabel ('Second Axes')
text(4, 100, 'Second Plot', 'color', [0 0.5 0]);
axes (ax(1))
ylabel ('First Axes')
text(2, .5, 'First Plot', 'color', [0 0 1]);

I get the correct result when using semilogy without plotyy.






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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