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

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

[Octave-bug-tracker] [bug #41770] Some factory defaults don't conform to


From: Rik
Subject: [Octave-bug-tracker] [bug #41770] Some factory defaults don't conform to matlab values
Date: Sat, 12 Apr 2014 20:31:25 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

Follow-up Comment #7, bug #41770 (project octave):

I modified your patch slightly for Octave coding conventions.  We place the
'++' modifier directly next to the variable, e.g., 'C++' rather than 'C ++'. 
We also prefer to use the C++ casting standards so I changed


m(col,row) = (double) default_im_data[ii];
TO
m(col,row) = static_cast<double> (default_im_data[i]);


I checked it in here
(http://hg.savannah.gnu.org/hgweb/octave/rev/2deed6538c72).

Could you double-check two of the values?

According to www.mathworks.com/help/matlab/ref/image_props.html the default
for AlphaDataMapping is 'scaled' (what it was before) rather than 'none'.

According to http://www.mathworks.com/help/matlab/ref/axes_props.html the
default CameraUpVector is [0 0 1], rather than [0 0 0].


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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