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

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

[Octave-bug-tracker] [bug #58167] graphic handle error of barh in subplo


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #58167] graphic handle error of barh in subplot
Date: Mon, 13 Apr 2020 10:53:19 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

URL:
  <https://savannah.gnu.org/bugs/?58167>

                 Summary: graphic handle error of barh in subplot 
                 Project: GNU Octave
            Submitted by: lt1234
            Submitted on: Mon 13 Apr 2020 02:53:18 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 5.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I have bar or barh in a subplot group. A subsequent modification to the
subplot leads to different results.   bar works but barh gives an error
message.  Thanks.  

Bar works

>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); bar([1 2 3]); end
>> subplot(n,1,1); bar([1 2 3]);

>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); bar([1 2 3]); end
>> subplot(n,1,1); barh([1 2 3]);

Barh introduces an error.  

>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); barh([1 2 3]); end
>> subplot(n,1,1); barh([1 2 3]);  % or bar([1 2 3]); 
error: get: invalid handle (= -283.571)
execution error in graphics callback function




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58167>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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