•¹ƒ±³‰³® ƒ„·½...

download •¹ƒ±³‰³® ƒ„·½ •€¹ƒ„®¼· „‰½ —/¥ ™™ œ¬¸·¼±  9  GMT II

of 29

  • date post

    17-Mar-2016
  • Category

    Documents

  • view

    66
  • download

    4

Embed Size (px)

description

Εισαγωγή στην Επιστήμη των Η/Υ ΙΙ Μάθημα 9 GMT II. http://seismo.geology.upatras.gr/comp/. Τι μάθαμε για το GMT…?. psxy pscoast psbasemap. Τι μάθαμε για το GMT…?. pscoast −J parameters −R west / east / south / north [ r ] [ −A min_area [ /min_level/max_level ] ] - PowerPoint PPT Presentation

Transcript of •¹ƒ±³‰³® ƒ„·½...

  • /

    9 GMT IIhttp://seismo.geology.upatras.gr/comp/

  • GMT?psxypscoastpsbasemap

  • GMT?pscoast Jparameters Rwest/east/south/north[r] [ Amin_area[/min_level/max_level] ] [ B[p|s]parameters ] [ Cfill ] [ Dresolution ] [ Eazimuth/elevation ] [ Gfill ][ Iriver[/pen] ] [ Jz|Zparameters ] [ K ] [ L[f][x]lon0/lat0[/slon]/slat/length[m|n|k][:label:just][+ppen][+ffill] ] ][ O ] [ M[flag] ] [ Nborder[/pen] ] [ O ] [ P ] [ Q ] [ Sfill ][ T[f|m][x]lon0/lat0/size[/info][:w,e,s,n:][+gint[/mint]] ][ U[/dx/dy/][label] ] [ V ] [ Wpen ] [ X[a|c|r][x-shift[u]] ][ Y[a|c|r][y-shift[u]] ] [ Zzlevel ] [ ccopies ] [ bo[s|S|d|D][ncol] ] http://gmt.soest.hawaii.edu/ docs

  • GMT?Pscoast -

  • GMT?Psxy

  • psxy files Jparameters Rwest/east/south/north[r] [ A ] [ B[p|s]parameters ] [ Ccptfile ] [ Ddx/dy ] [ E[x|y|X|Y][cap][/pen] ] [ Gfill ] [ H[i][nrec] ] [ K ] [ L ] [ N ] [ M[flag] ] [ O ] [ P ] [ S[symbol][size] ] [ U[/dx/dy/][label] ] [ V ] [ W[pen] ] [ X[a|c|r][x-shift[u]] ] [ Y[a|c|r][y-shift[u]] ] [ :[i|o] ] [ ccopies ][ bi[s|S|d|D][ncol] ] [ fcolinfo ]

  • http://sedition.com/perl/rgb.html GMT

  • - , .-J -R -V - , - postscript -P Portrait-X, -Y > >>

  • Batch files ..? DOS (. dir, echo, pause..)

    ? (.. )

    ? text editor .BAT . DOS.

  • Awk, sed ( ) Unix Windows .. , , , , gawk {print $2,$1} a.dat > b.datgawk "{print $1, \"R\" }" a.dat > b.dat

  • 172839410511612

    gawk {print $2,$1} a.dat > b.dat718293104115126

    gawk "{print $1, \"R\" }" a.dat > b.dat1 R2 R3 R4 R5 R6 R

  • PSTEXT / psxy font, font

    x, y, size, angle, fontno, justify, text)

  • x, y, size, angle, fontno, justify, text)

    pstext textfile Jparameters Rwest/east/south/north[r] [ B[p|s]parameters ] [ Cdx/dy ] [ D[j]dx/dy[v[color] ] [ Eazimuth/elevation ] [ Gcolor ] [ H[i][nrec] ] [ Jz|Zparameters ] [ K ] [ L ] [ M[flag] ] [ N ] [ O ] [ P ] [ Spen ] [ U[/dx/dy/][label] ] [ V ] [ W[color,][o|O|c|C[pen]] ] [ X[a|c|r][x-shift[u]] ] [ Y[a|c|r][y-shift[u]] ] [ Zzlevel ] [ ccopies ] [ :[i|o] ]

  • font

  • 1 12 23 34 45 56 67 78 8

    C:\GMT>psxy -R0/10/0/10 a.dat -JX10c -Sc0.1c -B1/1 -K > a.psa.dat

  • 1 12 23 34 45 56 67 78 8

    gawk "{print $1,$2,10,0,1,\"CM\",$1 }" a.dat > a.txt

    psxy -R0/11/0/11 -JX10c a.dat -Ss0.5 -K -B1g1 -Gblack > aa.pspstext a.txt -R -J -O -V -D.7 >> aa.psa.dat1 1 10 0 1 CM 12 2 10 0 1 CM 23 3 10 0 1 CM 34 4 10 0 1 CM 45 5 10 0 1 CM 56 6 10 0 1 CM 67 7 10 0 1 CM 78 8 10 0 1 CM 89 9 10 0 1 CM 910 10 10 0 1 CM 10a.txtx, y, size, angle, fontno, justify, text)

  • PSHISTOGRAM ..!

    File ASCII [or binary, see b] datafile.Jxxscale[/yscale] (Linear scale(s) in distance unit/data unit).W Sets the bin width used for histogram calculations.

  • pshistogram file Jx|Xparameters Wbin_width [ A ] [ B[p|s]parameters ] [ C ] [ Eazimuth/elevation ] [ Gfill ] [ H[i][nrec] ] [ Jz|Zparameters ] [ I[o|O] ] [ K ] [ Lpen ] [ O ] [ P ] [ Q ] [ Rxmin/xmax/ymin/ymax[r] ] [ S ] [ Tcol ] [ U[/dx/dy/][label] ] [ V ] [ X[a|c|r][x-shift[u]] ] [ Y[a|c|r][y-shift[u]] ] [ Ztype ] [ ccopies ] [ bi[s|S|d|D][ncol] ] [ f[i|o]colinfo ]

  • pshistogram hist.dat -JX4 -W250 -C -L1.5p,red -V -Gblack -K -Uc -B4000/500 > plot.ps

  • pshistogram hist.dat -JX4 -W250 -C -L1.5p,red -V -Gblack -K -Uc -B4000/10 -Z1 -R-8000/0/0/100 > plot.ps

  • pshistogram hist.dat -JX4 -W250 -C -L1.5p,red -V -Gblack -K -Uc -B4000/500 -A > plot.ps

  • PSROSE ..!

    ..0.277209 00.277794 10.279488 20.282281 30.286169 40.29113 50.297149 60.3042 70.312254 80.321284 9

  • psrose file

    [ Asector_width[r] ] [ B[p|s]parameters ] [ C[mode_file] ] [ Eazimuth/elevation ] [ Gfill ] [ H[i][nrec] ] [ I ] [ K ] [ M[parameters ] [ O ] [ P ] [ Rr0/r1/az_0/az_1 ] [ Sradial_scale[n] ] [ T ] [ U[/dx/dy/][label] ] [ V ] [ Wpen ] [ X[a|c|r][x-shift[u]] ] [ Y[a|c|r][y-shift[u]] ] [ Zscale ] [ ccopies ] [ :[i|o] ] [ bi[s|S|d|D][ncol] ]

  • psrose rod.dat -R0/1/0/360 -S7 -A1r -Glightblue -W0.75p,red -B.1g.1/20g20 -V -K -Uc > plot.ps

  • psrose rod.dat -R0/10/0/360 -S7 -A10 -Glightblue -W0.75p,red -B2g2/20g20 -V -K -Uc > plot.ps

  • psrose rod3.dat -R0/1/0/360 -S7n -W0.75p,red -B.1g.1/10g10 -V -K -Uc > plot.ps

  • ****************************