|
From: | Rik |
Subject: | Negative markersizes |
Date: | Thu, 11 Aug 2016 14:02:14 -0700 |
>> Rik, out of curiosity, I tried a negative marker size. I don't think a negative marker size should be allowed, but Octave allows it. Check what happens when following the above example with >> >> set(get(gca,'children'),'MarkerSize',-100) >> get(get(gca,'children'),'MarkerSize') >> >> Dan Offhand, what does Matlab do? We probably shouldn't allow negative markersizes, but at the moment the only validation for graphics properties is for type (double, uint8, etc.) and size (Mx3 matrix, 2-D matrix, etc.). Add support for validating values is likely to be a big project. --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |