WANtaroHP (GMT: Basic)

toJA

Outline of this page

Following items are shown in this page.

Contents
ImageMagick command to convert file format from 'eps' to 'png'
awk script to draw legend by own coding
Font table
Color map table
Hachure patterns table and samples of usage

The arranged document of output images by PDF is shown below. It was made by pasting eps image file to TeX and using TeX function of 'dvipdfm.'

FilenameDescription
PDF of output image files


File format conversion from 'eps' to 'png'

'eps' files by GMT were converted to 'png' files using following command of ImageMagick.

A4 portrait type (in case of using -P option)

mogrify -trim -density 300 -bordercolor "#ffffff" -border 10x10 -format png *.eps

A4 landscape type (in case of no-using -P option)

Please note it is necessary to be rotate by 90 degree in conversion.

mogrify -rotate 90 -trim -density 300 -bordercolor "#ffffff" -border 50x50 -format png *.eps


Legend

Although GMT has the command of 'pslegend' to make legend, webmaster can not use it. So, webmaster has made the awk script to make batch file for drawing legend. The name of awk script is 'awk_klegend.awk.'

FilenameDescription
awk script to make batch file for making legend
Input file for awk script
Batch file for GMT to draw figure
Output image file


Fonts

FilenameDescription
Input data to draw figure of fonts
Input file to draw figure of symbol
Input file to draw ZapfDingbats fonts
Batch file for GMT
Output image file (fonts)
Output image file (symbol and ZapfDingbats fonts)


Color maps

FilenameDescription
awk script to make batch file for drawing
Input file for awk_script
Batch file for GMT to draw figure
Batch file to execute 'cpt_sample.bat'
Output image file


Hachure patterns

FilenameDescription
Batch file for GMT to draw figure
Batch file for GMT to draw figure
Output image file (predifined 90's hachure patterns)
Output image file (sample of use: case 1)
Output image file (sample of use: case 2)

toJA
inserted by FC2 system