530
530
-- Set up ticks for a specific orientation.
531
531
-- A horizontal orientation will match the left and right sides, whereas
532
532
-- a vertical orientation will match the top and bottom sides.
533
-- Major_Step is a percentage value of the widget size, and indicate the
534
-- step between each big ticks. For instance, if Major_Step has a value
535
-- of 0.2, there will be 5 big ticks drawn along the axis.
533
-- Major_Step is a value between 0.0 and 1.0 which indicates the
534
-- proportion of the total axis length between successive big ticks.
535
-- For instance, if Major_Step has a value of 0.2, there will be 5 big
536
-- ticks drawn along the axis.
536
537
-- Num_Minor is the number of minor ticks between each major one.
538
539
procedure Set_Major_Ticks
540
541
Orientation : Plot_Orientation;
541
542
Major_Step : Gdouble);
542
543
-- Modify the step for major ticks.
543
-- This is a percentage value that indicates how many major ticks are
544
-- drawn along the axis. See also Axis_Set_Ticks.
544
-- Major_Step is a value between 0.0 and 1.0 which indicates the
545
-- proportion of the total axis length between successive big ticks.
546
-- For instance, if Major_Step has a value of 0.2, there will be 5 big
547
-- ticks drawn along the axis.
548
-- See also Set_Ticks.
546
550
procedure Set_Minor_Ticks
547
551
(Plot : access Gtk_Plot_Record;
663
667
-- Set up ticks for a specific orientation.
664
668
-- A horizontal orientation will match the left and right sides, whereas
665
669
-- a vertical orientation will match the top and bottom sides.
666
-- Major_Step is a percentage value of the widget size, and indicate the
667
-- step between each big ticks. For instance, if Major_Step has a value
668
-- of 0.2, there will be 5 big ticks drawn along the axis.
669
-- Num_Minor is the number of minor ticks between each major one.
670
-- Major_Step is a value between 0.0 and 1.0 which indicates the
671
-- proportion of the total axis length between successive big ticks.
672
-- For instance, if Major_Step has a value of 0.2, there will be 5 big
673
-- ticks drawn along the axis.
671
675
procedure Axis_Set_Major_Ticks
672
676
(Axis : access Gtk_Plot_Axis_Record;
673
677
Major_Step : Gdouble);
674
678
-- Modify the step for major ticks.
675
-- This is a percentage value that indicates how many major ticks are
676
-- drawn along the axis. See also Axis_Set_Ticks.
679
-- Major_Step is a value between 0.0 and 1.0 which indicates the
680
-- proportion of the total axis length between successive big ticks.
681
-- For instance, if Major_Step has a value of 0.2, there will be 5 big
682
-- ticks drawn along the axis.
683
-- See also Axis_Set_Ticks.
678
685
procedure Axis_Set_Minor_Ticks
679
686
(Axis : access Gtk_Plot_Axis_Record;