Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmscalesetticks(3) [redhat man page]

XmScaleSetTicks(library call)											     XmScaleSetTicks(library call)

NAME
XmScaleSetTicks -- A Scale function that controls tick marks SYNOPSIS
#include <Xm/Scale.h> void XmScaleSetTicks( Widget scale, int big_every, Cardinal num_medium, Cardinal num_small, Dimension size_big, Dimension size_medium, Dimension size_small); DESCRIPTION
XmScaleSetTicks controls the number, location, and size of the tick marks on a Scale. Each tick mark is a SeparatorGadget oriented perpen- dicular to the Scale's orientation. For example, if the Scale is oriented horizontally, the tick marks will be oriented vertically. If you specify tick marks for a Scale and then change the Scale's orientation, you will have to do the following: o Remove all the tick marks. To remove tick marks from a Scale, you must destroy (with XtDestroyChildren) the SeparatorGadget tick marks. The first two children of a Scale are its title and scroll bar, and all additional children are tick marks. o Recreate the tick marks by calling XmScaleSetTicks. scale Specifies the Scale widget ID that is getting the tick marks. big_every Specifies the number of scale values between big ticks. num_medium Specifies the number of medium ticks between big values. num_small Specifies the number of small ticks between medium values. size_big Specifies the size (either width or height) of the big ticks. size_medium Specifies the size (either width or height) of the medium ticks. size_small Specifies the size (either width or height) of the small ticks. For a complete definition of Scale and its associated resources, see XmScale(3). RELATED
XmScale(3). XmScaleSetTicks(library call)

Check Out this Related Man Page

Bio::Graphics::Glyph::arrow(3pm)			User Contributed Perl Documentation			  Bio::Graphics::Glyph::arrow(3pm)

NAME
Bio::Graphics::Glyph::arrow - the "arrow" glyph SYNOPSIS
See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>. DESCRIPTION
This glyph draws arrows. Depending on options, the arrows can be labeled, be oriented vertically or horizontally, or can contain major and minor ticks suitable for use as a scale. OPTIONS The following options are standard among all Glyphs. See Bio::Graphics::Glyph for a full explanation. Option Description Default ------ ----------- ------- -fgcolor Foreground color black -outlinecolor Synonym for -fgcolor -bgcolor Background color turquoise -fillcolor Synonym for -bgcolor -linewidth Line width 1 -height Height of glyph 10 -font Glyph font gdSmallFont -connector Connector type 0 (false) -connector_color Connector color black -label Whether to draw a label 0 (false) -description Whether to draw a description 0 (false) -hilite Highlight color undef (no color) In addition to the common options, the following glyph-specific options are recognized: Option Description Default ------ ----------- ------- -tick Whether to draw major 0 and minor ticks. 0 = no ticks 1 = major ticks 2 = minor ticks -tickcolor Color to use for tick marks fgcolor -tickwidth Line width to use for ticks linewidth -parallel Whether to draw the arrow 1 (true) parallel to the sequence or perpendicular to it. -northeast Force a north or east 1 (true) arrowhead(depending on orientation) -east synonym of above -southwest Force a south or west 1 (true) arrowhead(depending on orientation) -west synonym of above -double force-doubleheaded arrow 0 (false) -base Draw a vertical base at the 0 (false) non-arrowhead side -scale Reset the labels on the arrow 0 (false) to reflect an externally established scale. -arrowstyle "regular" to create a simple regular arrowhead. "filled" to create a thick filled arrowhead -relative_coords use relative coordinates 0 (false) for scale -relative_coords_offset set the relative offset 1 for scale -label_intervals 0 (false) Put the numeric labels on the intervals between the ticks rather than on the ticks themselves. -units add units to the tick labels none e.g. bp -unit_divider 1 divide tick labels by the indicated amount prior to displaying (use, for example if you want to display in cR units) Set -parallel to 0 (false) to display a point-like feature such as a polymorphism, or to indicate an important location. If the feature start == end, then the glyph will draw a single arrow at the designated location: ^ | Otherwise, there will be two arrows at the start and end: ^ ^ | | Scale: Pass in a externally established scale to reset the labels on the arrow. This is particularly useful for manually constructed images where the founding parameters of the panel are not 1-based. For example, a genetic map interval ranging from 0.1 - 0.3 can be constructed by first multiplying every value by 100. Passing arrow(-scale=>100); will draw tick marks labelled appropriately to your external scale. BUGS
Please report them. SEE ALSO
Bio::Graphics::Panel, Bio::Graphics::Glyph, Bio::Graphics::Glyph::arrow, Bio::Graphics::Glyph::cds, Bio::Graphics::Glyph::crossbox, Bio::Graphics::Glyph::diamond, Bio::Graphics::Glyph::dna, Bio::Graphics::Glyph::dot, Bio::Graphics::Glyph::ellipse, Bio::Graphics::Glyph::extending_arrow, Bio::Graphics::Glyph::generic, Bio::Graphics::Glyph::graded_segments, Bio::Graphics::Glyph::heterogeneous_segments, Bio::Graphics::Glyph::line, Bio::Graphics::Glyph::pinsertion, Bio::Graphics::Glyph::primers, Bio::Graphics::Glyph::rndrect, Bio::Graphics::Glyph::segments, Bio::Graphics::Glyph::ruler_arrow, Bio::Graphics::Glyph::toomany, Bio::Graphics::Glyph::transcript, Bio::Graphics::Glyph::transcript2, Bio::Graphics::Glyph::translation, Bio::Graphics::Glyph::triangle, Bio::DB::GFF, Bio::SeqI, Bio::SeqFeatureI, Bio::Das, GD AUTHOR
Lincoln Stein <lstein@cshl.org>. Copyright (c) 2001 Cold Spring Harbor Laboratory This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty. perl v5.14.2 2012-02-20 Bio::Graphics::Glyph::arrow(3pm)
Man Page