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

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

[Octave-bug-tracker] [bug #45504] incompatibile interaction subplot & ax


From: anonymous
Subject: [Octave-bug-tracker] [bug #45504] incompatibile interaction subplot & axes
Date: Thu, 09 Jul 2015 17:42:38 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

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

                 Summary: incompatibile interaction subplot & axes
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 09 Jul 2015 05:42:37 PM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Clinton Winant
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Using subplot within a frame defined by (axes('Position',[...]) leads to
ignoring the axes command, as shown in the following code


clf
for kplot=1:2
if kplot==1
   axes('position',[0.04,0.05,0.45,0.45]);
subplot(2,1,1)
plot([0 1],[0 1],'k','linewidth',1);
subplot(2,1,2)
plot([0 1],[1 0],'k--','linewidth',1);
else
   axes('position',[0.54,0.05,0.45,0.45]);
subplot(2,1,1)
plot([0 1],[1 0],'k','linewidth',1);
subplot(2,1,2)
plot([0 1],[0 1],'k--','linewidth',1);
endif
end

commenting out the subplot calls restores the axes call.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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