gout(1)
πΈ NAME πΈ
hey bestie π welcome to gout(1), straight out of the Scotch user's manual, and honestly? it's giving graph-glamour. no cap.
gout β output graphics from matrices and graphs β¨
π¦ SYNOPSIS π¦
gout [options] [gfile] [xfile] [mfile] [vfile]
π DESCRIPTION π
so gout literally creates graphics files of various types, and those files represent the Scotch graph and mapping data that you pass to it. it's the glow-up your data deserves π
here's the cast of characters:
- gfile β the source graph file, and heads up: it can only be a centralized graph file. that's it, periodt.
- xfile β stores its associated geometry, whenever necessary.
- mfile β the 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.
- vfile β the output graphics file, and its type 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 π«Ά-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-omoption.pβ permute Y and Z geometry dimensions.rβ rotate geometry by 90 degrees in the (X,Y) plane.
-hβ display some help. (yes, it's listed again, that's just how the page is π)-mnβ do not read mapping data, when it is not available or not required.-ooutpβ select the output file type, and it also allows you to provide additional parameters between braces and separated by commas:iβ OpenInventor 3D mesh file, to be viewed by means of programs such asivview. 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 π
1. 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
2. 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
3. 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
4. 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 π
Scotch user's manual.
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
and that's the whole page, bestie π«Ά this was gout(1) from the Scotch user's manual, dated 23 November 2019 β go forth and make some iconic graphics, you ate π β¨
π¦ where this page comes from
- debian bookworm: scotch 7.0.3-2 Β· CeCILL-C
- debian trixie: scotch 7.0.7-1 Β· CeCILL-C
- ubuntu jammy: scotch 6.1.3-1 Β· CeCILL-C
- ubuntu noble: scotch 7.0.4-1ubuntu2 Β· CeCILL-C
- ubuntu questing: scotch 7.0.5-1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms