Navigation:  Programmer's Reference > Executing DPlot commands from another application >

GrainSizeFlags macro command

Print this Topic Previous pageReturn to chapter overviewNext page

Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [     ]. Macro commands should not include the brackets.

Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values or character strings; character string parameters are always bound by double quotation marks.

All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.

A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.

JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.


 

[GrainSizeFlags(flags)]

JR   Viewer

Controls the appearance of a grain size distribution plot. flags is a combination of:

0x00000001Specify sieve size labels. If this bit is not set, bits 1 through 27 are ignored and all of the sieve sizes mentioned below will be drawn (if they will fit on the plot without overlapping and the plot extents include the given size)

Bits 1-27 specify which sieve size labels to draw, dependent on bit 0x40000000 (British sizes, see below).

bit

U.S. sizes

British sizes

0x00000002

6 inch

125 mm

0x00000004

4 inch

75 mm

0x00000008

3 inch

63 mm

0x00000010

2 inch

50 mm

0x00000020

1-1/2 inch

37.5 mm

0x00000040

1 inch

28 mm

0x00000080

3/4 inch

20 mm

0x00000100

1/2 inch

14 mm

0x00000200

3/8 inch

10 mm

0x00000400

#3

8 mm

0x00000800

#4

6.3 mm

0x00001000

#6

5 mm

0x00002000

#8

3.35 mm

0x00004000

#10

2.36 mm

0x00008000

#12

2 mm

0x00010000

#16

1.7 mm

0x00020000

#20

1.18 mm

0x00040000

#30

0.850 mm

0x00080000

#40

0.600 mm

0x00100000

#50

0.425 mm

0x00200000

#60

0.300 mm

0x00400000

#70

0.250 mm

0x00800000

#100

0.212 mm

0x01000000

#140

0.150 mm

0x02000000

#200

0.125 mm

0x04000000

#270

0.075 mm

0x08000000

#400

0.063 mm

0x10000000Draw bold vertical lines at material-type boundaries
0x20000000Use Udden-Wentworth scale rather than AASHTO scale
0x40000000Use British standard sieve sizes rather than U.S. sizes.
0x80000000X axis increases from left-to-right.

 

 


Page url: http://www.dplot.com/help/index.htm?grainsizeflagscommand.htm