ANN2FIG(1)

πŸ“¦
version 1.1.2+doc Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ 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 πŸŽ€

  • -upi scale β€” fig units per inch (default = 1200)
  • -x low_x -y low_y β€” the x and y offset of the upper left corner, in inches (default = 1)
  • -sz size β€” maximum side length of the figure, in inches (default = 5)
  • -dx dim_x β€” horizontal dimension (default = 0)
  • -dy dim_y β€” vertical dimension (default = 1)
  • -sv value β€” default slice value (default = 0)
  • -sl dim 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.
  • -ps pointsize β€” size of points in fig units (def = 10)
  • file β€” file (input = file.dmp, output = file.fig) 🫢

πŸ‘‘ AUTHOR πŸ‘‘

David Mount


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