File: example.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (39 lines) | stat: -rw-r--r-- 1,156 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<HTML>
<HEAD>
<TITLE>Example</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><A NAME="contourexample"></A>
<font size="+2" color="green">Example</font></P>
<P>
 The figure below was produced by the following commands:</P>

 <font color="blue"><PRE>
 X = {1;0;1;0;.2;.5;.8}
 Y = {1;0;0;1;.2;.5;.8}
 Z = {0;0;0;0;10;0;-5}
 GRID\XYOUT X Y Z M XOUT YOUT   ! interpolate a matrix
 SET %LEGENDSIZE 2.3            ! legend label size
 WINDOW 5
 SET XLABEL 'CONTOUR\LEGEND XOUT YOUT M'
 CONTOUR\LEGEND XOUT YOUT M 10  ! 10 contours of matrix M
 WINDOW 7
 SET XLABEL 'CONTOUR\LEGEND X Y Z'
 CONTOUR\LEGEND X Y Z 10        ! 10 contours of scattered points
 WINDOW 6
 SCALES 0 .5 5 0 .5 5           ! set axes scales for zooming in
 SET XLABEL 'CONTOUR\PARTIAL XOUT YOUT M'
 CONTOUR\PARTIAL XOUT YOUT M 10 ! contour plot with no legend
 WINDOW 8
 SET XLABEL 'CONTOUR XOUT YOUT M'
 CONTOUR XOUT YOUT M 10         ! 10 contours, no legend
 DEFAULTS
 </PRE></font></p>
<P>
 <center><IMG SRC="img3.gif"></center></p>
<P>
 <a href="matrixdata.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Matrix data</font></a></P>
</BODY>
</HTML>