Macro Command Reference
ptext <text> <AUTOTEXTPOS> [angle] [offset] [COLOR]
[AUTOTEXTPOS]
: The position for automatically positioned text label.
[angle]
: The text angle (can be 0, 90, 180 or 270).
[offset]
: Offset for automatically positioned text label.
[COLOR]
: The text color as hexadecimal string.
AUTOTEXTPOS
A parameter wich defines the alignment of different objects, possible values:
outsidetopleft<BR>otl<BR>10 | outsidetopcenter<BR>otc<BR>11 | outsidetopright<BR>otr<BR>12 | ||
outsidelefttop<BR>olt<BR>21 | topleft<BR>tl<BR>1 | topcenter<BR>tc<BR>2 | topright<BR>tr<BR>3 | outsiderighttop<BR>ort<BR>13 |
outsideleftcenter<BR>olc<BR>20 | centerleft<BR>cl<BR>4 | center<BR>c<BR>5 | centerright<BR>cr<BR>6 | outsiderightcenter<BR>orc<BR>14 |
outsideleftbottom<BR>olb<BR>19 | bottomleft<BR>bl<BR>7 | bottomcenter<BR>bc<BR>8 | bottomright<BR>br<BR>9 | outsiderightbottom<BR>orb<BR>15 |
outsidebottomleft<BR>obl<BR>18 | outsidebottomcenter<BR>obc<BR>17 | outsidebottomright<BR>obr<BR>16 |
COLOR
This can be a hexadecimal color definition in the format RGB, ARGB, RRGGBB or AARRGGBB where R is red, G is green, B is blue and A is alpha.
There are also named colors which can be used: black, white, red, green, blue, orange, yellow, magenta, cyan, aluminum, aqua, asparagus, banana, blueberry, bubblegum, cantaloupe, carnation, cayenne, clover, eggplant, fern, flora, grape, honeydew, ice, iron, lavender, lead, lemon, licorice, lime, magnesium, maraschino, maroon, mercury, midnight, mocha, moss, nickel, ocean, orchid, plum, salmon, seafoam, silver, sky, snow, spindrift, spring, steel, strawberry, tangerine, teal, tin, tungsten, turquoise
The Plot default colors can be addressed with the numbers 0-15