/usr/share/slsh/local-packages/help/slxfig.hlp is in slang-xfig 0.2.0~.117-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 | <xfig_object>.justify
SYNOPSIS
Justify an object at a specified position
USAGE
<xfig_object>.justify (Vector_Type X [, Vector_Type dX]);
% or
<xfig_object>.justify (XFig_Object o [, Vector_Type dX]);
SEE ALSO
xfig_justify_object
--------------------------------------------------------------
<xfig_object>.render
SYNOPSIS
Render an xfig object to a file.
USAGE
<xfig_object>.render(String_Type filename);
% or
<xfig_object>.render(Struct_Type dev);
DESCRIPTION
If the argument is a `filename' string,
the file is created through `xfig_create_file',
and the `<xfig_object>' is rendered.
`xfig_close_file' finally closes the file
and runs Xfig's `fig2dev' program on it.
QUALIFIERS
; depth=intarray: if specified, only objects of these depths are rendered
; verbose=intval: if >=0, the fig2dev command is displayed
; fig=0|1: if 0 (default), the .fig file will be removed, otherwise kept
SEE ALSO
xfig_set_verbose
--------------------------------------------------------------
<xfig_object>.scale
SYNOPSIS
Scale an xfig object
USAGE
<xfig_object>.scale (s);
% or
<xfig_object>.scale (sx, sy[, sz]]);
DESCRIPTION
If the `.scale' method is called with one argument `s',
the object is scaled by `s' in all directions.
If two (three) arguments `sx', `sy' (and `sz') are given,
x, y (and z) coordinates are scaled differently.
--------------------------------------------------------------
pict.rotate_pict
USAGE
pict.rotate_pict (theta_degrees);
DESCRIPTION
A picture object can only be rotated by multiples of 90 degrees.
--------------------------------------------------------------
xfig_add_latex_package
SYNOPSIS
Load a package in the preamble of latex documents.
USAGE
xfig_add_latex_package (String_Type package[, package2, ...]);
QUALIFIERS
; prepend: `package' is inserted before previous packages
DESCRIPTION
Options can be added to `package' in square brackets:
EXAMPLE
xfig_add_latex_package("fontenc[T1]", "mathpazo[osf]");
--------------------------------------------------------------
xfig_center_pict_in_box
SYNOPSIS
Center a pict object in a box
USAGE
xfig_center_pict_in_box (pict_object, X, dx, dy
DESCRIPTION
This function takes a pict object and centers it in a box whose width
is `dx' and whose height is `dy'. The vector `X' denotes the
position of the lower-left corner of the box. If the pict object is too
big to fit in the box, then its lower-left corner will coincide with the
lower-left corner of the box.
SEE ALSO
xfig_translate_object
--------------------------------------------------------------
xfig_clip_polyline2d
SYNOPSIS
Clip a list of 2d line segments
USAGE
list = xfig_clip_polyline2d (x[], y[], xmin, xmax, ymin, ymax)
DESCRIPTION
This function clips a polyline composed individual line segments that run from
(x_i,y_i) to (x_{i+1},y_{i+1}) at the boundaries of the window defined by the
`xmin', `xmax', `ymin', and `ymax' parameters. The result
is returned as an xfig polyline object.
NOTES
This function should be used if the order of the line segments does not matter.
Otherwise, the `xfig_clip_polygon2d' function should be used.
SEE ALSO
xfig_clip_polygon2d, xfig_new_polyline_list
--------------------------------------------------------------
xfig_compound.append
SYNOPSIS
Append one or more xfig objects to a compound
USAGE
xfig_compound.append(<xfig_object> o[, ...]);
SEE ALSO
xfig_compound.insert
--------------------------------------------------------------
xfig_compound.insert
SYNOPSIS
Insert one or more xfig objects to a compound
USAGE
xfig_compound.insert(<xfig_object> o[, ...]);
SEE ALSO
xfig_compound.append
--------------------------------------------------------------
xfig_create_arrow
SYNOPSIS
Create a new arrow shape for a polyline object
DESCRIPTION
`xfig_create_arrow' creates a structure that can be used
for polyline objects, e.g., with xfig_new_polyline.
All information are passed via qualifiers.
QUALIFIERS
; arrow_type: shape of arrow heads (values from 0 to 14), e.g.,
XFIG_ARROWTYPE_{STICK,TRIANGLE,INDENTED,POINTED}
and others (default: XFIG_ARROWTYPE_INDENTED==2)
; arrow_style: XFIG_ARROWSTYLE_{HOLLOW,FILLED}, i.e., 0 or 1;
indicating a filling with white or with the pen color
for `0 < arrow_type < 13' (default: 1)
; arrow_thickness: (default: 1)
; arrow_width: (default: 4)
; arrow_height: (default: 8)
EXAMPLE
% using the same (simple) shape for forward and backward arrow,
% implicitly calling xfig_create_arrow (twice):
variable
a1 = xfig_new_polyline([0,4], [0,3]
; forward_arrow, backward_arrow,
arrow_type=0, arrow_style=0);
% explicitly calling xfig_create_arrow, in order to use
% different shapes for forward and backward arrow:
variable
forw_arr = xfig_create_arrow(; arrow_type= 0, arrow_style=0),
back_arr = xfig_create_arrow(; arrow_type=13, arrow_style=1),
a2 = xfig_new_polyline([1,5], [1,4]
; forward_arrow=forw_arr,
backward_arrow=back_arr);
SEE ALSO
xfig_new_polyline
--------------------------------------------------------------
xfig_ellipse.rotate
USAGE
xfig_ellipse.rotate([Vector_Type axis,] Double_Type theta);
DESCRIPTION
If no `axis' is given, the ellipse is rotated
in the x-y-plane around `axis = vector(0,0,1)'.
The rotation angle `theta' is measured in radians.
--------------------------------------------------------------
xfig_get_color_names
SYNOPSIS
Get a list color names
USAGE
Array_Type xfig_get_color_names ()
DESCRIPTION
This function returns an array of strings giving the available color
names. This list includes the Xfig color names, user-defined
colors, and the W3C color names.
SEE ALSO
xfig_new_color, xfig_list_colors, xfig_lookup_w3c_color
--------------------------------------------------------------
xfig_get_eye
SYNOPSIS
Obtain the point from which the projection of 3d space is seen
USAGE
Vector_Type xfig_get_eye ()
SEE ALSO
xfig_set_eye
--------------------------------------------------------------
xfig_get_eye_roll
SYNOPSIS
Obtain the roll angle under which the projection of 3d space is seen
USAGE
Double_Type xfig_get_eye_roll ()
DESCRIPTION
The roll angle is measured in degrees.
SEE ALSO
xfig_set_eye_roll, xfig_set_eye
--------------------------------------------------------------
xfig_get_focus
SYNOPSIS
Obtain the focus point of the projection of 3d space
USAGE
Vector_Type xfig_get_focus ()
SEE ALSO
xfig_set_focus
--------------------------------------------------------------
xfig_get_latex_preamble
USAGE
String_Typer xfig_get_latex_preamble ()
SEE ALSO
xfig_set_latex_preamble
--------------------------------------------------------------
xfig_justify_object
SYNOPSIS
Justify an object at a specified position
USAGE
xfig_justify_object (XFig_Object obj, Vector_Type X [, Vector_Type dX]);
% or
xfig_justify_object (XFig_Object obj, XFig_Object o [, Vector_Type dX]);
DESCRIPTION
This function moves the object to the specified position `X' (a vector)
and justifies it at that position according to the offsets specified by
the vector `dX'. The components of `dX' are normally in the
range -0.5 to 0.5 and represent offsets relative to the size of the object.
If the components of `dX' are 0, then the object will be centered at `X'.
Alternatively, the second argument may be an XFig object `o' itself.
The position vector `X' is then determined from the position of `o'
and the justification vector `dX': `obj' will be justified relative
to the outer boundary of `o', unless the `inside' qualifier is set,
in which case it will be justified relative to the inner boundary.
QUALIFIERS
; inside: justify `obj' relative to the inner boundary of `o'
EXAMPLE
For `dX = vector (0,0,0)':
the object `obj' will be justified concentrically with `o'.
For `dX = vector (0,-0.5,0)' (i.e., `obj' will be horizontally
centered and vertically aligned at its lower baseline): `X' is
the horizontal center of the upper vertical baseline of `o'
such that `obj' will be placed on top of `o'.
For `dX = vector (0,-0.5,0)', together with the `inside' qualifier:
`X' is the horizontal center of the lower vertical baseline of `o'
such that `obj' will be coaligned with `o' at their lower baselines.
SEE ALSO
<xfig_object>.justify, <xfig_object>.get_bbox, <xfig_object>.translate
--------------------------------------------------------------
xfig_lookup_w3c_color (name)
SYNOPSIS
Lookup an RGB value for an W3C color name
USAGE
rgb = xfig_lookup_w3c_color (name)
DESCRIPTION
This function may be used to lookup the RGB value for a specified
W3C color name. If the W3C rgb.txt file could not be loaded, or
the color name does not exist within he file, NULL will be returned.
The primary purpose of this function is to provide a mechanism for
overriding Xfig color values with those defined by W3C.
EXAMPLE
Xfig uses 0x00FF00 for green, whereas W3C defines 0x008000. Use the
W3C value:
xfig_new_color ("green", xfig_lookup_w3c_color ("green"));
SEE ALSO
xfig_new_color, xfig_list_colors, xfig_get_color_names
--------------------------------------------------------------
xfig_make_font
SYNOPSIS
Create a font structure used by SLxfig's LaTeX interface
USAGE
Struct_Type xfig_make_font ([String_Type style, size, color])
QUALIFIERS
; style: (default: "\bf\boldmath"R)
; size: (default: "\normalsize"R)
; color: (default: "black")
DESCRIPTION
If `color' is a string, it is considered to be
a named color from the SLxfig color interface.
Alternatively, `color' can be an integer number,
representing the color's RGB value.
`style', `size', `color' arguments different from `NULL'
overwrite qualifier values.
SEE ALSO
xfig_new_text
--------------------------------------------------------------
xfig_meshgrid
SYNOPSIS
Produce grid points for an image
USAGE
(xx,yy) = xfig_meshgrid (xx, yy)
DESCRIPTION
This function takes two 1-d vectors representing the orthogonal
grids for a rectangular region in the (x,y) plane and returns two
2-d arrays corresponding to the (x,y) coordinates of each
intersecting grid point.
Suppose that one wants to evaluate a
function `f(x,y)' at each point defined by the two grid
vectors. Simply calling `f(x,y)' using the grid vectors would
lead to either a type-mismatch error or produce a 1-d result. The
correct way to do this is to use the `xfig_meshgrid' function:
result = f(xfig_meshgrid(x,y));
--------------------------------------------------------------
xfig_multiplot
SYNOPSIS
Create a multiplot from individual panels that share the same x-axes
USAGE
compound = xfig_multiplot (xfig_plot p1[], p2[], ...);
QUALIFIERS
; cols=intval: number of columns (default: 1)
; title=strval: overall title on top of the multiplot
; xlabel=strval: overall xlabel below the multiplot
; x2label=strval: overall x2label on top of the multiplot
; ylabel=strval: overall ylabel left of the multiplot
; y2label=strval: overall y2label right of the multiplot
; align_ylabels=intval: bitmask for aligning all y{1,2}axis-labels (default: 1|2)
DESCRIPTION
`p1', `p2', ... can be single plot objects or arrays of them.
`xfig_multiplot' arranges a multi-panel plot with `cols' columns.
The plot windows are aligned in left-right, top-down order.
`xfig_multiplot' switches off titles, axis- and ticmark labels
of those plots for which those would overlap with other plots. It
is thus be desirable to have common sizes of the plot windows, as
well as common ranges and coordinate systems on adjoining axes.
This is particularly important if when more than one column is
used.
The return value is a compound object containing all plots in the
multiplot (note that their number has to be a multiple of `cols').
If the `title' or `x(2)label' qualifiers are specified and `cols>1',
additional text objects are added above and below the multiplot.
(For `cols==1', the title/x(2)label of the first/last plot are set.)
The same holds for the `y(2)label' qualifiers, for which it depends
on the resulting number of rows whether additional text is added
on the left or right of the multiplot or whether the corresponding
labels of the first or last plot are set (possibly overwritten).
--------------------------------------------------------------
xfig_new_color
SYNOPSIS
Add a new color definition
USAGE
xfig_new_color (name, RGB [,&id]
DESCRIPTION
This function may be used to add a new color called `name'
with the specified RGB (24 bit integer) value. If the optional
third parameter is provided, it must be a reference to a variable
whose value upon return will be set to the integer index of the color.
NOTES
Color names are converted to a canonical form by removing whitespace
from the name and converting it to lowercase. This means that
`"OffWhite"', `"offwhite"', and `"off White"' are all
equivalent.
SEE ALSO
xfig_lookup_color_rgb, xfig_lookup_color
--------------------------------------------------------------
xfig_new_compound
SYNOPSIS
Create an XFig compound list
USAGE
c = xfig_new_compound ([obj1, obj2, ...]);
DESCRIPTION
An empty compound list is created with `xfig_new_compound_list'.
All arguments passed to the `xfig_new_compound' function
are inserted in the newly created list.
SEE ALSO
xfig_new_vbox_compound, xfig_new_hbox_compound
--------------------------------------------------------------
xfig_new_ellipse
SYNOPSIS
Create a new ellipse object
USAGE
XFig_Ellipse_Type xfig_create_ellipse (Double_Type a [, b])
QUALIFIERS
; line: line style (default: 0)
; width: line width (default: 1)
; color: line color (default: -1)
; fillcolor: (default: -1)
; areafill: darkness or pattern (default: -1 or 20, depending on `fillcolor')
; depth: XFig depth (default: 50)
; x0: x-position (default: 0)
; y0: y-position (default: 0)
; z0: z-position (default: 0)
--------------------------------------------------------------
xfig_new_eps
SYNOPSIS
Create an SLxfig picture object from an eps file
USAGE
obj = xfig_new_eps(String_Type filename);
QUALIFIERS
All qualifiers are passed to the `xfig_new_pict' function.
SEE ALSO
xfig_new_pict
--------------------------------------------------------------
xfig_new_hbox_compound
SYNOPSIS
Create an XFig compound list of horizontally aligned objects
USAGE
c = xfig_new_hbox_compound (obj1, obj2 [, ...] [, space]);
DESCRIPTION
The objects `obj2', ... are translated in negative y-direction
such that all of them align horizontally according to their size.
If the last argument `space' is numeric, it indicates additional
horizontal space that is inserted between each of the objects.
QUALIFIERS
; just=val: Justifiy the objects with respect to the first.
If `val' is 0 then the objects will be centered. If val is
1, the objects will be aligned at the top. If val is -1, they will be
aligned at the bottom.
; center: Center the objects with respect to the first
SEE ALSO
xfig_new_vbox_compound, xfig_new_compound
--------------------------------------------------------------
xfig_new_legend
SYNOPSIS
Create a plot legend object
USAGE
legend = xfig_new_legend (labels[], colors[], linestyles[], thicknesses[], width);
QUALIFIERS
; areafill=intval: (default: 20)
; fillcolor=strval: (default: "white")
; labelsize=strval: (default: "large")
DESCRIPTION
The `xfig_new_legend' function creates a legend object suitable for adding
to a plot. The legend will consist of ...
--------------------------------------------------------------
xfig_new_pict
SYNOPSIS
Create an object that encapsulates an image file
USAGE
obj = xfig_new_pict(filename, width, height [; qualifiers])
DESCRIPTION
This function creates an object containing the specified image file
and scales it to the specified width an height. The resulting
object containing the image will be centered at (0,0,0).
QUALIFIERS
; depth: XFig depth
; x0: x-position (default: 0)
; y0: y-position (default: 0)
; z0: z-position (default: 0)
; just=[jx,jy]: justification (default: [0,0])
The `just' qualifier may be used to indicate how the object is
to be justified with respect to the origin. Its value must be a 2d
numeric array [dx,dy] that gives the offset of the center of the
image scaled with respect to the bounding box. Examples include:
just=[0,0] Center object upon the origin (default)
just=[-0.5,-0.5] Put the lower-left corner at the origin
just=[0.5,-0.5] Put the lower-right corner at the origin
just=[0.5,0.5] Put the upper-right corner at the origin
just=[-0.5,-0.5] Put the upper-left corner at the origin
SEE ALSO
xfig_new_text, xfig_justify_object
--------------------------------------------------------------
xfig_new_png
SYNOPSIS
Create an object that encapsulates a png image
USAGE
obj = xfig_new_png(String_Type filename);
QUALIFIERS
; depth: XFig depth
; x0: x-position (default: 0)
; y0: y-position (default: 0)
; z0: z-position (default: 0)
; just=[jx,jy]: justification (default: [0,0])
DESCRIPTION
`xfig_new_png' reads the image dimensions from the file header
and passes them to `xfig_new_pict'. See its documentation for
a detailed description of the qualifiers.
SEE ALSO
xfig_new_pict
--------------------------------------------------------------
xfig_new_polyline
SYNOPSIS
Create a new polyline object
USAGE
p = xfig_new_polyline(Vector_Type X);
% or
p = xfig_new_polyline(Array_Type x [, y [, z]]);
DESCRIPTION
If `xfig_new_polyline' is called with one `Vector_Type' argument `X',
the fields `x', `y', and `z' are expected to contain coordinate arrays
of the polyline's vertices.
These can also be specified directly as `Array_Type' arguements;
all unspecified coordinates are set to zero.
QUALIFIERS
; closed: closes the polygon by repeating the first vertex at the end
; line: line style
; width: line width
; color: line color
; fillcolor: color to fill the region inside the polyline object
; areafill: darkness or pattern (default: 20)
; depth: Xfig depth
; join: shape of the vertex of lines: MITER, ROUNDED, BEVEL
; cap: shape of end points of lines: BUTT, ROUND, PROJECTING)
; forward_arrow: see documentation of `xfig_create_arrow'
; backward_arrow: see documentation of `xfig_create_arrow'
SEE ALSO
xfig_create_arrow
--------------------------------------------------------------
xfig_new_text
SYNOPSIS
Create a text object by running LaTeX
USAGE
obj = xfig_new_text (String_Type text [,font_object])
QUALIFIERS
; extra_packages: NULL
; preamble: (default: NULL)
; color=strval: (default: "black")
; style=strval: (default: "\bf\boldmath"R)
; size=strval: (default: "\normalsize"R)
; rotate=angle: rotate text by `angle' in degrees (default: 0)
; dvi2eps_method:
; x0: x-position (default: 0)
; y0: y-position (default: 0)
; z0: z-position (default: 0)
; depth: Xfig depth
; just=[jx,jy]: justification, see `xfig_new_pict' (default: [0,0])
DESCRIPTION
This function runs LaTeX on the specified text string and returns the
resulting object. The text string must be formatted according to the LaTeX
rules. The optional parameter is a structure that may be used to specify
the font, color, pointsize, etc to use when calling LaTeX. This structure
may be instantiated using the xfig_make_font.
SEE ALSO
xfig_make_font, xfig_add_latex_package, xfig_set_latex_preamble, xfig_new_pict
--------------------------------------------------------------
xfig_new_vbox_compound
SYNOPSIS
Create an XFig compound list of vertically aligned objects
USAGE
c = xfig_new_vbox_compound (obj1, obj2 [, ...] [, space]);
DESCRIPTION
The objects `obj2', ... are translated in negative y-direction
such that all of them align vertically according to their size.
If the last argument `space' is numeric, it indicates additional
vertical space that is inserted between each of the objects.
QUALIFIERS
; just=val: Justifiy the objects with respect to the first.
If `val' is 0 then the objects will be centered. If val is
-1, the objects will be left justified. If val is +1, they will be
right justified.
; center: Center the objects with respect to the first
SEE ALSO
xfig_new_hbox_compound, xfig_new_compound
--------------------------------------------------------------
xfig_pict.scale
SYNOPSIS
Scale an xfig pict object
USAGE
xfig_pict.scale (s);
% or
xfig_pict.scale (sx, sy);
SEE ALSO
xfig_new_pict
--------------------------------------------------------------
xfig_plot--errorbars
QUALIFIERS
; eb_line=intval: line style for error bars (default: `line' qualifier)
; eb_color=intval: color of error bars (default: `color' qualifier)
; eb_width=intval: thickness of error bars (default: `width' qualifier)
; eb_depth=intval: Xfig depth of error bars (default: `depth' qualifier)
; [x,y]eb_factor=intval: terminal size of error bars (default: 0)
; [x,y]min_max: Asymmetric error bars are already min/max values.
DESCRIPTION
Asymmetric error bars are specified as lists of negative and positive errors.
If the `min_max' qualifier (or the appropriate `{x,y}min_max' qualifier) is set,
then the elements of the list are considered as minimum and maximum values.
EXAMPLE
variable xfig_plot = xfig_plot_new();
xfig_plot.world(0, 10, 0, 10);
xfig_plot.plot(1, 5, 1 ; sym="x"); % y = 5 (+-1)
xfig_plot.plot(3, 5, {2, 3}; sym="x"); % y = 5 (+3)(-2)
xfig_plot.plot(5, 5, {3, 8}; sym="x", minmax); % y = 5 [3...8] (same as above)
xfig_plot.plot(7, 5, {1, 2}, {3, 8}; sym="x", yminmax); % x = 8 (+1)(-2), but y = 5 [3...8]
SEE ALSO
xfig_plot.plot, xfig_plot.hplot
--------------------------------------------------------------
xfig_plot--initialize_plot
SYNOPSIS
Qualifiers to initialize the axes of an xfig_plot object:
QUALIFIERS
; xlog: use a logarithmic x-axis
; ylog: use a logarithmic y-axis
; loglog: use logarithmic axes
; padx: [=0.05]: fraction of xrange to be padded on both sides
; pady: [=0.05]: fraction of xrange to be padded on both sides
DESCRIPTION
The world coordinate system of an xfig_plot object
are initialized through the following functions,
unless they are already set before:
SEE ALSO
xfig_plot.plot, xfig_plot.hplot, xfig_plot.plot_png, xfig_plot.plot_pict, xfig_plot.shade_region
--------------------------------------------------------------
xfig_plot--wcs
SYNOPSIS
Qualifiers to specify a plot's world coordinate system
QUALIFIERS
; world0: use device coordinates for x- and y-axes
; world1: use first coordinate system for x- and y-axes
; world2: use second coordinate system for x- and y-axes
; world{a}{b}: use a-th WCS for x-axis and b-th WCS for y-axis, where 0 <= a, b <= 2
DESCRIPTION
If none of these qualifiers is specified, world1 is assumed.
Device coordinates (0th WCS) run from 0 to 1 along the corresponding axis.
The first or second coordinate system (1st or 2nd WCS) can be defined
with the .world(1) or .world(2) methods. (If not set before, they are
set automatically by some plot functions, see `xfig_plot--initialize_plot'.)
The WCS qualifiers apply to the following functions:
`xfig_plot.plot', `xfig_plot.hplot', `xfig_plot.shade_region',
`xfig_plot.add_object', `xfig_plot.xylabel',
`xfig_plot.get_world', `xfig_plot.xfig_coords'
SEE ALSO
xfig_plot.world, xfig_plot.world1, xfig_plot.world2, xfig_plot--initialize_plot
--------------------------------------------------------------
xfig_plot.add_object
SYNOPSIS
Add an object to a plot at a world coordinate position
USAGE
xfig_plot.add_object (obj[, x, y[, dx, dy]]);
QUALIFIERS
% qualifiers to specifiy the world coordinate system,
see `xfig_plot--wcs'
DESCRIPTION
This function may be used to add an object to a plot window at a specified
world coordinate. The `dx' and `dy' arguments control the
justification of the object. The values of these parameters are offsets
relative to the size of the object, and as such ordinarily have values
in the interval `[-0.5,0.5]'. For example, `0,0' will center
the object on `(x,y)', and `(-0.5,-0.5)' will move the lower left
corner of the object to the specified coordinate.
SEE ALSO
xfig_plot--wcs
--------------------------------------------------------------
xfig_plot.axis
USAGE
xfig_plot.axis([; qualifiers]);
QUALIFIERS
; on: draw axis, major and minor tic marks, as well as tic labels (default: on)
; off: do not draw axis, major nor minor tic marks, nor tic labels
; linear: set linear axis scale
; log: set logarithmic axis scale
; major: draw major tic marks [precedence over on/off] or array of major tic mark values
; minor: draw minor tic marks [precedence over on/off] or array of minor tic mark values
; color: color of axis, major and minor tic marks
; major_color: color of major tic marks [precedence over color]
; minor_color: color of minor tic marks [precedence over color]
; width: width of axis, major and minor tic marks
; major_width: width of major tic marks [precedence over width]
; minor_width: width of minor tic marks [precedence over width]
; line: line style of axis, major and minor tic marks
; major_line: line style of major tic marks [precedence over line]
; minor_line: line style of minor tic marks [precedence over line]
; major_len: length of the major tic marks
; minor_len: length of the minor tic marks
; grid: extend major and minor tic marks to a grid
; major_grid: extend major tic marks to a grid [precedence over grid]
; minor_grid: extend minor tic marks to a grid [precedence over grid]
; depth: Xfig depth of the axis
; tic_depth: Xfig depth of the ticmarks
; maxtics: maximum number of major tic marks
; ticlabels: draw tic labels (requires major tic marks)
; ticlabels_confine: prevent tic labels from overhanging the plot box
; ticlabel_style: tic label font style, see `xfig_make_font'
; ticlabel_color: tic label font color, see `xfig_make_font'
; ticlabel_size: tic label font size, see `xfig_make_font'
; format: tic label format string in `sprintf' style
; wcs: name of a custom world coordinate system transformation
DESCRIPTION
All axes can be configured with the qualifiers mentioned above.
SEE ALSO
xfig_plot.xaxis, xfig_plot.x1axis, xfig_plot.x2axis, xfig_plot.yaxis, xfig_plot.y1axis, xfig_plot.y2axis
--------------------------------------------------------------
xfig_plot.get_world
SYNOPSIS
Get the world coordinates of a plot
USAGE
[xmin,xmax,ymin,ymax] = xfig_plot.get_world ();
QUALIFIERS
% qualifiers to specifiy the world coordinate system
SEE ALSO
xfig_plot--wcs
--------------------------------------------------------------
xfig_plot.hplot
USAGE
xfig_plot.hplot ([x,] y);
% or
xfig_plot.hplot (x, y[, dy]);
QUALIFIERS
% qualifiers to initialize the first plot only,
see `xfig_plot--initialize_plot'
% qualifiers to specifiy the world coordinate system,
see `xfig_plot--wcs'
% qualifiers for lines (defaults for error bars):
; width: line thickness
; color: line color
; line: line style
; fillcolor=fcol: fill histogram with color `fcol' (default: `color')
; fill[=area_fill]: use style `area_fill' for shaded histogram (default: 20, if set)
; depth: Xfig depth
% qualifiers for error bars:
see `xfig_plot--errorbars'
% qualifiers for histogram:
; y_first: y-value of first bin's vertical line
; y_last: y-value of last bin's vertical line
DESCRIPTION
`x' is an array of lower bin boundaries corresponding
to the histogram values `y'. If `length(x)==length(y)+1',
then `x[-1]' is the upper boundary of the last bin,
otherwise, the last bin will be as large as the previous one.
If no `x' values are given, `x = [1:length(y)]' is assumed.
SEE ALSO
xfig_plot--initialize_plot, xfig_plot--wcs, xfig_plot--errorbars
--------------------------------------------------------------
xfig_plot.plot
USAGE
xfig_plot.plot ([x,] y);
% or
xfig_plot.plot (x, y, [dx,] dy);
QUALIFIERS
% qualifiers to initialize the first plot only,
see `xfig_plot--initialize_plot'
% qualifiers to specifiy the world coordinate system,
see `xfig_plot--wcs'
% qualifiers for lines (defaults for error bars and symbols):
; color=strval: color of lines symbols and error bars
; width=intval: thickness of lines and error bars
; depth=intval: Xfig depth
; line=intval: line style for lines and error bars
; forward_arrow: see `xfig_create_arrow' (default: NULL)
; backward_arrow: see `xfig_create_arrow' (default: NULL)
% qualifiers for error bars:
see `xfig_plot--errorbars'
% qualifiers for symbols:
; sym=strval: symbol, see xfig_plot_get_symbol_names
; symcolor=strval: color of symbols (default: `color' qualifier)
; size=val: symbol point size
; fill[=intval]: area fill style (default: 20, if set; otherwise -1)
; fillcolor=strval: color for filled symbols
; symlinestyle=intval: line style to draw symbols
; symwidth=intval: thickness of symbol lines (default: `width' qualifier)
; symdepth=intval: Xfig depth of symbols (default: `depth' qualifier)
DESCRIPTION
If no `x' values are given, `x = [1:length(y)]' is assumed.
If a symbol is specified, no lines are drawn
unless the line qualifier is also specified.
SEE ALSO
xfig_plot--initialize_plot, xfig_plot--wcs, xfig_plot--errorbars
--------------------------------------------------------------
xfig_plot.plot_pict
USAGE
xfig_plot.plot_pict (String_Type imgfile);
QUALIFIERS
; depth: Xfig depth
% qualifiers to initialize the first plot only,
see `xfig_plot--initialize_plot'
SEE ALSO
xfig_plot.plot_png
--------------------------------------------------------------
xfig_plot.plot_png
SYNOPSIS
Add a png file to a plot, scaling it to the window
USAGE
xfig_plot.plot_png (String_Type pngfile);
% or
xfig_plot.plot_png (Array_Type image);
QUALIFIERS
; depth: Xfig depth
% qualifiers to initialize the first plot only,
see `xfig_plot--initialize_plot'
; cmap: name of the color map used by `png_gray_to_rgb'
DESCRIPTION
The image from `pngfile' is drawn in the plot region.
If a two-dimensional array `image' is passed to `.plot_png',
it is converted to a png file in the temporary directory,
using the `png_gray_to_rgb' function and possibly a color map.
All other qualifiers are forwarded to `png_gray_to_rgb'.
SEE ALSO
xfig_plot_new_png, xfig_plot.plot_pict, xfig_set_tmp_dir, png_gray_to_rgb
--------------------------------------------------------------
xfig_plot.shade_region
SYNOPSIS
Add a filled rectangle or polygon to the plot
USAGE
xfig_plot.shade_region (x[], y[]);
% or
xfig_plot.shade_region (xmin, xmax, ymin, ymax);
QUALIFIERS
% qualifiers to initialize the first plot only
see `xfig_plot--initialize_plot'
% qualifiers to specifiy the world coordinate system
see `xfig_plot--wcs'
; line: line style
; width: line thickness
; color: line color
; fillcolor: fill color (default: `color')
; fill: area fill style (default: 20)
; depth: Xfig depth of shaded region
SEE ALSO
xfig_plot--initialize_plot, xfig_plot--wcs
--------------------------------------------------------------
xfig_plot.title
SYNOPSIS
Add a title to a plot
USAGE
xfig_plot.title (String_Type title);
% or
xfig_plot.title (XFig_Object title);
DESCRIPTION
The title is created from the string with the
`xfig_new_text' function using all applied qualifiers.
If `title' is no string, it is assumed to be
an already properly formatted xfig object.
The title is centered above the plot area.
Any previously existing title object is removed.
--------------------------------------------------------------
xfig_plot.world
SYNOPSIS
define a plot's world coordinate system
USAGE
xfig_plot.world (Double_Type xdata[], ydata[]);
% or
xfig_plot.world (Double_Type x0, x1, y0, y1);
QUALIFIERS
; xlog: use a logarithmic x-axis
; ylog: use a logarithmic y-axis
; loglog: use logarithmic axes
; padx: fraction of xrange to be padded on both sides (default: 0.05 or 0)
; pady: fraction of yrange to be padded on both sides (default: 0.05 or 0)
SEE ALSO
xfig_plot.world1, xfig_plot.world2
--------------------------------------------------------------
xfig_plot.world1
SYNOPSIS
define a plot's first world coordinate system
SEE ALSO
xfig_plot.world
--------------------------------------------------------------
xfig_plot.world2
SYNOPSIS
define a plot's second world coordinate system
QUALIFIERS
; xticlabels: flag whether (1) or not (0) to draw ticlabels on x2axis (default: 1)
; yticlabels: flag whether (1) or not (0) to draw ticlabels on y2axis (default: 1)
SEE ALSO
xfig_plot.world
--------------------------------------------------------------
xfig_plot.x1axis
USAGE
xfig_plot.x1axis([; qualifiers]);
DESCRIPTION
This method allows for the configuration of the first x-axis
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.x2axis
USAGE
xfig_plot.x2axis([; qualifiers]);
DESCRIPTION
This method allows for the configuration of the second x-axis
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.x2label
SYNOPSIS
Add a label for the second x-axis to a plot
USAGE
xfig_plot.x2label (String_Type x2label);
DESCRIPTION
The x2label is created from the string with the
`xfig_new_text' function using all applied qualifiers.
SEE ALSO
xfig_new_text
--------------------------------------------------------------
xfig_plot.xaxis
USAGE
xfig_plot.xaxis([; qualifiers]);
QUALIFIERS
; ticlabels1: overwrites the `ticlabels' qualifier for the x1axis
; ticlabels2: overwrites the `ticlabels' qualifier for the x2axis
DESCRIPTION
This method allows for the configuration of both x-axes
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.xfig_coords
USAGE
(Double_Type xXfig, yXfig) = xfig_plot.xfig_coords (Double_Type x, y);
% or
Double_Type xXfig = xfig_plot.xfig_coords (Double_Type x, );
% or
Double_Type yXfig = xfig_plot.xfig_coords (, Double_Type y);
QUALIFIERS
% qualifiers to specify the world coordinate system,
SEE ALSO
xfig_plot--wcs
--------------------------------------------------------------
xfig_plot.xlabel
SYNOPSIS
Add an x-axis label to a plot
USAGE
xfig_plot.xlabel (String_Type xlabel);
DESCRIPTION
The x-label is created from the string with the
`xfig_new_text' function using all applied qualifiers.
SEE ALSO
xfig_new_text
--------------------------------------------------------------
xfig_plot.xylabel
USAGE
xfig_plot.xylabel (Double_Type x, y, String_Type text[, dx, dy]);
QUALIFIERS
% qualifiers to specifiy the world coordinate system,
see `xfig_plot--wcs'
SEE ALSO
xfig_plot_text, xfig_plot--wcs
--------------------------------------------------------------
xfig_plot.y1axis
USAGE
xfig_plot.y1axis([; qualifiers]);
DESCRIPTION
This method allows for the configuration of the first y-axis
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.y2axis
USAGE
xfig_plot.y2axis([; qualifiers]);
DESCRIPTION
This method allows for the configuration of the second y-axis
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.y2label
SYNOPSIS
Add a label for the second y-axis to a plot
USAGE
xfig_plot.y2label (String_Type y2label);
DESCRIPTION
The y2label is created from the string with the
`xfig_new_text' function using all applied qualifiers.
SEE ALSO
xfig_new_text
--------------------------------------------------------------
xfig_plot.yaxis
USAGE
xfig_plot.yaxis([; qualifiers]);
QUALIFIERS
; ticlabels1: overwrites the `ticlabels' qualifier for the y1axis
; ticlabels2: overwrites the `ticlabels' qualifier for the y2axis
DESCRIPTION
This method allows for the configuration of both y-axes
via qualifiers -- see `xfig_plot.axis' for further information.
SEE ALSO
xfig_plot.axis
--------------------------------------------------------------
xfig_plot.ylabel
SYNOPSIS
Add a y-axis label to a plot
USAGE
xfig_plot.ylabel (String_Type ylabel);
DESCRIPTION
The ylabel is created from the string with the
`xfig_new_text' function using all applied qualifiers.
SEE ALSO
xfig_new_text
--------------------------------------------------------------
xfig_plot_add_symbol
SYNOPSIS
Add a plot symbol
USAGE
xfig_plot_add_symbol (String_Type name, Ref_Type funct)
DESCRIPTION
This function may be used to add a new plot symbol of the specified name.
The `funct' parameter specifies a function to be called to create the
symbol. It will be called with a single parameter: a value representing the
scale size of the symbol in fig units. The function must return two arrays
representing the X and Y coordinates of the polygons that represent
the symbol. The center of the object is taken to be (0,0). If more than one
polygon is required to represent the object, an array of arrays may be
returned.
--------------------------------------------------------------
xfig_plot_add_transform
USAGE
xfig_plot_add_transform (String_Type name, Ref_Type &wcs_func, &wcs_invfunc, Any_Type client_data);
QUALIFIERS
; xmin: (default: -inf)
; xmax: (default: +inf)
; ticfun: (default: &generic_compute_tics)
DESCRIPTION
`wcs_func' (`wcs_invfunc') is a function
of two arguments: the world (plot) coordinate and some client data.
It has to return the correspondig plot (world) coordinate.
The qualifier `ticfun' may reference a function
that takes 4 arguments: xmin, xmax, maxtics, and client_data.
It is supposed to return two arrays of major and minor tic marks.
--------------------------------------------------------------
xfig_plot_get_symbol_names
USAGE
String_Type[] xfig_plot_get_symbol_names ()
SEE ALSO
xfig_plot.plot
--------------------------------------------------------------
xfig_plot_new
SYNOPSIS
Create a new plot object
USAGE
w = xfig_plot_new ( [Int_Type width, Int_Type height] );
DESCRIPTION
This function creates a new plot object of the specified width and height.
If the width and height parameters are not given, defaults will be used.
The width and height values specify the size of the plotting area and do not
include the space for tic marks and labels.
The following qualifiers configure all axes' tic labels at once:
QUALIFIERS
; ticlabel_style: tic label font style, see `xfig_make_font'
; ticlabel_color: tic label font color, see `xfig_make_font'
; ticlabel_size: tic label font size, see `xfig_make_font'
EXAMPLE
w = xfig_plot_new ();
SEE ALSO
xfig_plot_define_world, xfig_render_object
--------------------------------------------------------------
xfig_plot_new_png
SYNOPSIS
Create a new plot window for a png file
USAGE
w = xfig_plot_new_png (file)
QUALIFIERS
; depth: Xfig depth
SEE ALSO
xfig_plot_new, xfig_plot.plot_png, xfig_plot.plot_pict
--------------------------------------------------------------
xfig_plot_text
SYNOPSIS
Add text to the plot
USAGE
xfig_plot_text (w, text, x, y [,dx, dy])
w: plot object
x, y: world coordinates
dx, dy: justification
DESCRIPTION
This function creates a text object at the specified location on the plot.
By default, the text will be centered on the specified world coordinates.
The justification parameters `dx' and `dy' may be used to specify
the justifcation of the text. See the documentation for `xfig_plot_add_object'
for more information.
EXAMPLE
xfig_plot_text (w, "$cos(\omega t)$"R, 3.2, 6.0, -0.5, 0);
will left justify the text at the position (3.2,6.0).
SEE ALSO
xfig_plot_add_object, xfig_new_text
--------------------------------------------------------------
xfig_render_object
SYNOPSIS
Render an object to a device
USAGE
xfig_render_object (obj, device)
DESCRIPTION
This function renders the specified object to a specified device.
If the device parameter is a string, then a device will be opened with
the specified name.
SEE ALSO
xfig_create_file, xfig_close_file
--------------------------------------------------------------
xfig_set_eye
SYNOPSIS
Define the point from which the projection of 3d space is seen
USAGE
xfig_set_eye (Double_Type dist, theta, phi [, roll]);
DESCRIPTION
`dist' - distance of the eye from the focus
`theta' - polar angle from the z-axis (in degrees)
`phi' - azimuthal angle in the x-y-plane (in degrees)
`roll' - roll angle (in degrees)
SEE ALSO
xfig_get_eye, xfig_get_eye_roll, xfig_set_eye_roll, xfig_set_focus
--------------------------------------------------------------
xfig_set_eye_roll
SYNOPSIS
Set the roll angle under which the projection of 3d space is seen
USAGE
xfig_get_eye_roll (Double_Type roll);
DESCRIPTION
The `roll' angle is measured in degrees.
SEE ALSO
xfig_get_eye_roll, xfig_set_eye, xfig_set_focus
--------------------------------------------------------------
xfig_set_focus
SYNOPSIS
Define the focus point of the projection of 3d space
USAGE
xfig_set_focus (Vector_Type X);
SEE ALSO
xfig_get_focus, xfig_set_eye
--------------------------------------------------------------
xfig_set_font_style
SYNOPSIS
Set the default font style for LaTeX
USAGE
xfig_set_font_style (String_Type style);
DESCRIPTION
Unless changed, the default font style is "\bf\boldmath"R.
SEE ALSO
xfig_make_font, xfig_new_text, xfig_add_latex_package
--------------------------------------------------------------
xfig_set_latex_preamble
USAGE
xfig_set_latex_preamble (String_Type preamble)
SEE ALSO
xfig_get_latex_preamble
--------------------------------------------------------------
xfig_set_output_driver
SYNOPSIS
Associate an output driver to a file extension
USAGE
xfig_set_output_driver (String_Type ext, String_Type cmd)
DESCRIPTION
This may may be used to define the command that runs to created the specified
output format (dictated by the extension) from the corresponding .fig file.
The `ext' parameter specifies the filename extension and `cmd' is
the shell command that will be used to generate the file.
The `cmd' may contain the following format descriptors that will be
replaced by the corresponding objects before being passed to the shell:
%I Input .fig file
%O Output file
%P paper-size
%B basename of the file
EXAMPLE
The default driver for postscript output is given by:
xfig_set_output_driver ("ps", "fig2dev -L ps -c -z %P %I %O");
The `ps2ps' command may result in a smaller file size at a slight cost
of resolution. It may be used as follows:
xfig_set_output_driver ("ps", "fig2dev -L ps -c -z %P %I %B-tmp.ps"
+ ";ps2ps %B-tmp.ps %O; rm -f %B-tmp.ps");
SEE ALSO
xfig_set_paper_size
--------------------------------------------------------------
xfig_set_verbose
SYNOPSIS
Control the level of chattiness
USAGE
xfig_set_verbose(Integer_Type level);
DESCRIPTION
This function may be used to control the verbosity level of the
xfig functions that display informational messages.
NOTES
It is not always possible to control the verbosity level of
external programs. For the LaTeX/eps interface, if the level is 0,
then only the running command will be displayed and any output will
be redirected to `/dev/null'. Otherwise if level > 0, then
the output will not be redirected.
--------------------------------------------------------------
|