⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fig2_4.ps

📁 matlab的一些例子,对入门的新手有帮助
💻 PS
字号:
%!PS-Adobe-2.0 
%%Creator: MATLAB, The Mathworks, Inc.
%%Title: fig2_4.ps
%%CreationDate: 01/28/2001  09:45:52
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Pages: (atend)
%%BoundingBox: (atend)
%%EndComments

%%BeginProlog
% MathWorks dictionary
/MathWorks 160 dict begin
% definition operators
/bdef {bind def} bind def
/ldef {load def} bind def
/xdef {exch def} bdef
/xstore {exch store} bdef
% operator abbreviations
/c  /clip ldef
/cc /concat ldef
/cp /closepath ldef
/gr /grestore ldef
/gs /gsave ldef
/mt /moveto ldef
/np /newpath ldef
/cm /currentmatrix ldef
/sm /setmatrix ldef
/rm /rmoveto ldef
/rl /rlineto ldef
/s /show ldef
/sc {setcmykcolor} bdef
/sr /setrgbcolor ldef
/sg /setgray ldef
/w /setlinewidth ldef
/j /setlinejoin ldef
/cap /setlinecap ldef
/rc {rectclip} bdef
/rf {rectfill} bdef
% page state control
/pgsv () def
/bpage {/pgsv save def} bdef
/epage {pgsv restore} bdef
/bplot /gsave ldef
/eplot {stroke grestore} bdef
% orientation switch
/portraitMode 0 def /landscapeMode 1 def /rotateMode 2 def
% coordinate system mappings
/dpi2point 0 def
% font control
/FontSize 0 def
/FMS {/FontSize xstore findfont [FontSize 0 0 FontSize neg 0 0]
  makefont setfont} bdef
/ISOLatin1Encoding where {pop /WindowsLatin1Encoding 256 array bdef
ISOLatin1Encoding WindowsLatin1Encoding copy pop
/.notdef/.notdef/quotesinglbase/florin/quotedblbase/ellipsis/dagger
/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE/.notdef/.notdef
/.notdef/.notdef/quoteleft/quoteright/quotedblleft/quotedblright/bullet
/endash/emdash/tilde/trademark/scaron/guilsinglright/oe/.notdef/.notdef
/Ydieresis WindowsLatin1Encoding 128 32 getinterval astore pop}
{/WindowsLatin1Encoding StandardEncoding bdef} ifelse
/reencode {exch dup where {pop load} {pop StandardEncoding} ifelse
  exch dup 3 1 roll findfont dup length dict begin
  { 1 index /FID ne {def}{pop pop} ifelse } forall
  /Encoding exch def currentdict end definefont pop} bdef
/isroman {findfont /CharStrings get /Agrave known} bdef
/FMSR {3 1 roll 1 index dup isroman {reencode} {pop pop} ifelse
  exch FMS} bdef
/csm {1 dpi2point div -1 dpi2point div scale neg translate
 dup landscapeMode eq {pop -90 rotate}
  {rotateMode eq {90 rotate} if} ifelse} bdef
% line types: solid, dotted, dashed, dotdash
/SO { [] 0 setdash } bdef
/DO { [.5 dpi2point mul 4 dpi2point mul] 0 setdash } bdef
/DA { [6 dpi2point mul] 0 setdash } bdef
/DD { [.5 dpi2point mul 4 dpi2point mul 6 dpi2point mul 4
  dpi2point mul] 0 setdash } bdef
% macros for lines and objects
/L {lineto stroke} bdef
/MP {3 1 roll moveto 1 sub {rlineto} repeat} bdef
/AP {{rlineto} repeat} bdef
/PDlw -1 def
/W {/PDlw currentlinewidth def setlinewidth} def
/PP {closepath eofill} bdef
/DP {closepath stroke} bdef
/MR {4 -2 roll moveto dup  0 exch rlineto exch 0 rlineto
  neg 0 exch rlineto closepath} bdef
/FR {MR stroke} bdef
/PR {MR fill} bdef
/L1i {{currentfile picstr readhexstring pop} image} bdef
/tMatrix matrix def
/MakeOval {newpath tMatrix currentmatrix pop translate scale
0 0 1 0 360 arc tMatrix setmatrix} bdef
/FO {MakeOval stroke} bdef
/PO {MakeOval fill} bdef
/PD {currentlinecap 1 cap 3 1 roll 2 copy mt lineto stroke
   cap PDlw -1 eq not {PDlw w /PDlw -1 def} if} def
/FA {newpath tMatrix currentmatrix pop translate scale
  0 0 1 5 -2 roll arc tMatrix setmatrix stroke} bdef
/PA {newpath tMatrix currentmatrix pop	translate 0 0 moveto scale
  0 0 1 5 -2 roll arc closepath tMatrix setmatrix fill} bdef
