Routinen = pdfbuf (cbuf, nmax)pdfmod (cmod, ckey)pdfmrk (cstr, copt)pngmod (cmod, ckey)sclfac (x)sclmod (copt)scrmod (copt)setfil (cfil)setpag (copt)setxid (id, copt)symfil (cdev, cstat)tifmod (n, cval, copt)unit (nu)units (copt)wmfmod (cmod, ckey)Meaningcopies a PDF file to a buffer. The memoryfor the buffer is allocated by pdfbuf.defines PDF options.defines kookmarks for PDF files.enables transparency for PNG files.defines a scaling factor for the entire plot.defines a scaling mode.swaps back- and foreground colours.sets the plotfile name.selects a predefined page format.defines an external X Window or pixmap.sends a plotfile to a device.defines the physical resolution of TIFF files.defines the logical unit for messages.defines the plot units.modifies the format of WMF files.Figure A.1: Initialization and Introductory RoutinesA.2 Termination and Parameter ResettingRoutineMeaningdisfin ()terminates <strong>DISLIN</strong>.endgrf () terminates an axis system and sets the level to 1.reset (copt)resets parameters to default values.Figure A.2: Termination and Parameter ResettingA.3 Plotting Text and NumbersRoutineangle (n)chaang (x)chaspc (x)chawth (x)fixspc (x)frmess (nfrm)height (n)messag (cstr, nx, ny)mixalf ()newmix ()Meaningdefines the character angle.defines an inclination angle for characters.affects character spacing.affects the width of characters.sets a constant character width.defines the thickness of text frames.defines the character height.plots text.enables control signs in character strings forplotting indices and exponents.defines an alternate set of control characters forplotting indices and exponents.12
Routinen = nlmess (cstr)number (x, ndig, nx, ny)numfmt (copt)numode (c1, c2, c3, c4)rlmess (cstr, x, y)rlnumb (x, ndig, xp, yp)setbas (xfac)setexp (xfac)setmix (char, cmix)texmod (cmode)texopt (copt, ctype)txtjus (copt)Meaningreturns the length of character strings in plotcoordinates.plots floating-point numbers.determines the format of numbers.modifies the appearance of numbers.plots text.plots numbers.determines the position of indices and exponents.sets the height of indices and exponents.defines global control signs for plotting indicesand exponents.enables TeX mode for plotting mathematical formulas.defines TeX options.defines the alignment of text and numbers.Figure A.3: Plotting Text and NumbersA.4 ColoursRoutinecolor (color)xr,xg,xb = hsvrgb (xh, xs, xv)n = indrgb (xr, xg, xb)n = intrgb (xr, xg, xb)myvlt (rray, gray, bray, n)xh,xs,xv = rgbhsv (xr, xg, xb)setclr (nclr)setind (i, xr, xg, xb)setrgb (xr, xg, xb)setvlt (cvlt)vltfil (cfil, cmod)Meaningdefines colours.converts HSV to RGB coordinates.calculates a colour index.calculates an explicit colour value.changes the current colour table.converts RGB to HSV coordinates.defines colours.changes the current colour table.defines colours.selects a colour table.store or loads a colour table.Figure A.4: Colours13
- Page 2: c○ Helmut Michels, Max-Planck-Ins
- Page 8 and 9: Helmut MichelsMax-Planck-Institut f
- Page 11 and 12: xrayyrayzlvrayis a floatingpoint ar
- Page 13: XRESYRESX3VIEWY3VIEWZ3VIEWX3LENY3LE
- Page 19 and 20: A.7 Axis SystemsRoutineMeaningaddla
- Page 21 and 22: Routineticpos (copt, cax)timopt ()M
- Page 23 and 24: A.13 Line Styles and Shading Patter
- Page 25 and 26: Routinenx,ny,nz = getscl ()nw,nh =
- Page 27 and 28: Routinen = bitsi4 (nbits, ninp, iin
- Page 29 and 30: A.25 Coloured 3-D GraphicsRoutineax
- Page 31 and 32: Routinesurmat (zmat, nx, ny, ixpts,
- Page 33 and 34: Routineimgini ()imgmod (cmod)imgsiz
- Page 35 and 36: Routineswgtxt (id, cval)swgtyp (cty
- Page 37 and 38: Appendix BExamplesThis appendix pre
- Page 39 and 40: 1.00.50.0-0.5-1.0Demonstration of C
- Page 41 and 42: 60Polar Plots90120150301800.2 0.4 0
- Page 43 and 44: Symbols0 1 2 34 5 6 78 9 10 1112 13
- Page 45 and 46: Figure B.4: Logarithmic Scaling41
- Page 47 and 48: Figure B.5: Interpolation Methods43
- Page 49 and 50: Figure B.6: Line Styles45
- Page 51 and 52: 1.00.50.0-0.5-1.0Demonstration of C
- Page 53 and 54: Figure B.8: Shading Patterns49
- Page 55 and 56: 01111131114211531170119113111331134
- Page 57 and 58: Z-axis3602701809003-D Colour Plot o
- Page 59 and 60: Figure B.11: Surface Plot55
- Page 61 and 62: Surface Plot of the Parametric Func
- Page 63 and 64: dislin.labels (’NONE’, ’CONTU
- Page 65 and 66: B.14 Shaded Contour Plot#! /usr/bin
- Page 67 and 68:
Shaded Contour PlotF(X,Y) = (X 2 -
- Page 69 and 70:
Figure B.15: Pie Charts65
- Page 71:
Figure B.16: World Coastlines and L