OnWorks favicon

ann2fig - Online in the Cloud

Run ann2fig in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ann2fig that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



ann2fig - Dump ANN tree structure in Fig format


ann2fig [-upi scale] [-x low_x] [-y low_y]
[-sz size] [-dx dim_x] [-dy dim_y] [-sl dim value]*
[-ps pointsize] file


This program inputs an ann dump file of a search structure perhaps along with point
coordinates, and outputs a fig (Ver 3.1) file (see fig2dev (1)) displaying the tree. The
fig file may then be displayed using xfig, or converted to any of a number of other
formats using fig2dev.

If the dimension is 2 then the entire tree is displayed. If the dimension is larger than
2 then the user has the option of selecting which two dimensions will be displayed, and
the slice value for each of the remaining dimensions. All leaf cells intersecting the
slice are shown along with the points in these cells.


-upi scale
fig units per inch (default = 1200)

-x low_x -y low_y
x and y offset of upper left corner (inches) (default = 1)

-sz size
maximum side length of 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
each such pair defines the value along the given dimension at which to slice. This
may be supplied for all dimensions except dim_x and dim_y.

-ps pointsize
size of points in fig units (def = 10)

file (input=file.dmp, output=file.fig)

Use ann2fig online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    This is an application that can also be
    fetched from
    It has been hosted in OnWorks in order
    to be run online in an easi...
    Download jtdx
  • 7
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands