1. Basic Ideas A tutorial-like introductory chapter. 2. Using Array Syntax Using array syntax. 3. Graphics How to plot things. 4. Embedding Compiled Routines Inside Yorick Embedding compiled code in a custom Yorick. Concept Index
-- The Detailed Node Listing ---
1.1 Simple Statements 1.2 Flow Control Statements Defining functions, conditionals, and loops. 1.3 The Interpreted Environment How to use Yorick's interpreted environment.
1.1.1 Defining a variable 1.1.2 Invoking a procedure 1.1.3 Printing an expression
Flow Control Statements
1.2.1 Defining a function 1.2.2 Defining Procedures 1.2.3 Conditional Execution Conditionally executing statements. 1.2.4 Loops Repeatedly executing statements. 1.2.5 Variable scope Local and external variables.
22.214.171.124 General if and else constructs 126.96.36.199 Combining conditions with && and ||
188.8.131.52 The while and do while statements 184.108.40.206 The for statement 220.127.116.11 Using break, continue, and goto How to break, continue, and goto from a loop body.
18.104.22.168 extern statements 22.214.171.124 local statements
The Interpreted Environment
1.3.1 Starting, stopping, and interrupting Yorick 1.3.2 Include files How to read Yorick statements from a file. 1.3.3 The help function Using the help command. 1.3.4 The info function Getting information about a variable. 1.3.5 Prompts What Yorick prompts mean. 1.3.6 Shell commands, removing and renaming files Issuing shell commands from within Yorick. 1.3.7 Error Messages What to do when Yorick detects an error.
126.96.36.199 A sample include file 188.8.131.52 Comments 184.108.40.206 DOCUMENT comments The help command recognizes special comments. 220.127.116.11 Where Yorick looks for include files Directories Yorick searches for include files. 18.104.22.168 The `custom.i' file and `i-start/' directory How to execute Yorick statements at startup.
22.214.171.124 Runtime errors 126.96.36.199 How to respond to a runtime error
Using Array Syntax
2.1 Creating Arrays How to originate arrays. 2.2 Interpolating Interpolation functions. 2.3 Indexing How to reference array elements. 2.4 Sorting How to sort an array. 2.5 Transposing How to change the order of array dimensions. 2.6 Broadcasting and conformability Making arrays conformable. 2.7 Dimension Lists
3.1 Primitive plotting functions The basic drawing functions. 3.2 Plot limits and relatives Setting plot limits, log scaling, etc. 3.3 Managing a display list The display list model. 3.4 Getting hardcopy How to get it. 3.5 Graphics style How to change it. 3.6 Queries, edits, and legends Seeing legends and making minor changes. 3.7 Defaults for keywords Setting (non-default) defaults. 3.8 Writing new plotting functions Combining the plotting primitives. 3.9 Animation Spielberg look out. 3.10 3D graphics interfaces An experimental interface.
Primitive plotting functions
3.1.1 plg Plot graph. 3.1.2 pldj Plot disjoint lines. 3.1.3 plm Plot quadrilateral mesh. 3.1.4 plc and plfc Plot contours. 3.1.5 plf Plot filled quadrilateral mesh. 3.1.6 pli Plot image. 3.1.7 plfp Plot filled polygons. 3.1.8 plv Plot vectors. 3.1.9 plt Plot text.
Plot limits and relatives
3.2.1 limits Set plot limits. 3.2.2 logxy Set log axis scaling. 3.2.3 gridxy Set grid lines. 3.2.4 palette Set color palette. 3.2.5 Color model More about color.
188.8.131.52 Zooming with the mouse How to zoom by mouse clicks. 184.108.40.206 Saving plot limits Save and restore plot limits. 220.127.116.11 Forcing square limits Assure that circles are not ellipses.
Managing a display list
3.3.1 fma and redraw Frame advance (begin next picture). 3.3.2 Multiple graphics windows How to get them.
3.4.1 Color hardcopy Dumping palettes into hardcopy files. 3.4.2 Binary CGM caveats Caveats about binary CGM format. 3.4.3 Encapsulated PostScript Encapsulated PostScript output.
3.5.1 Style keyword Accessing predefined graphics styles. 3.5.2 `style.i' functions Bypassing predefined graphics styles. 3.5.3 Coordinate systems Multiple coordinate systems. 3.5.4 Ticks and labels How to change them.
Queries, edits, and legends
3.6.1 Legends Setting plot legends. 3.6.2 plq and pledit The plot query and edit functions.
3D graphics interfaces
3.10.1 Coordinate mapping Changing your viewpoint. 3.10.2 Lighting The 3D lighting model. 3.10.3 gnomon Gnomon indicates axis orientation. 3.10.4 plwf interface The plot wire frame interface. 3.10.5 slice3 interface The slice and isosurface interface.