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

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

[Octave-bug-tracker] [bug #51263] plotyy weirdness


From: Muhali
Subject: [Octave-bug-tracker] [bug #51263] plotyy weirdness
Date: Mon, 19 Jun 2017 05:29:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

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

                 Summary: plotyy weirdness
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Mon 19 Jun 2017 02:29:29 AM PDT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have the following example


figure(1) ; clf ;
ax = gca ;
hold(ax, 'on') ;
plotyy(ax, 1:5, 1*ones(1,5), 21:30, 2*ones(1,10)) ;
plotyy(ax, 11:15, 3*ones(1,5), 31:40, 4*ones(1,10)) ;


which I would like to give me a unique x-axis holding the interval 1:40 and
two y-axis, the left holding the interval 1:3 and the right holding the
interval 2:4.

What I get instead is the attached figure 'octave.png', which may not be a bug
at all as the example script is simply not the right way to do it. However,
doing the same in ML gives me a totally different figure (matlab.png
attached).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 19 Jun 2017 02:29:29 AM PDT  Name: octave.png  Size: 14kB   By:
muhali

<http://savannah.gnu.org/bugs/download.php?file_id=40933>
-------------------------------------------------------
Date: Mon 19 Jun 2017 02:29:29 AM PDT  Name: matlab.png  Size: 12kB   By:
muhali

<http://savannah.gnu.org/bugs/download.php?file_id=40934>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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