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

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

[Octave-bug-tracker] [bug #34417] patch() does not process 'cdata' corre


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #34417] patch() does not process 'cdata' correctly
Date: Fri, 30 Sep 2011 01:03:53 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

Follow-up Comment #1, bug #34417 (project octave):

I ran the plot demos, and did not see any regressions. However, I tried using
scalar colors in the way I've done with ML, and discovered they fail with and
without your patch.


clf ()
x = [0 1 1 0];
y = [0 0 1 1];
subplot (2, 1, 1)
for n = 1:3
  patch (x + (n - 1), y, n * ones (size (x)));
end
title ('One scalar color per vertex')
subplot (2, 1, 2)
for n = 1:3
  patch (x + (n - 1), y, n);
end
title ('One scalar per patch')


Perhaps some new tests should be included when this is fixed?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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