/FAn {newpath tMatrix currentmatrix pop translate scale
  0 0 1 5 -2 roll arcn tMatrix setmatrix stroke} bdef
/PAn {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
  0 0 1 5 -2 roll arcn closepath tMatrix setmatrix fill} bdef
/vradius 0 def /hradius 0 def /lry 0 def
/lrx 0 def /uly 0 def /ulx 0 def /rad 0 def
/MRR {/vradius xdef /hradius xdef /lry xdef /lrx xdef /uly xdef
  /ulx xdef newpath tMatrix currentmatrix pop ulx hradius add uly
  vradius add translate hradius vradius scale 0 0 1 180 270 arc 
  tMatrix setmatrix lrx hradius sub uly vradius add translate
  hradius vradius scale 0 0 1 270 360 arc tMatrix setmatrix
  lrx hradius sub lry vradius sub translate hradius vradius scale
  0 0 1 0 90 arc tMatrix setmatrix ulx hradius add lry vradius sub
  translate hradius vradius scale 0 0 1 90 180 arc tMatrix setmatrix
  closepath} bdef
/FRR {MRR stroke } bdef
/PRR {MRR fill } bdef
/MlrRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lry uly sub 2 div def
  newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
  rad rad scale 0 0 1 90 270 arc tMatrix setmatrix lrx rad sub lry rad
  sub translate rad rad scale 0 0 1 270 90 arc tMatrix setmatrix
  closepath} bdef
/FlrRR {MlrRR stroke } bdef
/PlrRR {MlrRR fill } bdef
/MtbRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lrx ulx sub 2 div def
  newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
  rad rad scale 0 0 1 180 360 arc tMatrix setmatrix lrx rad sub lry rad
  sub translate rad rad scale 0 0 1 0 180 arc tMatrix setmatrix
  closepath} bdef
/FtbRR {MtbRR stroke } bdef
/PtbRR {MtbRR fill } bdef
/stri 6 array def /dtri 6 array def
/smat 6 array def /dmat 6 array def
/tmat1 6 array def /tmat2 6 array def /dif 3 array def
/asub {/ind2 exch def /ind1 exch def dup dup
  ind1 get exch ind2 get sub exch } bdef
/tri_to_matrix {
  2 0 asub 3 1 asub 4 0 asub 5 1 asub
  dup 0 get exch 1 get 7 -1 roll astore } bdef
/compute_transform {
  dmat dtri tri_to_matrix tmat1 invertmatrix 
  smat stri tri_to_matrix tmat2 concatmatrix } bdef
/ds {stri astore pop} bdef
/dt {dtri astore pop} bdef
/db {2 copy /cols xdef /rows xdef mul dup string
  currentfile exch readhexstring pop
  /bmap xdef pop pop} bdef
/it {gs np dtri aload pop moveto lineto lineto cp c
  cols rows 8 compute_transform 
  {bmap} image gr}bdef
/il {newpath moveto lineto stroke}bdef
currentdict end def
%%EndProlog

%%BeginSetup
MathWorks begin

0 cap

end
%%EndSetup

%%Page: 1 1
%%BeginPageSetup
%%PageBoundingBox:    92   194   502   590
MathWorks begin
bpage
%%EndPageSetup

%%BeginObject: obj1
bplot

/dpi2point 12 def
portraitMode 0204 7344 csm

  906   254  4919  4756 MR c np
85 dict begin %Colortable dictionary
/c0 { 0 0 0 sr} bdef
/c1 { 1 1 1 sr} bdef
/c2 { 1 0 0 sr} bdef
/c3 { 0 1 0 sr} bdef
/c4 { 0 0 1 sr} bdef
/c5 { 1 1 0 sr} bdef
/c6 { 1 0 1 sr} bdef
/c7 { 0 1 1 sr} bdef
c0
1 j
1 sg
   0    0 6913 5185 PR
6 w
0 4225 4225 0 0 -4225 1464 4614 4 MP
PP
-4225 0 0 4225 4225 0 0 -4225 1464 4614 5 MP stroke
4 w
DO
SO
6 w
0 sg
1464  389 mt 5689  389 L
1464 4614 mt 5689 4614 L
5689 4614 mt 5689  389 L
1464 4614 mt 1464  389 L
1464 4614 mt 5689 4614 L
1464 4614 mt 1464  389 L
1464 4614 mt 1464 4571 L
1464  389 mt 1464  431 L
%%IncludeResource: font Helvetica
/Helvetica /WindowsLatin1Encoding 156 FMSR

