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

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

[Octave-bug-tracker] [bug #61085] Dimension of alphamap array (figure pr


From: Guillaume
Subject: [Octave-bug-tracker] [bug #61085] Dimension of alphamap array (figure property)
Date: Thu, 26 Aug 2021 15:09:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

                 Summary: Dimension of alphamap array (figure property)
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Thu 26 Aug 2021 07:09:08 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

According to the Matlab documentation, the alphamap array can be a row or
column vector:
https://www.mathworks.com/help/matlab/ref/matlab.ui.figure-properties.html#buiwuyk-1-Alphamap
but Octave only accepts a column one.


>> h = figure;
>> set(h, 'alphamap', ones(1,10))
>> get(h, 'alphamap')           
ans =
     1     1     1     1     1     1     1     1     1     1
>> set(h, 'alphamap', ones(10,1))
>> get(h, 'alphamap')           
ans =
     1
     1
     1
     1
     1
     1
     1
     1
     1
     1





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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