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: Rik
Subject: [Octave-bug-tracker] [bug #45504] incompatibile interaction subplot & axes
Date: Wed, 13 Dec 2017 12:25:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #45504 (project octave):

                Category:   Plotting with gnuplot => Plotting               
                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

This isn't how the subplot command works.  The subplot command creates axes on
an existing figure.  If you want to reposition the subplots you should change
the "position" property of the individual axes.  In this case, if you are
really trying to create 4 different plots then you need to use


hax1 = subplot (4,1,1);
hax2 = subplot (4,1,2);
hax3 = subplot (4,1,3);
hax4 = subplot (4,1,4);

set (hax1, "position", [ ... ]);
set (hax2, "position", [ ... ]);
set (hax3, "position", [ ... ]);
set (hax4, "position", [ ... ]);

plot(hax1, [0 1],[0 1],'k','linewidth',1);
plot(hax2, [0 1],[1 0],'k--','linewidth',1);
plot(hax3, [0 1],[0 1],'k','linewidth',1);
plot(hax4, [0 1],[1 0],'k--','linewidth',1);


Closing report.


    _______________________________________________________

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]