gout(1)

okay so bestie πŸ’– welcome to gout(1), fresh out of the Scotch user's manual β€” this is literally the little program that ✨draws✨ your graphs and matrices, and I'm gonna walk you through every single flag, no cap, nothing skipped, periodt. grab a snack πŸ“


πŸŽ€ NAME πŸŽ€

gout β€” output graphics from matrices and graphs πŸ’…

🌸 SYNOPSIS 🌸

gout [options] [gfile] [xfile] [mfile] [vfile]

✨ DESCRIPTION ✨

the gout program creates graphics files of various types, representing the Scotch graph and mapping data which is passed to it. it's giving "your data, but make it art" 🎨✨

Source graph file gfile can only be a centralized graph file β€” that's the vibe, no exceptions. File xfile stores its associated geometry, whenever necessary. File mfile represents label information attached to each of the graph vertices, for instance the index of the part to which each vertex belongs in the case of a mapping file. File vfile is the output graphics file, the type of which may differ according to the input parameters. When file names are not specified, data is read from standard input and written to standard output. Standard streams can also be explicitly represented by a dash '-'.

when the proper libraries have been included at compile time, gtst can directly handle compressed graphs, both as input and output 😌🫢 A stream is treated as compressed whenever its name is postfixed with a compressed file extension, such as in 'brol.grf.bz2' or '-.gz'. The compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma').


πŸ’… OPTIONS πŸ’…

  • -h β€” Display some help. (yes bestie, it appears twice down there, we do not ask questions, we simply vibe πŸ™ˆ)
  • -ggeop β€” Geometry parameters, which can be an arbitrary combination of any of the following code letters:
    • n β€” Do not read geometry data, when it is not available or not required, such as when using the -om option.
    • p β€” Permute Y and Z geometry dimensions. πŸ”„
    • r β€” Rotate geometry by 90 degrees in the (X,Y) plane.
  • -h β€” Display some help. (again. iconic.)
  • -mn β€” Do not read mapping data, when it is not available or not required.
  • -ooutp β€” Select the output file type and allows to provide additional parameters between braces and separated by commas:
    • i β€” OpenInventor 3D mesh file, to be viewed by means of programs such as ivview. Additional parameters for this output file type are:
      • c β€” Color output.
      • g β€” Gray level output.
      • r β€” Remove cut edges.
      • v β€” View cut edges.
    • m β€” PostScript matrix pattern file. Additional parameters for this output file type are:
      • e β€” EPSF-type output.
      • f β€” Full-page output.
    • p β€” PostScript 2D mesh file. This output module was intended for 2D meshes; as a fallback, the Z coordinate is projected according to isometric perspective rules, but drawings of full 3D objects are most likely to be unreadable. Additional parameters for this output file type are:
      • c β€” Color output.
      • g β€” Gray level output.
      • e β€” EPSF-type output.
      • f β€” Full-page output.
      • s β€” Short clipping (disks excluded).
      • l β€” Large clipping (disks included).
      • a β€” Avoid displaying disks.
      • d β€” Display disks.
      • r β€” Remove cut edges.
      • v β€” View cut edges.
      • X=rat β€” Maximum x clipping ratio (in [0.0;1.0]).
      • x=rat β€” Minimum x clipping ratio.
      • Y=rat β€” Maximum y clipping ratio.
      • y=rat β€” Minimum y clipping ratio.
    • t β€” Tulip 3D mesh file. Additional parameters for this output file type are:
      • b β€” Black and white output.
      • c β€” Color output.
      • a β€” Avoid displaying disks.
      • d β€” Display disks.
      • r β€” Remove cut edges.
      • v β€” View cut edges.
  • -V β€” Display program version and copyright.

🌈 EXAMPLES 🌈

Build an OpenInventor file of the mapping of graph brol.grf contained in file brol.map. Vertices with no mapping information attached to them will be rendered in white, while distinct colors will be used to represent the different parts. Cut edges will be removed:

$ gout '-oi{r}' brol.grf brol.xyz brol.map brol.iv
$ ivview brol.iv

Build an OpenInventor file of graph brol.grf without any vertex information associated to it. Mapping data are not required and will not be read, but a file name has to be provided, hence the '-':

$ gout -oi -mn brol.grf brol.xyz - brol.iv

Output the pattern of matrix brol.grf on the form of a PostScript flat drawing. Geometry and mapping data are not required and will not be read, but file names have to be provided, hence the two '-'s:

$ gout -om -gn -mn brol.grf - - brol.ps

Output a PostScript 2D drawing of a rectangular portion graph brol.grf, with disks representing mapping data:

$ gout '-op{c,e,d,x=0.3,X=0.6,y=0.2,Y=0.5}' brol.grf brol.xyz brol.map brol.ps

πŸ‘€ SEE ALSO πŸ‘€

gmap(1), gout(1), gtst(1).

Scotch user's manual. πŸ“–

🫢 AUTHOR 🫢

Francois Pellegrini <francois.pellegrini@labri.fr>


okay that's the whole page bestie, you ate that πŸ’– go make some pretty pictures with your graphs, and remember: this was all signed off on 16 June 2026 under the Scotch user's manual. mwah πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from