📄 pgraph.dec
字号:
2 Line in inch coordinates
3 Line in pixel coordinates
4 Circle in plot coordinates
5 Circle in inch coordinates
6 Radius in plot coordinates
7 Radius in inch coordinates
[N,2] line type, 1-6
[N,3-7] coordinates and dimensions
( 1 ) Line in plot coordinates.
[N,3] x starting point in plot coordinates
[N,4] y starting point in plot coordinates
[N,5] x ending point in plot coordinates
[N,6] y ending point in plot coordinates
[N,7] 0=continuation, 1=begin new curve
( 2 ) Line in inch coordinates
[N,3] x starting point in inches
[N,4] y starting point in inches
[N,5] x ending point in inches
[N,6] y ending point in inches
[N,7] 0=continuation, 1=begin new curve
( 3 ) Line in pixel coordinates
[N,3] x starting point in pixels
[N,4] y starting point in pixels
[N,5] x ending point in pixels
[N,6] y ending point in pixels
[N,7] 0=continuation, 1=begin new curve
( 4 ) Circle in plot coordinates
[N,3] x center of circle in plot coordinates
[N,4] y center of circle in plot coordinates
[N,5] radius in plot coordinates
[N,6] starting point of arc in radians
[N,7] ending point of arc in radians
( 5 ) Circle in inches
[N,3] x center of circle in inches
[N,4] y center of circle in inches
[N,5] radius in inches
[N,6] starting point of arc in radian
[N,7] ending point of arc in radians
( 6 ) Radius in plot coordinates
[N,3] x center of circle in plot coordinates
[N,4] y center of circle in plot coordinates
[N,5] beginning point of radius in plot coord.
[N,6] ending point of radius
[N,7] angle in radians
( 7 ) Radius in inches
[N,3] x center of circle in inches
[N,4] y center of circle in inches
[N,5] beginning point of radius in inches
[N,6] ending point of radius
[N,7] angle in radians
[N,8] color 1-15
[N,9] line thickness
Examples:
Draw a solid, red line in plot coordinates:
_pline = { 1 6 10 20 100 200 1 4 0 }
Draw a thick, solid, red line in inches:
_pline = { 2 6 1.0 2.0 3.0 4.5 1 4 5 }
Draw a thick, dashed, green circle in inches centered at 1,2
with a radius of 1.5":
_pline = { 5 1 1.0 2.0 1.5 0 6.28 2 5 }
_PLINE3D Draw Line in 3D coordinate system
[M,1] x starting location in 3D plot coordinate units
[M,2] y starting location in 3D plot coordinate units
[M,3] z starting location in 3D plot coordinate units
[M,4] x ending location in 3D plot coordinate units
[M,5] y ending location in 3D plot coordinate units
[M,6] z ending location in 3D plot coordinate units
[M,7] color (1-15)
[M,8] line type
[M,9] line thickness
[M,10] Hidden line flag. 1=obscured by surface, 0=Off.
Example: _pline3d = { 10 10 10 20 20 20 10 6 0 0 }
_PMSGCTL Print extra messages. Message strings specified in _PMSGSTR.
[M,1] x location of message
[M,2] y location of message
[M,3] character height in inches
[M,4] angle in degrees to print string (-180 to 180)
[M,5] X,Y coordinate units: 1=plot coord, 2=inches
[M,6] color
[M,7] line thickness.
Example: _pmsgctl = { 10 20 .12 0 1 10 0,
10 30 .12 0 1 10 0 }
_PMSGSTR Message strings corresponding to _pmsgctl. Strings are
separated by a null byte ("\000")
Example: _pmsgstr = "First message\000Second message"
_PNUM Global _PNUM, previously a scalar for turning axes number
labels on/off, is now a scalar, 2x1 or 3x1 vector for
independent control for each axis. If scalar, the vector will
be expanded to that value.
Examples:
_pnum = 0; - turn off numbers for all axes
_pnum = 1; - turn on numbers for all axes
_pnum = {1,0} - turn on numbers for X axis, off for Y
_pnum = {0,0,1} - turn on numbers for Z axis, off for X,Y
_PSYM Plot Extra Symbols
[M,1] x location
[M,2] y location
[M,3] symbol type (1-16)
[M,4] symbol height (see _PSYMSIZ below)
[M,5] symbol color (1-15)
[M,6] X,Y coordinate units: 1=plot coord, 2=inches
[M,7] line thickness.
Example: _psym = { 10 20 1 5 10 1 0 }
_PSYMSIZ Size of symbols on main curve. The symbols have been
redefined in higher resolution for better quality laser
printer output. The default value is 3.5.
_PSYM3D Plot Extra Symbols on 3D Graph
[M,1] x location in plot coordinate units
[M,2] y location in plot coordinate units
[M,3] z location in plot coordinate units
[M,4] symbol type (1-16)
[M,5] symbol height
[M,6] symbol color (1-15)
[M,7] line thickness.
Example: _psym3d = { 10 20 1 5 10 1 0 }
_PTEK Name the Tektronix formatted graphics file.
If this is set to a null string, no file will be created.
Otherwise set this to the desired name for the graphics file.
You should include .TKF within the filename.
Examples:
_ptek = "test.tkf"; * name the graphics file test.tkf *
_ptek = ""; * do not create a graphics file *
*/
/* version number */
declare matrix _pqg_ver = { 3, 2, 3 };
/* global common to all graph types */
declare matrix _pagedim = { 9.0, 6.855 };
declare matrix _pappend = 0;
declare matrix _parrow = 0;
declare matrix _parrow3 = 0;
declare matrix _pascx = 0;
declare matrix _pascy = 0;
declare matrix _paxes = 1;
declare matrix _paxht = 0;
declare matrix _paxmarx = 0;
declare matrix _pbox = 0;
declare matrix _pcrop = { 1 1 1 1 1 };
declare matrix _pcolor = 0;
declare matrix _pcross = 0;
declare matrix _pcwin = 0;
declare matrix _pncwin = 0;
declare matrix _pcsel = { 10 11 12 13 14 9 15 };
declare matrix _perrbar = 0;
declare matrix _pfonts = { "simplex" };
declare matrix _pframe = { 1,1 };
declare matrix _pgrid = 0;
declare matrix _plctrl = 0;
declare matrix _pline = 0;
declare matrix _plotsiz = 0;
declare matrix _plotshf = 0;
declare matrix _pageshf = 0;
declare matrix _pagesiz = 0;
declare matrix _plegctl = 0;
declare matrix _plsel = { 6 1 2 3 4 5 };
declare matrix _pltype = 0;
declare matrix _plwidth = 0;
declare matrix _pmargin = { 0 0 0 0 };
declare matrix _pmcolor = 15;
declare matrix _pmsgctl = 0;
declare matrix _pnotify = 1;
declare matrix _pnum = 1;
declare matrix _pnumht = 0;
declare matrix _protate = 0;
declare matrix _pqgplay = 0;
declare matrix _pqgtype = 0;
declare matrix _pscreen = 1;
declare matrix _psilent = 1;
declare matrix _pssel = { 1 2 3 4 5 6 7 8 };
declare matrix _pstype = 0;
declare matrix _psym = 0;
declare matrix _psymsiz = 3.5;
declare matrix _ptitlht = 0;
declare matrix _pworld = 0;
declare matrix _pxpmax = 12;
declare matrix _pxscale = 0;
declare matrix _pypmax = 12;
declare matrix _pyscale = 0;
declare matrix _pwindmx = 0;
declare matrix _pwindno = 0;
declare matrix _pfirstw = 0;
declare matrix _pxmem = 0;
declare matrix _pxsci = 4;
declare matrix _pysci = 4;
declare matrix _pzsci = 4;
declare matrix _pzclr = 13;
declare matrix _pzoom = { 0 5 5 };
declare string _pcmdlin = "";
declare string _pcvfile = "";
declare string _pdate = "\201GAUSS ";
declare string _phard = "";
declare string _plegstr = "";
declare string _pmsgstr = "";
declare string _prtfile = "";
declare string _ptek = "graphic.tkf";
declare string _ptitle = "";
declare string _pversno = "3.2.1";
declare string _pxfmt = "";
declare string _pxlabel = "";
declare string _pyfmt = "";
declare string _pylabel = "";
declare matrix _pqgedit = 0;
declare matrix _pmnr = { 1 2 5 10, 1 2 10 20, 1 2 5 10, 1 5 10 10, 1 2 5 10 };
declare matrix _pmjr = { 1 2 4 5 10 };
declare matrix _poptic = 16;
declare matrix _pmtic = 8;
/* bar globals */
declare matrix _pbarwid = 0.5;
declare matrix _pbartyp = { 6 7 };
/* box globals */
declare matrix _pboxctl = { .25 10 1 };
declare matrix _pboxlim = 0;
/* 3d globals */
declare matrix _pbox3d = 0;
declare matrix _psym3d = 0;
declare matrix _pline3d = 0;
declare matrix _psurf = { 0, 7 };
declare matrix _pview = { 1, -4, -3, 3 };
declare matrix _pvolume = 0;
declare matrix _pticout = 0;
declare string _pzlabel = "";
declare matrix _pzpmax = 12;
declare matrix _pzscale = 0;
declare string _pzfmt = "";
/* contour globals */
declare matrix _plev = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -