/usr/share/paw-demos/pawtest5.kumac is in paw-demos 1:2.14.04.dfsg.2-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | Macro PAWTEST5
**************************************************************************
* PAW TEST 5 : *
* Axis tests *
**************************************************************************
Exec ALLDEF
Set GSIZ .5
Set YGTI .5
Title 'Precision test on LOG axis'
Set YMGU 4
Hi/File 45 pawdemo.hbook
Cd axis_test
Opt logy
Zon 2 2
H/pl 1049
Zon 2 1 2 s
H/pl 1049
Zon 2 2 3 s
Nul 0 1 0.1 10
Close 45
Sel 1
Igset CHHE .35
Itx 5 14 '(A)'
Itx 15 14 '(B)'
Itx 5 5 '(C)'
Igset TXAL
Itx 2 17.7 '1) (A) and (B) should have the same Y scale'
Itx 2 16.7 '2) The (C) Y scale should be 0.1 to 10'
Waiting
*
Exec Alldef
set YSIZ 28
zone 1 10
set NDVX 510
set NDVY 1
Set CSIZ 0.3
Set VSIZ 0.3
*
Opt LINX
Nul 10.0 200
Opt LOGX
Nul 10.0 200
Opt LINX
Nul 10.1 200
Opt LOGX
Nul 10.1 200
Do r=400,600,100
Opt LINX
Null 100 [r]
Opt LOGX
Null 100 [r]
Enddo
Opt LINX
Sel 1
Text 0.5 14 'Linear and LOG scale must be the same' .5 90. C
Waiting
*
Do r=0.01,0.1,0.01
Null 0 [r]
Enddo
Waiting
*
Do r=0.1,1,0.1
Null 0 [r]
Enddo
Waiting
*
Do r=1,10,1
Null 0 [r]
Enddo
Waiting
*
Do r=10,100,10
Null 0 [r]
Enddo
Waiting
*
Do r=100,1000,100
Null 0 [r]
Enddo
Waiting
*
Do r=0.01,0.1,0.01
Null -[r] [r]
Enddo
Waiting
*
Do r=0.1,1,0.1
Null -[r] [r]
Enddo
Waiting
*
Do r=1,10,1
Null -[r] [r]
Enddo
Waiting
*
Do r=10,100,10
Null -[r] [r]
Enddo
Waiting
*
Do r=100,1000,100
Null -[r] [r]
Enddo
Waiting
*
Null 0.0007 0.0008
Null 0.000799 0.0008
Null 0 0.00008
Null 0.5 2
Null -.000000123 .000000456
Null 9.999 10
Null 10.301442 10.304645
Null 0.301442 0.304645
Set ndvx 504
Null 2000000 2000001
Waiting
*
set * ; opt *
zone 2 1
nul
nul 0 1 0 100000000 S
nul
opt LOGY
nul 0 1 0 100000000 S
Waiting
*
set * ; opt *
zone
opt LOGY
null 10 11 100 3000
null 10 11 100 3000 S
Sel 1
Text 10 10 'Right labels should be aligned' 0.5 0 C
Waiting
*
Return
|