[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52412] Manual axes ticks should emit error if
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #52412] Manual axes ticks should emit error if values are not increasing |
Date: |
Tue, 21 Nov 2017 07:49:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Follow-up Comment #6, bug #52412 (project octave):
The attached patch adds a new type of "special_constraints" to graphics
properties (only row vector properties for now). I don't really like the name.
But it pretty much describes what it can be used for: Adding constraints to
properties that need "some special" check.
For now it adds the constraint "ENFORCE_ASCENDING" to the [xyz]tick and
[xyz]lim properties of axes.
It can also be used to add other constraints in the future: e.g. the
"position" (and related) properties should allow only non-negative values in
the third and fourth element while there should be no such limitation on the
first and second element...
I am not sure whether it makes sense to also integrate the (mutually
exclusive) "finite_constraints" into these new (accumulative)
"special_constraints".
I didn't find any properties that must be strictly decreasing. I just added
that case to check whether the enumeration works as expected. If you think it
is better to remove that case from the patch, I don't mind at all.
(file #42451)
_______________________________________________________
Additional Item Attachment:
File name: bug52412_graphics_ascending_order.patch Size:9 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52412>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/