12.07.2015 Views

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2. GRAPHICS PRIMITIVES (IN DETAIL) 15trianglewtriangleftrianglesquarewsquarefsquarecirclewcirclefcirclediamondwdiamondfdiamondcrossplusminusasterisk✥✯❂odotominusoplusotimesstarstar2star3star4❀♣♠flowerclubheartspadedagddag.snakedot✍✉☎✈❍❏handpenletterphoneplanescirclessquaretrianglezdiamondzFigure 3.1: All markers supported by <strong>GLE</strong>. (The names that start with “w” are white filled.)Arrow heads can be included at both ends of the line by writing sep as . Single arrow headsare produced by . Note that sep must be separated from object1.just and object2.just bywhite space.If the justification qualifiers are omitted, a line will be drawn between the centers of the two objects(clipped at the edges of the rectangles which define the objects). This is the same as using the .boxqualifier on both objects.The curve option is explained with the aline command. Fig. 3.3 shows an example where the “join”command is used with the curve option.Sec. 7.1.1 contains several examples of joining objects.local var 1 , . . ., var nDefines a local variable inside a subroutine. It is possible to initialize the variable to a particularvalue with, e.g., ‘local x = 3’, which defines the local variable ‘x’ and assigns it the value 3. Youcan also define several local variables at once, e.g., ‘local x, y’ defines the local variables ‘x’ and‘y’.margins top bottom left rightThis command can be used to define the page margins. Margins are only relevant for makingfull-page figures (using the -fullpage command line option). See also the “papersize” command.marker marker-name [scale-factor]Draws marker marker-name at the current point. The size of the marker is proportional to thecurrent font size, scaled by the value of scale-factor if present. Markers are referred to by name, eg.square, diamond, triangle and fcircle. Markers beginning with the letter f are usually filled variants.Markers beginning with w are filled with white so lines are not visible through the marker. For acomplete list of markers refer to Fig. 3.1.set just lcamove 0.5 2.5marker diamond 1rmove 0.6 0; text Diamondamove 0.5 2marker triangle 1rmove 0.6 0; text Triangle...orientation oSets the orientation of the output in full-page mode. Possible values are “portrait” and “landscape”.Fig. 3.2 illustrates these two cases.papersize sizepapersize width heightSets the paper size of the output. This is used only when <strong>GLE</strong> is run with the option “-fullpage” orwhen the PostScript output device is used (i.e., “-d ps”). The command either takes one argument,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!