DISLIN 8.4
DISLIN 8.4
DISLIN 8.4
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
xrayyrayzlvrayis a floatingpoint array with the dimension nx. It will be used to position the rows ofzmat.is a floatingpoint array with the dimension ny. It will be used to position the columnsof zmat.is a floatingpoint array containing the levels. If zlvray is missing, 10 levels betweenthe minimum and maximum of zmat will be generated.2.8 The CONSHADE FunctionThe function ’conshade’ makes a shaded contour plot of a matrix.The call is:zmatxrayyrayzlvrayconshade (zmat, xray, yray [,zlvray])is a two-dimensional floatingpoint array with nx rows and ny columns.is a floatingpoint array with the dimension nx. It will be used to position the rows ofzmat.is a floatingpoint array with the dimension ny. It will be used to position the columnsof zmat.is a floatingpoint array containing the levels. If zlvray is missing, 10 levels betweenthe minimum and maximum of zmat will be generated.2.9 Scaling of QuickplotsNormally, quickplots are scaled automatically in the range of the data. This behaviour can be changed ifcertain variables are defined.The variables for the X-axis are:a) If the variables XMIN and XMAX are defined, the X-axis will be scaled automaticallyin the range XMIN, XMAX.b) If the variables XMIN, XMAX, XOR and XSTEP are defined, the scaling and labelingof the X-axis is completly defined by the user.c) If the variable XAUTO is defined and set to 1, the variables XMIN, XMAX, XORand XSTEP will be ignored and scaling will be done automatically in the range ofthe data.Analog:Y-axis, Z-axis.Notes: - For logarithmic scaling, the parameters must be exponents of base 10.- Scaling variables can be defined with the function ’setvar (cname, value)’ wherecname is a string containing the name of the variable and value a numeric value.Example: from Numeric import *from dislin import *setvar (’YMIN’, -0.8)setvar (’YMAX’, 0.8)x = arange (100, typecode = Float32)plot (x, sin(x/5))7