{$HH:mm:ss$}虚拟店铺无货源店铺怎...

日期格式化{0:yyyy-MM-dd HH:mm:ss.fff}和{0:yyyy-MM-dd hh_Java123社区微信号:java123msg |||[][]当前位置: &
& 日期格式化{0:yyyy-MM-dd HH:mm:ss.fff}和{0:yyyy-MM-dd hh{0:yyyy-MM-dd HH:mm:ss.fff}:使用24小时制格式化日期 {0:yyyy-MM-dd hh:mm:ss.fff}:使用12小时制格式化日期 以下同理,从左至右分别为-年-月-日 时:分:秒.毫秒 {0:yyyy-MM-dd HH:mm:ss zzz} {0:yyyy-MM-dd HH:mm:ss.f{0:yyyy-MM-dd HH:mm:ss.fff}:使用24小时制格式化日期{0:yyyy-MM-dd hh:mm:ss.fff}:使用12小时制格式化日期以下同理,从左至右分别为-年-月-日 时:分:秒.毫秒{0:yyyy-MM-dd HH:mm:ss zzz}{0:yyyy-MM-dd HH:mm:ss.ff zzz}{0:yyyy-MM-dd HH:mm:ss.fff zzz}{0:yyyy-MM-dd HH:mm:ss.ffff zzz}以下测试代码//---假设时间为- 16:50:49.92object objValue2 = Business.Services.ExecuteScalar(sqliteconnstring, "Select LastUpdate From CmItemClass2 order by LastUpdate desc limit 0,1");string lastUpdate2 = objValue2 == null ? string.Empty : string.Format("{0:yyyy-MM-dd HH:mm:ss.fff}", objValue2); //--输出 16:50:49.920string lastUpdate3 = objValue2 == null ? string.Empty : string.Format("{0:yyyy-MM-dd hh:mm:ss.fff}", objValue2); //--输出 04:50:49.920//--------------------y 将指定 DateTime 对象的年份部分显示为位数最多为两位的数字。忽略年的前两位数字。如果年份是一位数字 (1-9),则它显示为一位数字。yy 将指定 DateTime 对象的年份部分显示为位数最多为两位的数字。忽略年的前两位数字。如果年份是一位数字 (1-9),则将其格式化为带有前导 0 (01-09)。yyyy 显示指定 DateTime 对象的年份部分(包括世纪)。如果年份长度小于四位,则按需要在前面追加零以使显示的年份长度达到四位。z 仅以整小时数为单位显示系统当前时区的时区偏移量。偏移量总显示为带有前导或尾随符号(零显示为&+0&),指示早于格林威治时间 (+) 或迟于格林威治时间 (-) 的小时数。值的范围是 &12 到 +13。如果偏移量为一位数 (0-9),则将其显示为带合适前导符号的一位数。该时区的设置指定为 +X 或 &X,其中 X 是相对 GMT 以小时为单位的偏移量。所显示的偏移量受夏时制的影响。zz 仅以整小时数为单位显示系统当前时区的时区偏移量。偏移量总显示为带有前导或尾随符号(零显示为&+00&),指示早于格林威治时间 (+) 或迟于格林威治时间 (-) 的小时数。值范围为 &12 到 +13。如果偏移量为单个数字 (0-9),则将其格式化为前面带有 0 (01-09) 并带有适当的前导符号。该时区的设置指定为 +X 或 &X,其中 X 是相对 GMT 以小时为单位的偏移量。所显示的偏移量受夏时制的影响。zzz, zzz(外加任意数量的附加&z&字符)以小时和分钟为单位显示系统当前时区的时区偏移量。偏移量总是显示为带有前导或尾随符号(零显示为&+00:00&),指示早于格林威治时间 (+) 或迟于格林威治时间 (-) 的小时和分钟数。值范围为 &12 到 +13。如果偏移量为单个数字 (0-9),则将其格式化为前面带有 0 (01-09) 并带有适当的前导符号。该时区的设置指定为 +X 或 &X,其中 X 是相对 GMT 以小时为单位的偏移量。所显示的偏移量受夏时制的影响。: 时间分隔符。/ 日期分隔符。" 带引号的字符串。显示转义符 (/) 之后两个引号之间的任何字符串的文本值。&' 带引号的字符串。显示两个&'&字符之间的任何字符串的文本值。%c 其中 c 是标准格式字符,显示与格式字符关联的标准格式模式。\c 其中 c 是任意字符,转义符将下一个字符显示为文本。在此上下文中,转义符不能用于创建转义序列(如&\n&表示换行)。任何其他字符 其他字符作为文本直接写入输出字符串。向 DateTime.ToString 传递自定义模式时,模式必须至少为两个字符长。如果只传递&d&,则公共语言运行库将其解释为标准格式说明符,这是因为所有单个格式说明符都被解释为标准格式说明符。如果传递单个&h&,则引发异常,原因是不存在标准的&h&格式说明符。若要只使用单个自定义格式进行格式化,请在说明符的前面或后面添加一个空格。例如,格式字符串&h&被解释为自定义格式字符串。下表显示使用任意值 DateTime.Now(该值显示当前时间)的示例。示例中给出了不同的区域性和时区设置,以阐释更改区域性的影响。可以通过下列方法更改当前区域性:更改 Microsoft
的&日期/时间&控制面板中的值,传递您自己的 DateTimeFormatInfo 对象,或将 CultureInfo 对象设置传递给不同的区域性。此表是说明自定义日期和时间说明符如何影响格式化的快速指南。请参阅该表下面阐释这些说明符的代码示例部分。共2页顶一下(0)0%踩一下(0)0%------分隔线------上一篇: 下一篇: 栏目列表推荐内容热点内容JS &/Date(7)/& 怎么转换成日期类型 yyyy-MM-dd HH:mm:ss 格式_ASP.NET大全_优良自学吧 |
当前位置: >
> JS &/Date(7)/& 怎么转换成日期类型 yyyy-MM-dd HH:mm:ss 格式优良自学吧提供JS &/Date(7)/& 怎么转换成日期类型 yyyy-MM-dd HH:mm:ss 格式,JS &/Date(7)/& 如何转换成日期类型 yyyy-MM-dd HH:mm:ss 格式JS&返回的json对象&&data.CreateTime调试的值是&"/Date(7)/" 如JS &/Date(7)/& 如何转换成日期类型 yyyy-MM-dd HH:mm:ss 格式JS&返回的json对象&&data.CreateTime调试的值是&"/Date(7)/"
如何转换成&yyyy-MM-dd&HH:mm:ss&这样的格式显示出来------解决方案--------------------.ToString("yyyy-MM-dd&HH:mm:ss&")------解决方案--------------------Refer&here:
/insus/p/3597543.html
(本文来自互联网,不代表搜站(/)的观点和立场)本站所有内容来自互联网,若本站收录的信息无意侵犯了贵司版权,请给我们来信(),我们会及时处理和回复,谢谢编辑推荐 - 灵猫香 - 我不是你的天使 - 天杀的老贼 - 玉艮之艮 - 粉红色的猪尾巴 - 东野圭吾 - 东野圭吾 - 姬流觞 - 月汐儿 - 水飒飒 - 。. - 粉红色的猪尾巴 - 顾伟丽 - 顾伟丽 - 古剑锋最近更新400-000-0000
{FS:NS=ReadNews┆引用样式$9┆日期格式$YY02-MM-DD HH:MI:SS}
核心提示:{FS:NS=ReadNews┆引用样式$12┆日期格式$YY02-MM-DD HH:MI}{FS:NS=ReadNews┆引用样式$12┆日期格式$YY02-MM-DD HH:MI}gmt.conf & GMT 5.1.0 documentation
Navigation
gmt.conf - Configuration for GMT
Description
The following is a list of the parameters that are user-definable in
GMT. The parameter names are always given in UPPER CASE. The
parameter values are case-insensitive unless otherwise noted. The system
defaults are given in brackets [ for SI (and US) ]. Those marked *
can be set on the command line as well (the corresponding option is
given in parentheses). Note that default distances and lengths below are
give the chosen default depends on your choice of
default unit (see ). You can explicitly specify
the unit used for distances and lengths by appending c (cm), i
(inch), or p (points). When no unit is indicated the value will be
assumed to be in the unit set by . Several
parameters take only true or false. Finally, most of these
parameters can be changed on-the-fly via the --PARAMETER=VALUE
option to any GMT program. However, a few are static and are only
read via the gmt.conf these are labeled (static).
Common Specifications
The full explanation for how to specify pens, pattern fills, colors, and
fonts can be found in the
COLOR_BACKGROUND
Color used for the background of images (i.e., when z & lowest color
table entry) [black].
COLOR_FOREGROUND
Color used for the foreground of images (i.e., when z & highest
color table entry) [white].
COLOR_HSV_MAX_SATURATION
Maximum saturation (0-1) assigned for most positive intensity value [0.1].
COLOR_HSV_MIN_SATURATION
Minimum saturation (0-1) assigned for most negative intensity value [1.0].
COLOR_HSV_MAX_VALUE
Maximum value (0-1) assigned for most positive intensity value [1.0].
COLOR_HSV_MIN_VALUE
Minimum value (0-1) assigned for most negative intensity value [0.3].
COLOR_MODEL
Selects in which color space a color palette should be interpolated.
By default, color interpolation takes place directly on the RGB
values which can produce some unexpected hues, whereas interpolation
directly on the HSV values better preserves those hues. The choices
are: none (default: use whatever the COLOR_MODEL setting in the
color palette file demands), rgb (force interpolation in RGB),
hsv (force interpolation in HSV), cmyk (assumes colors are
in CMYK but interpolates in RGB).
Color used for the non-defined areas of images (i.e., where z == NaN) [127.5].
Session data dir. Overrides the value of the environment variable $GMT_DATADIR
in the CookBook).
Path to optional Digital Chart of the World polygon files.
Path to GSHHG files. Defaults to $GMT_SHAREDIR/coast if empty.
Session temp dir. Overrides the value of the environment variable $GMT_TMPDIR
CookBook).
Session user dir. Overrides the value of the environment variable $GMT_USERDIR
in the CookBook).
Sets the default for all fonts, except FONT_LOGO. This setting is
not included in the gmt.conf file.
FONT_ANNOT_PRIMARY
Font used for primary annotations, etc. [12p,Helvetica,black]. When
+ is prepended, scale fonts, offsets and tick-lengths relative
to FONT_ANNOT_PRIMARY.
FONT_ANNOT_SECONDARY
Font to use for time axis secondary annotations
[14p,Helvetica,black].
FONT_LABEL
Font to use when plotting labels below axes [16p,Helvetica,black].
Font to use for text plotted as part of the GMT time logo
[8p,Helvetica,black].
FONT_TITLE
Font to use when plotting titles over graphs [24p,Helvetica,black].
FORMAT_CLOCK_IN
Formatting template that indicates how an input clock string is
formatted. This template is then used to guide the reading of clock
strings in data fields. To properly decode 12-hour clocks, append am
or pm (or upper case) to match your data records. As examples, try
hh:mm, hh:mm:ssAM, etc. [hh:mm:ss].
FORMAT_CLOCK_MAP
Formatting template that indicates how an output clock string is to
be plotted. This template is then used to guide the formatting of
clock strings in plot annotations. See FORMAT_CLOCK_OUT for
details. [hh:mm:ss].
FORMAT_CLOCK_OUT
Formatting template that indicates how an output clock string is to
be formatted. This template is then used to guide the writing of
clock strings in data fields. To use a floating point format for the
smallest unit (e.g., seconds), append .xxx, where the number of x
indicates the desired precision. If no floating point is indicated
then the smallest specified unit will be rounded off to nearest
integer. For 12-hour clocks, append am, AM, a.m., or A.M. (GMT
will replace a|A with p|P for pm). If your template starts with a
leading hyphen (-) then each integer item (y,m,d) will be printed
without leading zeros (default uses fixed width formats). As
examples, try hh:mm, hh.mm.ss, hh:mm:ss.xxxx, hha.m., etc.
[hh:mm:ss]. If the format is simply - then no clock is output and
the ISO T divider between date and clock is omitted.
FORMAT_GEO_MAP
Formatting template that indicates how an output geographical
coordinate is to be plotted. This template is then used to guide the
plotting of geographical coordinates in data fields. See
FORMAT_GEO_OUT for details. In addition, you can append A
which plots the absolute value of the coordinate. The default is
ddd:mm:ss. Not all items may be plotted as this depends on the
annotation interval.
FORMAT_GEO_OUT
Formatting template that indicates how an output geographical
coordinate is to be formatted. This template is then used to guide
the writing of geographical coordinates in data fields. The template
is in general of the form [+|-]D or [+|-]ddd[:mm[:ss]][.xxx][F].
By default, longitudes will be reported in the range [-180,180]. The
various terms have the following purpose:
+D Output longitude in the range [0,360]
-D Output longitude in the range [-360,0]
D Use FORMAT_FLOAT_OUT for floating point degrees.
ddd Fixed format integer degrees
: delimiter used
mm Fixed format integer arc minutes
ss Fixed format integer arc seconds
.xxx Floating fraction of previous integer field, fixed width.
F Encode sign using WESN suffix
G Same as F but with a leading space before suffix
The default is D.
FORMAT_FLOAT_MAP
Format (C language printf syntax) to be used when plotting double
precision floating point numbers on maps. For geographic
coordinates, see FORMAT_GEO_MAP. [%.12lg].
FORMAT_FLOAT_OUT
Format (C language printf syntax) to be used when printing double
precision floating point numbers to output files. For geographic
coordinates, see FORMAT_GEO_OUT. [%.12lg]. To give some
columns a separate format, supply one or more comma-separated
cols:format specifications, where cols can be specific columns
(e.g., 5 for 6th since 0 is the first) or a range of columns (e.g.,
3-7). The last specification without column information will
override the format for all other columns.
GMT_COMPATIBILITY
Determines if this GMT version should be able to parse command-line
options for a prior major release.
Specify either 4 or 5. If 4 is
set we will parse obsolete GMT 4 option if 5
is set then parsing GMT 4 only syntax will result in errors [4].
GMT_EXTRAPOLATE_VAL
Determines what to do if extrapolating beyond the data domain.
Choose among ‘NaN’, ‘extrap’ or ‘extrapval,val’ (without quotes). In
the first case return NaN for any element of x that is outside range
[Default]. Second case lets the selected algorithm compute the
extrapolation values. Third case sets the extrapolation values to
the constant value passed in ‘val’ (this value must off course be
GMT_CUSTOM_LIBS
Comma-separated list of GMT-compliant shared libraries that extend
the capability of GMT with additional custom modules [none]. Alternatively,
provide a directory name, that MUST end with a slash (or back slash),
to use all shared libraries in that directory. On Windows, if the dir
name is made up only of a single slash (‘/’) search inside a subdirectory
called ‘gmt_plugins’ of the directory that contains the ‘gmt’ executable.
See the API documentation for how to build your own shared modules.
Determines which Fast Fourier Transform (FFT) should be used among
those that have been configured during installation. Choose from
auto (pick the most suitable for the task among available
algorithms), fftw[,planner_flag] (The Fastest Fourier
Transform in the West), accelerate (Use the Accelerate Framework
under OS X; Note, that the number of samples to be processed must be
a base 2 exponent), kiss, (Kiss FFT), brenner Brenner Legacy
FFT [auto].
FFTW can “learn” how to optimally compute Fourier transforms on the
current hardware and OS by computing several FFTs and measuring
their execution time. This so gained “Wisdom” will be stored in and
reloaded from the file fftw_wisdom_&hostname& in DIR_USER or, if
DIR_USER is not writable, in the current directory. To use this
feature append planner_flag, which can be one of measure,
patient, and exhaustive; see FFTW reference for details. The
default FFTW planner flag is estimate, i.e., pick a (probably
sub-optimal) plan quickly. Note: if you need a single transform of a
given size only, the one-time cost of the smart planner becomes
significant. In that case, stick to the default planner, estimate,
based on heuristics.
GMT_HISTORY
Passes the history of past common command options via the
gmt.history file. The different values for this setting are:
true, readonly, false, to either read and write to the
gmt.history file, only read, or not use the file at all [true].
GMT_INTERPOLANT
Determines if linear (linear), Akima’s spline (akima), natural cubic
spline (cubic) or no interpolation (none) should be used for 1-D
interpolations in various programs [akima].
GMT_TRIANGULATE
Determines if we use the Watson [Default] or Shewchuk
algorithm (if configured during installation) for triangulation.
Note that Shewchuk is required for operations involving Voronoi
constructions.
GMT_VERBOSE
(-V) Determines the level of verbosity used by GMT
programs. Choose among 6 each level adds to the verbosity of
the lower levels: quiet, nnormal (errors and warnings),
compatibility warnings, (v)erbose progress reports, (l)ong
verbose progress reports, debugging messages [c].
IO_COL_SEPARATOR
This setting determines what character will separate ASCII output
data columns written by GMT. Choose from tab, space, comma, and
none [tab].
IO_GRIDFILE_FORMAT
Default file format for grids, with optional scale, offset and
invalid value, written as ff/scale/offset/invalid. The
2-letter format indicator can be one of
[abcegnrs][bsifd]. See
and Section 4.20 of the
GMT Technical Reference and Cookbook for more information. The
scale and offset modifiers may be left empty to select default
values (scale = 1, offset = 0), or you may specify a for
auto-adjusting the scale and/or offset of packed integer grids
(=id/a is a shorthand for =id/a/a). When invalid is omitted
the appropriate value for the given format is used (NaN or largest
negative). [nf].
IO_GRIDFILE_SHORTHAND
If true, all grid file names are examined to see if they use the
file extension shorthand discussed in Section 4.17 of the GMT
Technical Reference and Cookbook. If false, no filename expansion is
done [false].
IO_LONLAT_TOGGLE
(-:) Set if the first two columns of input and output files
contain (latitude,longitude) or (y,x) rather than the expected
(longitude,latitude) or (x,y). false means we have (x,y) both on
input and output. true means both input and output should be (y,x).
IN means only input has (y,x), while OUT means only output should be
(y,x). [false].
IO_NAN_RECORDS
Determines what happens when input records containing NaNs for x
or y (and in some cases z) are read. Choose between skip,
which will simply report how many bad records were skipped, and
pass [Default], which will pass these records on to the calling
programs. For most programs this will result in output records with
NaNs as well, but some will interpret these NaN records to indicate
programs may then use that information to detect
segmentation (if applicable).
IO_NC4_CHUNK_SIZE
Sets the default chunk size for the lat and lon dimension of
the z variable. Very large chunk sizes and sizes smaller than
128 should be avoided because they can lead to unexpectedly bad
performance. Note that a chunk of a single precision floating point
variable of size
completely fills the chunk cache of
32MiB. Specify the chunk size for each dimension separated by a
comma, or auto for optimally chosen chunk sizes in the range
[128,256). Setting IO_NC4_CHUNK_SIZE will produce netCDF version 4
files, which can only be read with the netCDF 4 library, unless all
dimensions are less than 128 or classic is specified for
classic netCDF. [auto]
IO_NC4_DEFLATION_LEVEL
Sets the compression level for netCDF4 files upon output. Values
allowed are integers from 0 (no compression) to 9 (maximum
compression). Enabling a low compression level can dramatically
improve performance and reduce the size of certain data. While
higher compression levels further reduce the data size, they do so
at the cost of extra processing time. This parameter does not
apply to classic netCDF files. [3]
IO_SEGMENT_MARKER
This holds the character we expect to indicate a segment header in
an incoming ASCII data or text table [&]. If this marker should be
different for output then append another character for the output
segment marker. The two characters must be separated by a comma. Two
marker characters have special meaning: B means “blank line” and
will treat blank lines as initiating a new segment, whereas N means
“NaN record” and will treat records with all NaNs as initiating a
new segment. If you choose B or N for the output marker then the
normal GMT segment header is replaced by a blank or NaN record,
respectively, and no segment header information is written. To use B
or N as regular segment markers you must escape them with a leading
backslash.
MAP_ANNOT_MIN_ANGLE
If the angle between the map boundary and the annotation baseline is
less than this minimum value (in degrees), the annotation is not
plotted (this may occur for certain oblique projections.) Give a
value in the range [0,90]. [20]
MAP_ANNOT_MIN_SPACING
If an annotation would be plotted less than this minimum distance
from its closest neighbor, the annotation is not plotted (this may
occur for certain oblique projections.) [0p]
MAP_ANNOT_OBLIQUE
This integer is a sum of 6 bit flags (most of which only are
relevant for oblique projections): If bit 1 is set (1),
annotations will occur wherever a gridline crosses the map
boundaries, else longitudes will be annotated on the lower and upper
boundaries only, and latitudes will be annotated on the left and
right boundaries only. If bit 2 is set (2), then
longitude annotations will be plotted horizontally. If bit 3 is set
(4), then latitude annotations will be plotted
horizontally. If bit 4 is set (8), then oblique
tick-marks are extended to give a projection equal to the specified
tick length. If bit 5 is set (16), tick-marks will be drawn normal
to the border regardless of gridline angle. If bit 6 is set (32),
then latitude annotations will be plotted parallel to the border. To
set a combination of these, add up the values in parentheses. [1].
MAP_ANNOT_OFFSET_PRIMARY
Distance from end of tick-mark to start of annotation [5p].
MAP_ANNOT_OFFSET_SECONDARY
Distance from base of primary annotation to the top of the secondary
annotation [5p] (Only applies to time axes with both primary and
secondary annotations).
MAP_ANNOT_ORTHO
Determines which axes will get their annotations (for linear
projections) plotted orthogonally to the axes. Combine any w,
e, s, n, z (uppercase allowed as well). [we].
MAP_DEFAULT_PEN
Sets the default of all pens related to -W options. Prepend
+ to overrule the color of the parameters
MAP_GRID_PEN_PRIMARY, MAP_GRID_PEN_SECONDARY,
MAP_FRAME_PEN, MAP_TICK_PEN_PRIMARY, and
MAP_TICK_PEN_SECONDARY by the color of MAP_DEFAULT_PEN
[default,black].
MAP_DEGREE_SYMBOL
Determines what symbol is used to plot the degree symbol on
geographic map annotations. Choose between ring, degree, colon, or
none [ring].
MAP_FRAME_AXES
Sets which axes to draw and annotate. Combine any uppercase W,
E, S, N, Z to draw and annotate west, east, south,
north and/or vertical (perspective view only) axis. Use lower case
to draw the axis only, but not annotate. Add an optional + to
draw a cube of axes in perspective view. [WESN].
MAP_FRAME_PEN
Pen attributes used to draw plain map frame [thicker,black].
MAP_FRAME_TYPE
Choose between inside, plain and fancy (thick boundary,
alternating black/ append + for rounded corners)
[fancy]. For some map projections (e.g., Oblique Mercator), plain is
the only option even if fancy is set as default. In general, fancy
only applies to situations where the projected x and y directions
parallel the longitude and latitude directions (e.g., rectangular
projections, polar projections). For situations where all boundary
ticks and annotations must be inside the maps (e.g., for preparing
geotiffs), chose inside.
MAP_FRAME_WIDTH
Width (& 0) of map borders for fancy map frame [5p].
MAP_GRID_CROSS_SIZE_PRIMARY
Size (&= 0) of grid cross at lon-lat intersections. 0 means draw
continuous gridlines instead [0p].
MAP_GRID_CROSS_SIZE_SECONDARY
Size (&= 0) of grid cross at secondary lon-lat intersections. 0
means draw continuous gridlines instead [0p].
MAP_GRID_PEN_PRIMARY
Pen attributes used to draw primary grid lines in dpi units or
points (append p) [default,black].
MAP_GRID_PEN_SECONDARY
Pen attributes used to draw secondary grid lines in dpi units or
points (append p) [thinner,black].
MAP_LABEL_OFFSET
Distance from base of axis annotations to the top of the axis label [8p].
MAP_LINE_STEP
Determines the maximum length (& 0) of individual straight
line-segments when drawing arcuate lines [0.75p]
(-U) Specifies if a GMT logo with system timestamp should be
plotted at the lower left corner of the plot [false].
MAP_LOGO_POS
(-U) Sets the justification and the position of the
logo/timestamp box relative to the current plots lower left corner
of the plot [BL/-54p/-54p].
MAP_ORIGIN_X
(-X) Sets the x-coordinate of the origin on the paper for a
new plot [1i]. For an overlay, the default offset is 0.
MAP_ORIGIN_Y
(-Y) Sets the y-coordinate of the origin on the paper for a
new plot [1i]. For an overlay, the default offset is 0.
MAP_POLAR_CAP
Controls the appearance of gridlines near the poles for all
azimuthal projections and a few others in which the geographic poles
are plotted as points (Lambert Conic, Hammer, Mollweide, Sinusoidal,
and van der Grinten). Specify either none (in which case there is no
special handling) or pc_lat/pc_dlon. In that case, normal
gridlines are only drawn between the latitudes
-pc_lat/+*pc_lat*, and above those latitudes the gridlines are
spaced at the (presumably coarser) pc_dlon the two
domains are separated by a small circle drawn at the pc_lat
latitude [85/90]. Note for r-theta (polar) projection where r = 0 is
at the center of the plot the meaning of the cap is reversed, i.e.,
the default 85/90 will draw a r = 5 radius circle at the center of
the map with less frequent radial lines there.
MAP_SCALE_HEIGHT
Sets the height (& 0) on the map of the map scale bars drawn by
various programs [5p].
MAP_TICK_LENGTH_PRIMARY
The length of a primary major/minor tick-marks [5p/2.5p]. If only
the first value is set, the second is assumed to be 50% of the first.
MAP_TICK_LENGTH_SECONDARY
The length of a secondary major/minor tick-marks [15p/3.75p]. If
only the first value is set, the second is assumed to be 25% of the first.
MAP_TICK_PEN_PRIMARY
Pen attributes to be used for primary tick-marks in dpi units or
points (append p) [thinner,black].
MAP_TICK_PEN_SECONDARY
Pen attributes to be used for secondary tick-marks in dpi units or
points (append p) [thinner,black].
MAP_TITLE_OFFSET
Distance from top of axis annotations (or axis label, if present) to
base of plot title [14p].
MAP_VECTOR_SHAPE
Determines the shape of the head of a vector. Normally (i.e., for
vector_shape = 0), the head will be triangular, but can be changed
to an arrow (1) or an open V (2).
Intermediate settings give something in between. Negative values (up
to -2) are allowed as well [0].
PROJ_AUX_LATITUDE
Only applies when geodesics are approximated by great circle
distances on an equivalent sphere. Select from authalic, geocentric,
conformal, meridional, parametric, or none [authalic]. When not none
we convert any latitude used in the great circle calculation to the
chosen auxiliary latitude before doing the distance calculation. See
also PROJ_MEAN_RADIUS.
PROJ_ELLIPSOID
The (case sensitive) name of the ellipsoid used for the map projections [WGS-84]. Choose among:
Airy: Applies to Great Britain (1830)
Airy-Ireland: Applies to Ireland in )
Andrae: Applies to Denmark and Iceland (1876)
APL4.9: Appl. Physics (1965)
ATS77: Average Terrestrial System, Canada Maritime provinces (1977)
Australian: Applies to Australia (1965)
Bessel: Applies to Central Europe, Chile, Indonesia (1841)
Bessel-Namibia: Same as Bessel-Schwazeck (1841)
Bessel-NGO1948: Modified Bessel for NGO )
Bessel-Schwazeck: Applies to Namibia (1841)
Clarke-1858: Clarke’s early ellipsoid (1858)
Clarke-1866: Applies to North America, the Philippines (1866)
Clarke-1866-Michigan: Modified Clarke-1866 for Michigan (1866)
Clarke-1880: Applies to most of Africa, France (1880)
Clarke-1880-Arc1950: Modified Clarke-1880 for Arc )
Clarke-1880-IGN: Modified Clarke-1880 for IGN (1880)
Clarke-1880-Jamaica: Modified Clarke-1880 for Jamaica (1880)
Clarke-1880-Merchich: Modified Clarke-1880 for Merchich (1880)
Clarke-1880-Palestine: Modified Clarke-1880 for Palestine (1880)
CPM: Comm. des Poids et Mesures, France (1799)
Delambre: Applies to Belgium (1810)
Engelis: Goddard Earth Models (1985)
Everest-1830: India, Burma, Pakistan, Afghanistan, Thailand (1830)
Everest-1830-Kalianpur: Modified Everest for Kalianpur (1956) (1830)
Everest-1830-Kertau: Modified Everest for Kertau, Malaysia & Singapore (1830)
Everest-1830-Pakistan: Modified Everest for Pakistan (1830)
Everest-1830-Timbalai: Modified Everest for Timbalai, Sabah Sarawak (1830)
Fischer-1960: Used by NASA for Mercury program (1960)
Fischer-1960-SouthAsia: Same as Modified-Fischer-)
Fischer-1968: Used by NASA for Mercury program (1968)
FlatEarth: As Sphere, but implies fast “Flat Earth” distance calculations (1984)
GRS-67: International Geodetic Reference System (1967)
GRS-80: International Geodetic Reference System (1980)
Hayford-1909: Same as the International )
Helmert-1906: Applies to Egypt (1906)
Hough: Applies to the Marshall Islands (1960)
Hughes-1980: Hughes Aircraft Company for DMSP SSM/I grid products (1980)
IAG-75: International Association of Geodesy (1975)
Indonesian: Applies to Indonesia (1974)
International-1924: Worldwide use (1924)
International-1967: Worldwide use (1967)
Kaula: From satellite tracking (1961)
Krassovsky: Used in the (now former) Soviet Union (1940)
Lerch: For geoid modelling (1979)
Maupertius: Really old ellipsoid used in France (1738)
Mercury-1960: Same as Fischer-)
MERIT-83: United States Naval Observatory (1983)
Modified-Airy: Same as Airy-Ireland (1830)
Modified-Fischer-1960: Applies to Singapore (1960)
Modified-Mercury-1968: Same as Fischer-)
NWL-10D: Naval Weapons Lab (Same as WGS-72) (1972)
NWL-9D: Naval Weapons Lab (Same as WGS-66) (1966)
OSU86F: Ohio State University (1986)
OSU91A: Ohio State University (1991)
Plessis: Old ellipsoid used in France (1817)
SGS-85: Soviet Geodetic System (1985)
South-American: Applies to South America (1969)
Sphere: The mean radius in WGS-84 (for spherical/plate tectonics applications) (1984)
Struve: Friedrich Georg Wilhelm Struve (1860)
TOPEX: Used commonly for altimetry (1990)
Walbeck: First least squares solution by Finnish astronomer (1819)
War-Office: Developed by G. T. McCaw (1926)
WGS-60: World Geodetic System (1960)
WGS-66: World Geodetic System (1966)
WGS-72: World Geodetic System (1972)
WGS-84: World Geodetic System [Default] (1984)
Moon: Moon (IAU2000) (2000)
Mercury: Mercury (IAU2000) (2000)
Venus: Venus (IAU2000) (2000)
Mars: Mars (IAU2000) (2000)
Jupiter: Jupiter (IAU2000) (2000)
Saturn: Saturn (IAU2000) (2000)
Uranus: Uranus (IAU2000) (2000)
Neptune: Neptune (IAU2000) (2000)
Pluto: Pluto (IAU2000) (2000)
Note that for some global projections, GMT may use a spherical
approximation of the ellipsoid chosen, setting the flattening to
zero, and using a mean radius. A warning will be given when this
happens. If a different ellipsoid name than those mentioned here is
given, GMT will attempt to parse the name to extract the
semi-major axis (a in m) and the flattening. Formats allowed are:
a implies a zero flattening
a,inv_f where inv_f is the inverse flattening
a,b=b where b is the semi-minor axis (in m)
a,f=f where f is the flattening
This way a custom ellipsoid (e.g., those used for other planets) may
be used. Further note that coordinate transformations in
mapproject can also spe see the
man page for further details and how to view
ellipsoid and datum parameters.
PROJ_LENGTH_UNIT
Sets the unit length. Choose between cm, inch, or
point [c (or i)]. Note that, in GMT, one point is defined
as 1/72 inch (the PostScript definition), while it is often
defined as 1/72.27 inch in the typesetting industry. There is no
universal definition.
PROJ_MEAN_RADIUS
Applies when geodesics are approximated by great circle distances on
an equivalent sphere or when surface areas are computed. Select from
mean (R_1), authalic (R_2), volumetric (R_3), meridional, or
quadratic [authalic]. See also PROJ_MEAN_RADIUS.
PROJ_SCALE_FACTOR
Changes the default map scale factor used for the Polar
Stereographic [0.9996], UTM [0.9996], and Transverse Mercator [1]
projections in order to minimize areal distortion. Provide a new
scale-factor or leave as default.
PS_CHAR_ENCODING
(static) Names the eight bit character set being used for text in
files and in command line parameters. This allows GMT to ensure
that the PostScript output generates the correct characters on the
plot.. Choose from Standard, Standard+, ISOLatin1, ISOLatin1+, and
ISO-8859-x (where x is in the ranges [1,10] or [13,15]). See
Appendix F for details [ISOLatin1+ (or Standard+)].
PS_COLOR_MODEL
Determines whether PostScript output should use RGB, HSV, CMYK, or
GRAY when specifying color [rgb]. Note if HSV is selected it does
not apply to images which in that case uses RGB. When selecting
GRAY, all colors will be converted to gray scale using YIQ
(television) conversion.
(* -c) Number of plot copies to make [1].
PS_IMAGE_COMPRESS
Determines if PostScript images are compressed using the Run-Length
Encoding scheme (rle), Lempel-Ziv-Welch compression (lzw), DEFLATE
compression (deflate[,level]), or not at all (none) [lzw]. When
specifying deflate, the compression level (1–9) may optionally be
PS_LINE_CAP
Determines how the ends of a line segment will be drawn. Choose
among a butt cap (default) where there is no projection beyond the
end of the path, a round cap where a semicircular arc with
diameter equal to the line-width is drawn around the end points, and
square cap where a half square of size equal to the line-width
extends beyond the end of the path [butt].
PS_LINE_JOIN
Determines what happens at kinks in line segments. Choose among a
miter join where the outer edges of the strokes for the two
segments are extended until they meet at an angle (as in a picture
if the angle is too acute, a bevel join is used instead, with
threshold set by PS_MITER_LIMIT), round join where a
circular arc is used to fill in the cracks at the kinks, and bevel
join which is a miter join that is cut off so kinks are triangular in shape [miter].
Sets the physical format of the current plot paper [a4 (or letter)].
The following formats (and their widths and heights in points) are
recognized (Additional site-specific formats may be specified in the
gmt_custom_media.conf file in $GMT_SHAREDIR/conf or ~/.
see that file for details):
Media width height
A3 842 1190
A4 595 842
A5 421 595
A6 297 421
A7 210 297
A8 148 210
A9 105 148
A10 74 105
B4 709 1002
B5 501 709
archA 648 864
archB 864 1296
flsa 612 936
halfletter 396 612
statement 396 612
note 540 720
letter 612 792
legal 612 1008
11x17 792 1224
tabloid 792 1224
For a completely custom format (e.g., for large format plotters) you
may also specify WxH, where W and H are in points unless you append
a unit to each dimension (c, i, m or p [Default]).
PS_MITER_LIMIT
Sets the threshold angle in degrees (integer in range [0,180]) used
for mitered joins only. When the angle between joining line segments
is smaller than the threshold the corner will be bevelled instead of
mitered. The default threshold is 35 degrees. Setting the threshold
angle to 0 implies the PostScript default of about 11 degrees.
Setting the threshold angle to 180 causes all joins to be beveled.
PS_PAGE_COLOR
Sets the color of the imaging background, i.e., the paper [white].
PS_PAGE_ORIENTATION
(* -P) Sets the orientation of the page. Choose portrait or
landscape [landscape].
PS_SCALE_X
Global x-scale (& 0) to apply to plot-coordinates before plotting.
Normally used to shrink the entire output down to fit a specific
height/width [1.0].
PS_SCALE_Y
Global y-scale (& 0) to apply to plot-coordinates before plotting.
Normally used to shrink the entire output down to fit a specific
height/width [1.0].
PS_TRANSPARENCY
Sets the transparency mode to use when preparing PS for rendering to
PDF. Choose from Color, ColorBurn, ColorDodge, Darken, Difference,
Exclusion, HardLight, Hue, Lighten, Luminosity, Multiply, Normal,
Overlay, Saturation, SoftLight, and Screen [Normal].
Navigation}

我要回帖

更多关于 HH 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信