NMRWish Built-In TCL Functions
drawSettings: Adjust the parameters for drawing in the spectral graphics area of the screen or PostScript page.
Flag |
Argument |
Default |
Description |
-reset |
|
|
Restore Default Settings. |
-screen |
|
|
Screen Graphics ON (default). |
-page |
|
|
Hardcopy Graphics ON. |
TCL/TK Graphics Window Arguments:
-win |
wID |
1 |
Canvas Window ID. |
-update |
|
|
Flush graphics after drawing. |
-noupdate |
|
|
Don`t flush graphics after drawing. |
Graphics Size and Justification:
-xOff |
xOff |
0.0 |
Additional X Offset. Default Unit is Character Size. |
-yOff |
yOff |
0.0 |
Additional Y Offset. Default Unit is Character Size. |
-lw1d |
lw |
0 |
Pixel Width for 1D Screen Drawing. |
-lwZero |
lw |
0 |
Pixel Width for Zero Line Drawing. |
-thick |
|
|
Use thick line width. |
-thin |
|
|
Use thin line width. |
-big |
|
|
Use larger Font Size. |
-small |
|
|
Use smaller Font Size. |
-left |
|
|
Left-Justify (Default). |
-right |
|
|
Right-Justify (Hard-Copy Only). |
-center |
|
|
Centered (Hard-Copy Only). |
-rotate |
deg |
0.0 |
Rotation, Degrees (Hard-Copy Only). |
Graphics Coords In Terms of ROI Spectral Location:
-roiX |
roiXID |
|
ROI ID for Graphic X Coord. |
-roiY |
roiYID |
|
ROI ID for Graphic Y Coord. |
-roiRef |
roiID |
|
Sets Both -roiX and -roiY. |
-fold |
|
|
Use Folding of Coords (Default). |
-nofold |
|
|
No Folding of Coords. |
Graphics Coords In Terms of Existing Cell:
-cellX |
cellXID |
|
Cell ID for Graphic X Coord. |
-cellY |
cellYID |
|
Cell ID for Graphic Y Coord. |
-cell |
cellID |
|
Sets Both -cellX and -cellY. |
-clip |
|
|
Clip to Extent of Cell. |
-noclip |
|
|
No Clipping. |
Bounding Box:
-box |
|
|
Draw Bounding Box. |
-nobox |
|
|
No Bounding Box. |
Hard Copy Plot Settings:
-plotName |
pName |
roi.ps |
PostScript Output Name. |
-plotCmnd |
pCmnd |
echo |
Printing Command. |
-plotFont |
pFont |
Helvetica |
Font Name. |
Hard Copy Color Use:
-color |
|
|
Color PostScript. |
-gray |
|
|
Grayscale (Default). |
-bw |
|
|
Solid Black/White Only. |
Paper Type and Orientation:
-paper |
pType |
A |
Paper Type (see below). |
-tray |
tNum |
0 |
Paper Tray. |
-landscape |
|
|
Landscape (default). |
-portrait |
|
|
Portrait. |
Paper Size-to-Pixel Conversion (Use Only One):
-ppi |
ppiVal |
720 |
Pixels per inch. |
-ppc |
ppcVal |
283 |
Pixels per centimeter. |
Accessible Page Limits, in Units of inches, cm, or mm:
-pageX1 |
px1 |
1/8 |
Page Limit X1. |
-pageY1 |
py1 |
1/8 |
Page Limit Y1. |
-pageX3 |
px3 |
pWi - 1/8 |
Page Limit X3. |
-pageY3 |
py3 |
pHi - 1/8 |
Page Limit Y3. |
Hard Copy Font Sizes, in Units of inches, cm, or mm:
-c1Width |
ch1w |
0.10in |
Regular Font Width. |
-c1Height |
ch1h |
0.14in |
Regular Font Height. |
-c2Width |
ch1w |
0.14in |
Large Font Width. |
-c2Height |
ch1x |
0.20in |
Large Font Height. |
Line Thickness, in Printer Points:
-lw1 |
lw1 |
0.1 |
Thin linewidth (grids). |
-lw2 |
lw2 |
1.0 |
Thick linewidth (boxes). |
-lwPlus |
lwp |
0.1 |
Positive contour width. |
-lwMinus |
lwm |
1.0 |
Negative contour width. |
Paper Size (Set Automatically by Paper Type/Orientation):
-pageWidth |
pWi |
11.0in |
Page Width. |
-pageHeight |
pHi |
8.5in |
Page Height. |
Paper Types:
Size A1 59.40 x 84.10 cm
Size A2 42.00 x 59.40 cm
Size A3 29.70 x 42.00 cm
Size A4 21.00 x 29.70 cm
Size A5 14.80 x 21.00 cm
Size A6 10.50 x 14.80 cm
Size A7 7.40 x 10.50 cm
Size A 8.50 x 11.00 inches
Size B 11.00 x 17.00 inches
Size C 17.00 x 22.00 inches
Size D 22.00 x 34.00 inches
Size E 34.00 x 44.00 inches
Size U 10.00 x 10.00 inches
Color and Overlay Options:
-fg |
fgClr |
yellow |
Foreground Color Name. |
-bg |
bgClr |
none |
Background Color Name. |
-mask |
mVal |
-1 |
Plane Mask. -1=All Planes. |
-x11GX |
xID |
copy |
X11 Draw Mode ID/Keyword. |
ROI Drawing Color Parameters:
-color1 |
pClr |
Multi |
Color for Positive Levels. |
-color2 |
nClr |
Multi |
Color for Negative Levels. |
-colorA |
aClr |
yellow |
Color for Axis Text Drawing. |
-colorS |
sClr |
black |
Color for Axis Text Shadow. |
-colorG |
gClr |
dimGray |
Color for Grid Drawing. |
-plane |
|
0 |
Overlay Plane to Use. |
1D Drawing with Color Fill:
-fillColor1 |
fc1 |
-1 |
Positive Fill Color |
-fillColor2 |
fc2 |
-1 |
Negative Fill Color |
-fillColor |
fc |
-1 |
Sets Both Fill Colors. |
Positive Level HSV Color Vector:
-pcc |
pCount |
10 |
Positive Color Count. |
-pHue1 |
hue |
0.5] First Hue [0-1 |
. |
-pHueN |
hue |
0.7] Last Hue [0-1 |
. |
-pSat1 |
saturation |
0.8] First Saturation [0-1 |
. |
-pSatN |
saturation |
1.0] Last Saturation [0-1 |
. |
-pVal1 |
value |
1.0] First Value [0-1 |
. |
-pValN |
value |
1.0] Last Value [0-1 |
. |
Negative Level HSV Color Vector:
-ncc |
nCount |
10 |
Negative Color Count. |
-nHue1 |
hue |
0.5] First Hue [0-1 |
. |
-nHueN |
hue |
0.7] Last Hue [0-1 |
. |
-nSat1 |
saturation |
0.8] First Saturation [0-1 |
. |
-nSatN |
saturation |
1.0] Last Saturation [0-1 |
. |
-nVal1 |
value |
1.0] First Value [0-1 |
. |
-nValN |
value |
1.0] Last Value [0-1 |
. |
Arguments for Report Generation:
-noverb |
|
|
Verbose Mode Off. |
-verb |
|
|
Verbose Mode On. |
|
|