(asymptote.info)Top


Next: Description Prev: (dir) Up: (dir)
Enter node , (file) or (file)node

Asymptote
*********

This file documents 'Asymptote', version 2.85.

   <https://asymptote.sourceforge.io>

   Copyright (C) 2004-23 Andy Hammerlindl, John Bowman, and Tom Prince.

     Permission is granted to copy, distribute and/or modify this
     document under the terms of the GNU Lesser General Public License.
     On Debian systems, the LGPL can be found at
     /usr/share/common-licenses/LGPL.

Description
What is 'Asymptote'?
Installation
Downloading and installing
Tutorial
Getting started
Drawing commands
Four primitive graphics commands
Bezier curves
Path connectors and direction specifiers
Programming
The 'Asymptote' vector graphics language
LaTeX usage
Embedding 'Asymptote' commands within 'LaTeX'
Base modules
Base modules shipped with 'Asymptote'
Options
Command-line options
Interactive mode
Typing 'Asymptote' commands interactively
GUI
Graphical user interface
Command-Line Interface
Remote command-line interface
Language server protocol
Help when writing code
PostScript to Asymptote
'Asymptote' backend to 'pstoedit'
Help
Where to get help and submit bug reports
Debugger
Squish those bugs!
Credits
Contributions and acknowledgments
Index
General index
 -- The Detailed Node Listing --

Installation

UNIX binary distributions
Prebuilt 'UNIX' binaries
MacOS X binary distributions
Prebuilt 'MacOS X' binaries
Microsoft Windows
Prebuilt 'Microsoft Windows' binary
Configuring
Configuring 'Asymptote' for your system
Search paths
Where 'Asymptote' looks for your files
Compiling from UNIX source
Building 'Asymptote' from scratch
Editing modes
Convenient 'emacs' and 'vim' modes
Git
Getting the latest development source
Uninstall
Goodbye, 'Asymptote'!
Tutorial

Drawing in batch mode
Run 'Asymptote' on a text file
Drawing in interactive mode
Running 'Asymptote' interactively
Figure size
Specifying the figure size
Labels
Adding 'LaTeX' labels
Paths
Drawing lines and curves
Drawing commands

draw
Draw a path on a picture or frame
fill
Fill a cyclic path on a picture or frame
clip
Clip a picture or frame to a cyclic path
label
Label a point on a picture
Programming

Data types
void, bool, int, real, pair, triple, string
Paths and guides
Bezier curves
Pens
Colors, line types, line widths, font sizes
Transforms
Affine transforms
Frames and pictures
Canvases for immediate and deferred drawing
Files
Reading and writing your data
Variable initializers
Initialize your variables
Structures
Organize your data
Operators
Arithmetic and logical operators
Implicit scaling
Avoiding those ugly *s
Functions
Traditional and high-order functions
Arrays
Dynamic vectors
Casts
Implicit and explicit casts
Import
Importing external 'Asymptote' modules
Static
Where to allocate your variable?
Operators

Arithmetic & logical
Basic mathematical operators
Self & prefix operators
Increment and decrement
User-defined operators
Overloading operators
Functions

Default arguments
Default values can appear anywhere
Named arguments
Assigning function arguments by keyword
Rest arguments
Functions with a variable number of arguments
Mathematical functions
Standard libm functions
Arrays

Slices
Python-style array slices
Base modules

plain
Default 'Asymptote' base file
simplex
Linear programming: simplex method
math
Extend 'Asymptote''s math capabilities
interpolate
Interpolation routines
geometry
Geometry routines
trembling
Wavy lines
stats
Statistics routines and histograms
patterns
Custom fill and draw patterns
markers
Custom path marker routines
map
Map keys to values
tree
Dynamic binary search tree
binarytree
Binary tree drawing module
drawtree
Tree drawing module
syzygy
Syzygy and braid drawing module
feynman
Feynman diagrams
roundedpath
Round the sharp corners of paths
animation
Embedded PDF and MPEG movies
embed
Embedding movies, sounds, and 3D objects
slide
Making presentations with 'Asymptote'
MetaPost
'MetaPost' compatibility routines
babel
Interface to 'LaTeX' 'babel' package
labelpath
Drawing curved labels
labelpath3
Drawing curved labels in 3D
annotate
Annotate your PDF files
CAD
2D CAD pen and measurement functions (DIN 15)
graph
2D linear & logarithmic graphs
palette
Color density images and palettes
three
3D vector graphics
obj
3D obj files
graph3
3D linear & logarithmic graphs
grid3
3D grids
solids
3D solid geometry
tube
3D rotation minimizing tubes
flowchart
Flowchart drawing routines
contour
Contour lines
contour3
Contour surfaces
smoothcontour3
Smooth implicit surfaces
slopefield
Slope fields
ode
Ordinary differential equations
Graphical User Interface

GUI installation
Installing 'xasy'
GUI usage
Using 'xasy' to edit objects

automatically generated by info2www version 1.2.2.9