1421 4793 mt 
(0) s
2309 4614 mt 2309 4571 L
2309  389 mt 2309  431 L
2266 4793 mt 
(2) s
3154 4614 mt 3154 4571 L
3154  389 mt 3154  431 L
3111 4793 mt 
(4) s
3999 4614 mt 3999 4571 L
3999  389 mt 3999  431 L
3956 4793 mt 
(6) s
4844 4614 mt 4844 4571 L
4844  389 mt 4844  431 L
4801 4793 mt 
(8) s
5689 4614 mt 5689 4571 L
5689  389 mt 5689  431 L
5603 4793 mt 
(10) s
1464 4614 mt 1506 4614 L
5689 4614 mt 5647 4614 L
1122 4672 mt 
(-0.2) s
1464 4085 mt 1506 4085 L
5689 4085 mt 5647 4085 L
1122 4143 mt 
(-0.1) s
1464 3557 mt 1506 3557 L
5689 3557 mt 5647 3557 L
1343 3615 mt 
(0) s
1464 3029 mt 1506 3029 L
5689 3029 mt 5647 3029 L
1213 3087 mt 
(0.1) s
1464 2501 mt 1506 2501 L
5689 2501 mt 5647 2501 L
1213 2559 mt 
(0.2) s
1464 1973 mt 1506 1973 L
5689 1973 mt 5647 1973 L
1213 2031 mt 
(0.3) s
1464 1445 mt 1506 1445 L
5689 1445 mt 5647 1445 L
1213 1503 mt 
(0.4) s
1464  917 mt 1506  917 L
5689  917 mt 5647  917 L
1213  975 mt 
(0.5) s
1464  389 mt 1506  389 L
5689  389 mt 5647  389 L
1213  447 mt 
(0.6) s
1464  389 mt 5689  389 L
1464 4614 mt 5689 4614 L
5689 4614 mt 5689  389 L
1464 4614 mt 1464  389 L
gs 1464 389 4226 4226 MR c np
17 3 17 2 17 3 17 3 16 3 17 4 17 3 17 4 
17 4 17 4 17 4 17 5 17 4 17 5 16 5 17 5 
17 5 17 5 17 6 17 5 17 6 17 6 17 6 17 6 
16 6 17 6 17 7 17 6 17 7 17 6 17 7 17 6 
17 7 17 7 16 6 17 7 17 6 17 7 17 6 17 7 
17 6 17 6 17 6 17 6 16 6 17 5 17 6 17 5 
17 5 17 5 17 4 17 5 17 4 17 3 16 4 17 3 
17 2 17 3 17 2 17 1 17 1 17 1 17 0 17 0 
16 0 17 -1 17 -2 17 -2 17 -3 17 -3 17 -4 17 -4 
17 -5 17 -5 16 -6 17 -7 17 -7 17 -8 17 -8 17 -9 
17 -10 17 -10 17 -11 17 -12 16 -12 17 -13 17 -13 17 -14 
17 -15 17 -15 17 -15 17 -17 17 -17 17 -17 17 -18 16 -18 
17 -19 17 -20 17 -20 4016 3671 100 MP stroke
17 -20 17 -21 17 -21 17 -21 17 -22 16 -22 17 -23 17 -22 
17 -23 17 -23 17 -23 17 -23 17 -24 17 -23 17 -23 16 -23 
17 -23 17 -23 17 -22 17 -22 17 -22 17 -22 17 -21 17 -20 
17 -20 16 -20 17 -18 17 -18 17 -18 17 -16 17 -16 17 -14 
17 -14 17 -12 17 -12 16 -10 17 -9 17 -7 17 -7 17 -4 
17 -4 17 -2 17 0 17 1 17 3 16 5 17 6 17 9 
17 10 17 12 17 14 17 16 17 18 17 20 17 22 16 24 
17 26 17 29 17 30 17 33 17 35 17 37 17 39 17 42 
17 44 16 45 17 48 17 50 17 53 17 54 17 56 17 58 
17 60 17 63 17 64 16 65 17 68 17 69 17 70 17 72 
17 74 17 75 17 76 17 77 17 78 16 79 17 80 17 80 
17 81 17 81 17 82 17 81 17 82 17 81 17 81 16 80 
17 79 17 79 17 77 2343 1551 100 MP stroke
17 77 17 75 17 73 17 71 17 69 17 67 16 65 17 62 
17 60 17 56 17 53 17 49 17 46 17 42 17 38 17 34 
16 30 17 24 17 20 17 15 17 9 17 5 17 -2 17 -7 
17 -13 17 -20 16 -25 17 -32 17 -39 17 -46 17 -52 17 -59 
17 -67 17 -73 17 -81 17 -89 16 -96 17 -103 17 -111 17 -119 
17 -126 17 -134 17 -141 17 -150 17 -156 17 -165 16 -172 17 -179 
17 -187 17 -193 17 -201 17 -208 1464 3557 53 MP stroke
gr

%%IncludeResource: font Helvetica
/Helvetica /WindowsLatin1Encoding 168 FMSR

3534 4971 mt 
(x) s
1067 2544 mt  -90 rotate
(y) s
90 rotate

end

eplot
%%EndObject

epage
end

showpage

%%Trailer
%%BoundingBox:    92   194   502   590
%%Pages: 001
%%EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -