octave-maintainers
[Top][All Lists]
Advanced

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

Re: Ordering of axes properties


From: Ben Abbott
Subject: Re: Ordering of axes properties
Date: Fri, 26 Jul 2013 22:10:52 -0400

On Jul 25, 2013, at 5:21 PM, Catalin Codreanu wrote:

> 2013/7/25 Rik <address@hidden>:
>> 7/25/13
>> 
>> All,
>> 
>> The order of properties returned on an axes object is determined by the
>> order in which they are added to the graphic object.  In turn, this is
>> determined by the ordering of the properties in graphics.in.h.  Over time
>> we seem to have added properties as needed so that the resulting list is
>> neither alphabetical nor grouped by subject matter.  I would tend to think
>> it best to group it by subject matter so that, for example, colororder and
>> linestyleorder were near each other.
>> 
>> What does the competition do?  Can someone run the following:
>> 
>> diary on
>> get (gca)
>> diary off
>> 
>> And then send me the diary file.
>> 
>> Thanks,
>> Rik
>> address@hidden
> 
> Hello,
> 
> I think it orders them alphabetically which gives good results for
> keeping similar things together. Here's the list :
> 
>    ActivePositionProperty = outerposition
>    ALim = [0 1]
>    ALimMode = auto
>    AmbientLightColor = [1 1 1]
>    Box = off
>    CameraPosition = [0.5 0.5 9.16025]
>    CameraPositionMode = auto
>    CameraTarget = [0.5 0.5 0.5]
>    CameraTargetMode = auto
>    CameraUpVector = [0 1 0]
>    CameraUpVectorMode = auto
>    CameraViewAngle = [6.60861]
>    CameraViewAngleMode = auto
>    CLim = [0 1]
>    CLimMode = auto
>    Color = [1 1 1]
>    CurrentPoint = [ (2 by 3) double array]
>    ColorOrder = [ (7 by 3) double array]
>    DataAspectRatio = [1 1 1]
>    DataAspectRatioMode = auto
>    DrawMode = normal
>    FontAngle = normal
>    FontName = Helvetica
>    FontSize = [10]
>    FontUnits = points
>    FontWeight = normal
>    GridLineStyle = :
>    Layer = bottom
>    LineStyleOrder = -
>    LineWidth = [0.5]
>    MinorGridLineStyle = :
>    NextPlot = replace
>    OuterPosition = [0 0 1 1]
>    PlotBoxAspectRatio = [1 1 1]
>    PlotBoxAspectRatioMode = auto
>    Projection = orthographic
>    Position = [0.13 0.11 0.775 0.815]
>    TickLength = [0.01 0.025]
>    TickDir = in
>    TickDirMode = auto
>    TightInset = [0.0392857 0.0404762 0.00892857 0.0190476]
>    Title = [154.002]
>    Units = normalized
>    View = [0 90]
>    XColor = [0 0 0]
>    XDir = normal
>    XGrid = off
>    XLabel = [155.001]
>    XAxisLocation = bottom
>    XLim = [0 1]
>    XLimMode = auto
>    XMinorGrid = off
>    XMinorTick = off
>    XScale = linear
>    XTick = [ (1 by 11) double array]
>    XTickLabel = [ (11 by 3) char array]
>    XTickLabelMode = auto
>    XTickMode = auto
>    YColor = [0 0 0]
>    YDir = normal
>    YGrid = off
>    YLabel = [156.001]
>    YAxisLocation = left
>    YLim = [0 1]
>    YLimMode = auto
>    YMinorGrid = off
>    YMinorTick = off
>    YScale = linear
>    YTick = [ (1 by 11) double array]
>    YTickLabel = [ (11 by 3) char array]
>    YTickLabelMode = auto
>    YTickMode = auto
>    ZColor = [0 0 0]
>    ZDir = normal
>    ZGrid = off
>    ZLabel = [157.001]
>    ZLim = [0 1]
>    ZLimMode = auto
>    ZMinorGrid = off
>    ZMinorTick = off
>    ZScale = linear
>    ZTick = [0 0.5 1]
>    ZTickLabel =
>    ZTickLabelMode = auto
>    ZTickMode = auto

Note, there are two alphabetized lists. With the properties below existing for 
all objects.  The list above are the additional properties existing for axes 
objects.

>    BeingDeleted = off
>    ButtonDownFcn =
>    Children = []
>    Clipping = on
>    CreateFcn =
>    DeleteFcn =
>    BusyAction = queue
>    HandleVisibility = on
>    HitTest = on
>    Interruptible = on
>    Parent = [1]
>    Selected = off
>    SelectionHighlight = on
>    Tag =
>    Type = axes
>    UIContextMenu = []
>    UserData = []
>    Visible = on

Ben



reply via email to

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