ANN2FIG(1)
β¨ ann2fig β¨
okay bestie, gather round, because this is the little tool that dumps your ANN tree structure straight into Fig format and honestly? it's giving graph-paper glow-up π
πΈ NAME πΈ
ann2fig β Dump ANN tree structure in Fig format
π¦ SYNOPSIS π¦
ann2fig [-upi scale] [-x low_x] [-y low_y]
[-sz size] [-dx dim_x] [-dy dim_y] [-sl dim value]*
[-ps pointsize] file
π DESCRIPTION π
So here's the vibe: this program takes an ann dump file of a search structure β and maybe some point coordinates along for the ride β and spits out a fig (Ver 3.1) file (peep fig2dev(1)) that draws the whole entire tree. π³β¨
Then you can do whatever you want with it, no cap: display that fig file with xfig, or convert it into literally any of a number of other formats using fig2dev. main character flexibility, honestly. π
If the dimension is 2 then the entire tree gets displayed, the whole thing, no crumbs. But if the dimension is bigger than 2?? then you (yes you, bestie) get to choose which two dimensions show up on the screen, plus the slice value for each of the leftover dimensions. Every leaf cell that intersects the slice is shown, along with the points chilling inside those cells. π
π OPTIONS π
-upiscale β fig units per inch (default = 1200)-xlow_x-ylow_y β the x and y offset of the upper left corner, in inches (default = 1)-szsize β maximum side length of the figure, in inches (default = 5)-dxdim_x β horizontal dimension (default = 0)-dydim_y β vertical dimension (default = 1)-svvalue β default slice value (default = 0)-sldim value β every one of these little pairs defines the value along the given dimension at which to slice. you can supply this for all dimensions except dim_x and dim_y, periodt.-pspointsize β size of points in fig units (def = 10)fileβ file (input =file.dmp, output =file.fig) π«Ά
π AUTHOR π
David Mount
π COPYRIGHT π
This man page is Copyright (C) 2007 Rafael Laboissiere <rafael AT debian DOT org> and released under the GNU GPL, version 3 or later. It was written for the Debian distribution but may be used by others.
β SEE ALSO β
fig2dev(1) ann_sample(1)
and that's the whole page, bestie! this one's from ANN 1.1.2+doc, dated 2025-12-09 π go forth and draw your trees, ily π§
π¦ where this page comes from
- ubuntu resolute: ann-tools 1.1.2+doc-9build2 Β· LGPL-2.1-or-later
- ubuntu stonking: ann-tools 1.1.2+doc-9build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms