~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to doc/docbook/src/characters.html

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2
2
<HTML
3
3
><HEAD
4
4
><TITLE
5
 
>Setting Character and Symbol Attributes</TITLE
 
5
>Setting Character Attributes</TITLE
6
6
><META
7
7
NAME="GENERATOR"
8
 
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9
9
REL="HOME"
10
10
TITLE="The PLplot Plotting Library"
11
11
HREF="index.html"><LINK
16
16
TITLE="Setting Color"
17
17
HREF="color.html"><LINK
18
18
REL="NEXT"
19
 
TITLE="Escape Sequences in Text"
20
 
HREF="escape-sequences.html"><LINK
 
19
TITLE="Three Dimensional Surface Plots"
 
20
HREF="tri-d-plots.html"><LINK
21
21
REL="STYLESHEET"
22
22
TYPE="text/css"
23
23
HREF="stylesheet.css"></HEAD
62
62
ALIGN="right"
63
63
VALIGN="bottom"
64
64
><A
65
 
HREF="escape-sequences.html"
 
65
HREF="tri-d-plots.html"
66
66
ACCESSKEY="N"
67
67
>Next</A
68
68
></TD
77
77
CLASS="sect1"
78
78
><A
79
79
NAME="characters"
80
 
>Setting Character and Symbol Attributes</A
 
80
>Setting Character Attributes</A
81
81
></H1
82
82
><P
83
 
>      There are two character sets included with PLplot.  These are known
84
 
      as the standard and extended character sets respectively.  The
 
83
>      Plplot uses two separate font systems to display characters. The
 
84
      traditional system uses Hershey fonts which are available for all
 
85
      device drivers, while the recently introduced unicode system is
 
86
      currently available only for the ps, psc, png, jpeg, and gif devices.
 
87
      For details on how to enable the unicode font system for additional
 
88
      device drivers using the FreeType library, see 
 
89
      <A
 
90
HREF="freetype-notes.html"
 
91
>the Section called <I
 
92
>Adding FreeType Library Support to Bitmap Drivers</I
 
93
></A
 
94
>.
 
95
    </P
 
96
><DIV
 
97
CLASS="sect2"
 
98
><H2
 
99
CLASS="sect2"
 
100
><A
 
101
NAME="hersheyfont"
 
102
>Hershey fonts</A
 
103
></H2
 
104
><P
 
105
>      There are two Hershey font character sets included with PLplot.
 
106
      These are known
 
107
      as the standard and extended character sets.  The
85
108
      standard character set is a subset of the extended set.  It contains
86
109
      177 characters including the ascii characters in a normal style font,
87
110
      the Greek alphabet and several plotter symbols.  The extended
89
112
      styles, and several math, musical and plotter symbols.
90
113
    </P
91
114
><P
92
 
>      The standard character set is loaded into memory automatically when
 
115
>      The extended character set is loaded into memory automatically when
93
116
      <A
94
117
HREF="plstar.html"
95
118
><CODE
102
125
CLASS="function"
103
126
>plstart</CODE
104
127
></A
105
 
> is called.  The extended character set is
 
128
> is called.  The standard character set is
106
129
      loaded by calling <A
107
130
HREF="plfontld.html"
108
131
><CODE
142
165
>plfont</CODE
143
166
></A
144
167
> sets
145
 
      up the default font for all character strings.  It may be overridden
 
168
      up the default Hershey font for all character strings.  It may be overridden
146
169
      for any portion of a string by using an escape sequence within the
147
170
      text, as described below.  This routine has no effect when the
148
171
      standard font set is loaded.  The default font (1) is simple and
157
180
><UL
158
181
><LI
159
182
><P
160
 
>           <VAR
161
 
CLASS="literal"
162
 
>font = 1</VAR
163
 
>: normal simple font
164
 
          </P
165
 
></LI
166
 
><LI
167
 
><P
168
 
>           <VAR
169
 
CLASS="literal"
170
 
>font = 2</VAR
171
 
>: roman font
172
 
          </P
173
 
></LI
174
 
><LI
175
 
><P
176
 
>           <VAR
177
 
CLASS="literal"
178
 
>font = 3</VAR
 
183
>           <TT
 
184
CLASS="literal"
 
185
>font = 1</TT
 
186
>: normal (sans-serif) font
 
187
          </P
 
188
></LI
 
189
><LI
 
190
><P
 
191
>           <TT
 
192
CLASS="literal"
 
193
>font = 2</TT
 
194
>: roman (serif) font
 
195
          </P
 
196
></LI
 
197
><LI
 
198
><P
 
199
>           <TT
 
200
CLASS="literal"
 
201
>font = 3</TT
179
202
>: italic font
180
203
          </P
181
204
></LI
182
205
><LI
183
206
><P
184
 
>           <VAR
 
207
>           <TT
185
208
CLASS="literal"
186
 
>font = 4</VAR
 
209
>font = 4</TT
187
210
>: script font
188
211
          </P
189
212
></LI
190
213
></UL
191
214
>
192
215
    </P
 
216
></DIV
 
217
><DIV
 
218
CLASS="sect2"
 
219
><H2
 
220
CLASS="sect2"
 
221
><A
 
222
NAME="unicodefont"
 
223
>Unicode fonts</A
 
224
></H2
 
225
><P
 
226
>      The advantages of the unicode fonts over the more traditional PLplot
 
227
      Hershey fonts are the availability of many additional glyphs
 
228
      (including mathematical symbols and glyphs from other than
 
229
      western-European languages) and much better display of characters on
 
230
      computer screens using anti-aliasing and hinting.  Unicode fonts are
 
231
      obtained by specifying a command-line option of -drvopt text for
 
232
      the devices (currently ps, psc, png, jpeg, gif, gcw, and wingcc) 
 
233
      where it has been implemented.
 
234
    </P
 
235
><P
 
236
>      For the ps and psc devices, there is a fixed relationship between the
 
237
      FCI (font characterization integer, see <A
 
238
HREF="characters.html#fci"
 
239
>the Section called <I
 
240
>FCI</I
 
241
></A
 
242
>) 
 
243
      and the actual Type 1
 
244
      fonts that are being used.  This fixed relationship is specified in
 
245
      the Type1Lookup array in include/plfci.h.  This array maps the
 
246
      font-family attributes of sans-serif, serif, monotype, script, and
 
247
      symbol to the standard postscript font families called Helvetica,
 
248
      Times-Roman, Courier, Times-Roman, and Symbol.  (There is no script
 
249
      font family amongst the 35 standard Type 1 postscript fonts so that is
 
250
      why we map the font-family attribute of script to Times-Roman.)
 
251
      Similarly, this array maps the font-style attributes of upright,
 
252
      italic or oblique and the font-weight attributes of medium or bold to
 
253
      the appropriate variety of the Helvetica, Times-Roman, Courier,
 
254
      and Symbol font families that are part of the 
 
255
      35 standard Type 1 postscript fonts.  These standard postscript fonts
 
256
      are normally installed on a user's system using the gsfonts package.
 
257
    </P
 
258
><P
 
259
>      For the devices handled by the FreeType library (currently png, jpeg,
 
260
      and gif) there is a configurable relationship between the FCI (font
 
261
      characterization integer, see <A
 
262
HREF="characters.html#fci"
 
263
>the Section called <I
 
264
>FCI</I
 
265
></A
 
266
>) 
 
267
      and the TrueType fonts that are actually used.  
 
268
    </P
 
269
><P
 
270
>      On Unix/Linux systems, the TrueType fonts corresponding to the 30 possible
 
271
      valid FCIs can be specified using ./configure options. (Use
 
272
      ./configure --help to see the possibilities and also the default
 
273
      values for the fonts.) These ./configure defaults for the 30
 
274
      possibilites are taken from fonts available from the ttf-freefont font
 
275
      package.  We recommend this font package because it has a rather
 
276
      complete set of glyphs for most unicode blocks.  (We also recommend
 
277
      the gucharmap application for determining other unicode font
 
278
      possibilities on your system that are available via the FreeType
 
279
      library.)
 
280
    </P
 
281
><P
 
282
>      On Windows systems, the fixed default TrueType fonts are specified in the
 
283
      include/plfci.h file.  (NOT PROGRAMMED YET, so this statement
 
284
      will probably NEED REVISION.)
 
285
    </P
 
286
><P
 
287
>      For all systems, the 30 possible TrueType fonts can be specified at run
 
288
      time using the following environment variables:
 
289
      <P
 
290
></P
 
291
><UL
 
292
><LI
 
293
><P
 
294
>           PLPLOT_FREETYPE_SANS_FONT
 
295
          </P
 
296
></LI
 
297
><LI
 
298
><P
 
299
>           PLPLOT_FREETYPE_SERIF_FONT
 
300
          </P
 
301
></LI
 
302
><LI
 
303
><P
 
304
>           PLPLOT_FREETYPE_MONO_FONT
 
305
          </P
 
306
></LI
 
307
><LI
 
308
><P
 
309
>           PLPLOT_FREETYPE_SCRIPT_FONT
 
310
          </P
 
311
></LI
 
312
><LI
 
313
><P
 
314
>           PLPLOT_FREETYPE_SYMBOL_FONT
 
315
          </P
 
316
></LI
 
317
><LI
 
318
><P
 
319
>           PLPLOT_FREETYPE_SANS_ITALIC_FONT
 
320
          </P
 
321
></LI
 
322
><LI
 
323
><P
 
324
>           PLPLOT_FREETYPE_SERIF_ITALIC_FONT
 
325
          </P
 
326
></LI
 
327
><LI
 
328
><P
 
329
>           PLPLOT_FREETYPE_MONO_ITALIC_FONT
 
330
          </P
 
331
></LI
 
332
><LI
 
333
><P
 
334
>           PLPLOT_FREETYPE_SCRIPT_ITALIC_FONT
 
335
          </P
 
336
></LI
 
337
><LI
 
338
><P
 
339
>           PLPLOT_FREETYPE_SYMBOL_ITALIC_FONT
 
340
          </P
 
341
></LI
 
342
><LI
 
343
><P
 
344
>           PLPLOT_FREETYPE_SANS_OBLIQUE_FONT
 
345
          </P
 
346
></LI
 
347
><LI
 
348
><P
 
349
>           PLPLOT_FREETYPE_SERIF_OBLIQUE_FONT
 
350
          </P
 
351
></LI
 
352
><LI
 
353
><P
 
354
>           PLPLOT_FREETYPE_MONO_OBLIQUE_FONT
 
355
          </P
 
356
></LI
 
357
><LI
 
358
><P
 
359
>           PLPLOT_FREETYPE_SCRIPT_OBLIQUE_FONT
 
360
          </P
 
361
></LI
 
362
><LI
 
363
><P
 
364
>           PLPLOT_FREETYPE_SYMBOL_OBLIQUE_FONT
 
365
          </P
 
366
></LI
 
367
><LI
 
368
><P
 
369
>           PLPLOT_FREETYPE_SANS_BOLD_FONT
 
370
          </P
 
371
></LI
 
372
><LI
 
373
><P
 
374
>           PLPLOT_FREETYPE_SERIF_BOLD_FONT
 
375
          </P
 
376
></LI
 
377
><LI
 
378
><P
 
379
>           PLPLOT_FREETYPE_MONO_BOLD_FONT
 
380
          </P
 
381
></LI
 
382
><LI
 
383
><P
 
384
>           PLPLOT_FREETYPE_SCRIPT_BOLD_FONT
 
385
          </P
 
386
></LI
 
387
><LI
 
388
><P
 
389
>           PLPLOT_FREETYPE_SYMBOL_BOLD_FONT
 
390
          </P
 
391
></LI
 
392
><LI
 
393
><P
 
394
>           PLPLOT_FREETYPE_SANS_BOLD_ITALIC_FONT
 
395
          </P
 
396
></LI
 
397
><LI
 
398
><P
 
399
>           PLPLOT_FREETYPE_SERIF_BOLD_ITALIC_FONT
 
400
          </P
 
401
></LI
 
402
><LI
 
403
><P
 
404
>           PLPLOT_FREETYPE_MONO_BOLD_ITALIC_FONT
 
405
          </P
 
406
></LI
 
407
><LI
 
408
><P
 
409
>           PLPLOT_FREETYPE_SCRIPT_BOLD_ITALIC_FONT
 
410
          </P
 
411
></LI
 
412
><LI
 
413
><P
 
414
>           PLPLOT_FREETYPE_SYMBOL_BOLD_ITALIC_FONT
 
415
          </P
 
416
></LI
 
417
><LI
 
418
><P
 
419
>           PLPLOT_FREETYPE_SANS_BOLD_OBLIQUE_FONT
 
420
          </P
 
421
></LI
 
422
><LI
 
423
><P
 
424
>           PLPLOT_FREETYPE_SERIF_BOLD_OBLIQUE_FONT
 
425
          </P
 
426
></LI
 
427
><LI
 
428
><P
 
429
>           PLPLOT_FREETYPE_MONO_BOLD_OBLIQUE_FONT
 
430
          </P
 
431
></LI
 
432
><LI
 
433
><P
 
434
>           PLPLOT_FREETYPE_SCRIPT_BOLD_OBLIQUE_FONT
 
435
          </P
 
436
></LI
 
437
><LI
 
438
><P
 
439
>           PLPLOT_FREETYPE_SYMBOL_BOLD_OBLIQUE_FONT
 
440
          </P
 
441
></LI
 
442
></UL
 
443
>
 
444
      On Unix/Linux systems if these environment variables are not specified
 
445
      with an absolute path starting with "/", then the absolute path is
 
446
      specified by the configured default (see ./configure --help) or at
 
447
      run time with the
 
448
      environment variable PLPLOT_FREETYPE_FONT_DIR.
 
449
    </P
 
450
></DIV
 
451
><DIV
 
452
CLASS="sect2"
 
453
><H2
 
454
CLASS="sect2"
 
455
><A
 
456
NAME="fci"
 
457
>FCI</A
 
458
></H2
 
459
><P
 
460
>      We specify the properties of unicode fonts with the FCI (font
 
461
      characterization integer).  The FCI is a 32-bit unsigned integer whose
 
462
      most significant hexadecimal digit is marked with an 0x8 (0x80000000
 
463
      is ORed with the FCI value to mark it) to distinguish it from a unicode
 
464
      (UCS4) integer (whose maximum value 0x7fffffff). Users obtain the
 
465
      current FCI by calling <A
 
466
HREF="plgfci.html"
 
467
><CODE
 
468
CLASS="function"
 
469
>plgfci</CODE
 
470
></A
 
471
> and store a new FCI to be used at the
 
472
      start of each subsequent string using <A
 
473
HREF="plsfci.html"
 
474
><CODE
 
475
CLASS="function"
 
476
>plsfci</CODE
 
477
></A
 
478
>. Independent
 
479
      hexadecimal values within the FCI are characterized by the hexdigit
 
480
      and hexpower.  The hexpower is defined as the power of 16 or number of
 
481
      hexadecimal places to the left of the "decimal place" in the FCI 
 
482
      where the hexdigit is stored. The interpretation of the hexdigit and
 
483
      hexpower values in the FCI are given in <A
 
484
HREF="characters.html#fci-table"
 
485
>Table 3-3</A
 
486
>.
 
487
    </P
 
488
><DIV
 
489
CLASS="table"
 
490
><A
 
491
NAME="fci-table"
 
492
></A
 
493
><P
 
494
><B
 
495
>Table 3-3. FCI interpretation</B
 
496
></P
 
497
><TABLE
 
498
BORDER="1"
 
499
FRAME="border"
 
500
CLASS="CALSTABLE"
 
501
><COL><COL><COL><COL><COL><COL><COL><TBODY
 
502
VALIGN="top"
 
503
><TR
 
504
><TD
 
505
>&nbsp;</TD
 
506
><TD
 
507
>hexdigit --&#62;</TD
 
508
><TD
 
509
>0</TD
 
510
><TD
 
511
>1</TD
 
512
><TD
 
513
>2</TD
 
514
><TD
 
515
>3</TD
 
516
><TD
 
517
>4</TD
 
518
></TR
 
519
><TR
 
520
><TD
 
521
>Font attribute</TD
 
522
><TD
 
523
>hexpower</TD
 
524
><TD
 
525
>&nbsp;</TD
 
526
><TD
 
527
>&nbsp;</TD
 
528
><TD
 
529
>&nbsp;</TD
 
530
><TD
 
531
>&nbsp;</TD
 
532
><TD
 
533
>&nbsp;</TD
 
534
></TR
 
535
><TR
 
536
><TD
 
537
>font-family</TD
 
538
><TD
 
539
>0</TD
 
540
><TD
 
541
>sans-serif</TD
 
542
><TD
 
543
>serif</TD
 
544
><TD
 
545
>monospace</TD
 
546
><TD
 
547
>script</TD
 
548
><TD
 
549
>symbol</TD
 
550
></TR
 
551
><TR
 
552
><TD
 
553
>font-style</TD
 
554
><TD
 
555
>1</TD
 
556
><TD
 
557
>upright</TD
 
558
><TD
 
559
>italic</TD
 
560
><TD
 
561
>oblique</TD
 
562
><TD
 
563
>&nbsp;</TD
 
564
><TD
 
565
>&nbsp;</TD
 
566
></TR
 
567
><TR
 
568
><TD
 
569
>font-weight</TD
 
570
><TD
 
571
>2</TD
 
572
><TD
 
573
>medium</TD
 
574
><TD
 
575
>bold</TD
 
576
><TD
 
577
>&nbsp;</TD
 
578
><TD
 
579
>&nbsp;</TD
 
580
><TD
 
581
>&nbsp;</TD
 
582
></TR
 
583
></TBODY
 
584
></TABLE
 
585
></DIV
 
586
><P
 
587
>      Note the maximum value of hexdigit is 7 and the maximum value of
 
588
      hexpower is 6 so there is substantial room for expansion of this
 
589
      scheme.  On the other hand, since each font attribute is independent
 
590
      of the rest, what is implemented now gives us a maximum of 30
 
591
      different font possibilities which is probably more than enough for
 
592
      most plotting purposes.
 
593
    </P
 
594
></DIV
 
595
><DIV
 
596
CLASS="sect2"
 
597
><H2
 
598
CLASS="sect2"
 
599
><A
 
600
NAME="escape-sequences"
 
601
>Escape sequences in text</A
 
602
></H2
 
603
><P
 
604
>      The routines which draw text all allow you to include escape
 
605
      sequences in the text to be plotted.  These are character sequences
 
606
      that are interpreted as instructions to change fonts, draw
 
607
      superscripts and subscripts, draw non-ASCII (e.g. Greek), and so on.
 
608
      All escape sequences start with a number symbol
 
609
      (<TT
 
610
CLASS="literal"
 
611
>#</TT
 
612
>) by default.  Some language interfaces have
 
613
      the capability of changing this default, but we will assume
 
614
      (<TT
 
615
CLASS="literal"
 
616
>#</TT
 
617
>) in the remaining documentation of the escape
 
618
      sequences.
 
619
    </P
 
620
><P
 
621
>      The following escape sequences are defined:
 
622
 
 
623
      <P
 
624
></P
 
625
><UL
 
626
><LI
 
627
><P
 
628
>           <TT
 
629
CLASS="literal"
 
630
>#u</TT
 
631
>: move up to the superscript position
 
632
            (ended with <TT
 
633
CLASS="literal"
 
634
>#d</TT
 
635
>)
 
636
          </P
 
637
></LI
 
638
><LI
 
639
><P
 
640
>           <TT
 
641
CLASS="literal"
 
642
>#d</TT
 
643
>: move down to subscript position
 
644
            (ended with <TT
 
645
CLASS="literal"
 
646
>#u</TT
 
647
>)
 
648
          </P
 
649
></LI
 
650
><LI
 
651
><P
 
652
>           <TT
 
653
CLASS="literal"
 
654
>#b</TT
 
655
>: backspace (to allow overprinting)
 
656
          </P
 
657
></LI
 
658
><LI
 
659
><P
 
660
>           <TT
 
661
CLASS="literal"
 
662
>##</TT
 
663
>: number symbol
 
664
          </P
 
665
></LI
 
666
><LI
 
667
><P
 
668
>           <TT
 
669
CLASS="literal"
 
670
>#+</TT
 
671
>: toggle overline mode
 
672
          </P
 
673
></LI
 
674
><LI
 
675
><P
 
676
>           <TT
 
677
CLASS="literal"
 
678
>#-</TT
 
679
>: toggle underline mode
 
680
          </P
 
681
></LI
 
682
><LI
 
683
><P
 
684
>           <TT
 
685
CLASS="literal"
 
686
>#gx</TT
 
687
>: Greek letter corresponding to Roman
 
688
            letter <TT
 
689
CLASS="literal"
 
690
>x</TT
 
691
> (see below)
 
692
          </P
 
693
></LI
 
694
><LI
 
695
><P
 
696
>           <TT
 
697
CLASS="literal"
 
698
>#fn</TT
 
699
>: switch to normal (sans-serif) font
 
700
          </P
 
701
></LI
 
702
><LI
 
703
><P
 
704
>           <TT
 
705
CLASS="literal"
 
706
>#fr</TT
 
707
>: switch to Roman (serif) font
 
708
          </P
 
709
></LI
 
710
><LI
 
711
><P
 
712
>           <TT
 
713
CLASS="literal"
 
714
>#fi</TT
 
715
>: switch to italic font
 
716
          </P
 
717
></LI
 
718
><LI
 
719
><P
 
720
>           <TT
 
721
CLASS="literal"
 
722
>#fs</TT
 
723
>: switch to script font
 
724
          </P
 
725
></LI
 
726
><LI
 
727
><P
 
728
>           <TT
 
729
CLASS="literal"
 
730
>#(nnn)</TT
 
731
>: Hershey character nnn (1 to 4
 
732
            decimal digits) 
 
733
          </P
 
734
></LI
 
735
><LI
 
736
><P
 
737
>           <TT
 
738
CLASS="literal"
 
739
>#[nnn]</TT
 
740
>: unicode character nnn (nnn can
 
741
            be decimal or hexadecimal [e.g., starting with 0x]) (UNICODE ONLY).
 
742
          </P
 
743
></LI
 
744
><LI
 
745
><P
 
746
>           <TT
 
747
CLASS="literal"
 
748
>#&#60;0x8nnnnnnn&#62;</TT
 
749
>: absolute FCI to be used to
 
750
            change fonts in mid-string.  (nnnnnnn must be exactly 7
 
751
            digits). (UNICODE ONLY).
 
752
          </P
 
753
></LI
 
754
><LI
 
755
><P
 
756
>           <TT
 
757
CLASS="literal"
 
758
>#&#60;0xmn&#62;</TT
 
759
>: change just one attribute
 
760
            of the FCI in mid-string where m is the hexdigit and n is
 
761
            the hexpower.  If more than two digits are given (so long
 
762
            as the eigth digit does not mark this as an absolute FCI, see
 
763
            above) they
 
764
            are ignored. (UNICODE ONLY).
 
765
          </P
 
766
></LI
 
767
><LI
 
768
><P
 
769
>           <TT
 
770
CLASS="literal"
 
771
>#&#60;FCI COMMAND STRING/&#62;</TT
 
772
>: the FCI COMMAND
 
773
            STRING is currently one of "sans-serif", "serif", "monospace",
 
774
            "script", "symbol", "upright", "italic", "oblique" "medium",
 
775
            or "bold" (without the surrounding quotes).  These FCI
 
776
            COMMAND STRINGS change one attribute of the FCI according to
 
777
            their name. (UNICODE ONLY).
 
778
          </P
 
779
></LI
 
780
></UL
 
781
>
 
782
    </P
 
783
><P
 
784
>      Sections of text can have an underline or overline appended.  For
 
785
      example, the string <SPAN
 
786
CLASS="overline"
 
787
>S</SPAN
 
788
>(<SPAN
 
789
CLASS="underline"
 
790
>freq</SPAN
 
791
>) is obtained by specifying
 
792
      <TT
 
793
CLASS="literal"
 
794
>"#+S#+(#-freq#-)"</TT
 
795
>. 
 
796
    </P
 
797
><P
 
798
>      Greek letters are obtained by <TT
 
799
CLASS="literal"
 
800
>#g</TT
 
801
> followed by a
 
802
      Roman letter.  <A
 
803
HREF="characters.html#greek"
 
804
>Table 3-4</A
 
805
> shows how these letters map
 
806
      into Greek characters.
 
807
    </P
 
808
><DIV
 
809
CLASS="table"
 
810
><A
 
811
NAME="greek"
 
812
></A
 
813
><P
 
814
><B
 
815
>Table 3-4. Roman Characters Corresponding to Greek Characters</B
 
816
></P
 
817
><TABLE
 
818
BORDER="1"
 
819
FRAME="border"
 
820
CLASS="CALSTABLE"
 
821
><COL
 
822
WIDTH="2*"
 
823
ALIGN="center"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
 
824
VALIGN="top"
 
825
><TR
 
826
><TD
 
827
>Roman</TD
 
828
><TD
 
829
>A</TD
 
830
><TD
 
831
>B</TD
 
832
><TD
 
833
>G</TD
 
834
><TD
 
835
>D</TD
 
836
><TD
 
837
>E</TD
 
838
><TD
 
839
>Z</TD
 
840
><TD
 
841
>Y</TD
 
842
><TD
 
843
>H</TD
 
844
><TD
 
845
>I</TD
 
846
><TD
 
847
>K</TD
 
848
><TD
 
849
>L</TD
 
850
><TD
 
851
>M</TD
 
852
></TR
 
853
><TR
 
854
><TD
 
855
>Greek</TD
 
856
><TD
 
857
>&#913;</TD
 
858
><TD
 
859
>&#914;</TD
 
860
><TD
 
861
>&#915;</TD
 
862
><TD
 
863
>&#916;</TD
 
864
><TD
 
865
>&#917;</TD
 
866
><TD
 
867
>&#918;</TD
 
868
><TD
 
869
>&#919;</TD
 
870
><TD
 
871
>&#920;</TD
 
872
><TD
 
873
>&#921;</TD
 
874
><TD
 
875
>&#922;</TD
 
876
><TD
 
877
>&#923;</TD
 
878
><TD
 
879
>&#924;</TD
 
880
></TR
 
881
></TBODY
 
882
></TABLE
 
883
><TABLE
 
884
BORDER="1"
 
885
FRAME="border"
 
886
CLASS="CALSTABLE"
 
887
><COL
 
888
WIDTH="2*"
 
889
ALIGN="center"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
 
890
><TR
 
891
><TD
 
892
>Roman</TD
 
893
><TD
 
894
>N</TD
 
895
><TD
 
896
>C</TD
 
897
><TD
 
898
>O</TD
 
899
><TD
 
900
>P</TD
 
901
><TD
 
902
>R</TD
 
903
><TD
 
904
>S</TD
 
905
><TD
 
906
>T</TD
 
907
><TD
 
908
>U</TD
 
909
><TD
 
910
>F</TD
 
911
><TD
 
912
>X</TD
 
913
><TD
 
914
>Q</TD
 
915
><TD
 
916
>W</TD
 
917
></TR
 
918
><TR
 
919
><TD
 
920
>Greek</TD
 
921
><TD
 
922
>&#925;</TD
 
923
><TD
 
924
>&#926;</TD
 
925
><TD
 
926
>&#927;</TD
 
927
><TD
 
928
>&#928;</TD
 
929
><TD
 
930
>&#929;</TD
 
931
><TD
 
932
>&#931;</TD
 
933
><TD
 
934
>&#932;</TD
 
935
><TD
 
936
>&#933;</TD
 
937
><TD
 
938
>&#934;</TD
 
939
><TD
 
940
>&#935;</TD
 
941
><TD
 
942
>&#936;</TD
 
943
><TD
 
944
>&#937;</TD
 
945
></TR
 
946
></TBODY
 
947
></TABLE
 
948
><TABLE
 
949
BORDER="1"
 
950
FRAME="border"
 
951
CLASS="CALSTABLE"
 
952
><COL
 
953
WIDTH="2*"
 
954
ALIGN="center"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
 
955
><TR
 
956
><TD
 
957
>Roman</TD
 
958
><TD
 
959
>a</TD
 
960
><TD
 
961
>b</TD
 
962
><TD
 
963
>g</TD
 
964
><TD
 
965
>d</TD
 
966
><TD
 
967
>e</TD
 
968
><TD
 
969
>z</TD
 
970
><TD
 
971
>y</TD
 
972
><TD
 
973
>h</TD
 
974
><TD
 
975
>i</TD
 
976
><TD
 
977
>k</TD
 
978
><TD
 
979
>l</TD
 
980
><TD
 
981
>m</TD
 
982
></TR
 
983
><TR
 
984
><TD
 
985
>Greek</TD
 
986
><TD
 
987
>&#945;</TD
 
988
><TD
 
989
>&#946;</TD
 
990
><TD
 
991
>&#947;</TD
 
992
><TD
 
993
>&#948;</TD
 
994
><TD
 
995
>&#949;</TD
 
996
><TD
 
997
>&#950;</TD
 
998
><TD
 
999
>&#951;</TD
 
1000
><TD
 
1001
>&#952;</TD
 
1002
><TD
 
1003
>&#953;</TD
 
1004
><TD
 
1005
>&#954;</TD
 
1006
><TD
 
1007
>&#955;</TD
 
1008
><TD
 
1009
>&#956;</TD
 
1010
></TR
 
1011
></TBODY
 
1012
></TABLE
 
1013
><TABLE
 
1014
BORDER="1"
 
1015
FRAME="border"
 
1016
CLASS="CALSTABLE"
 
1017
><COL
 
1018
WIDTH="2*"
 
1019
ALIGN="center"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
 
1020
><TR
 
1021
><TD
 
1022
>Roman</TD
 
1023
><TD
 
1024
>n</TD
 
1025
><TD
 
1026
>c</TD
 
1027
><TD
 
1028
>o</TD
 
1029
><TD
 
1030
>p</TD
 
1031
><TD
 
1032
>r</TD
 
1033
><TD
 
1034
>s</TD
 
1035
><TD
 
1036
>t</TD
 
1037
><TD
 
1038
>u</TD
 
1039
><TD
 
1040
>f</TD
 
1041
><TD
 
1042
>x</TD
 
1043
><TD
 
1044
>q</TD
 
1045
><TD
 
1046
>w</TD
 
1047
></TR
 
1048
><TR
 
1049
><TD
 
1050
>Greek</TD
 
1051
><TD
 
1052
>&#957;</TD
 
1053
><TD
 
1054
>&#958;</TD
 
1055
><TD
 
1056
>&#959;</TD
 
1057
><TD
 
1058
>&#960;</TD
 
1059
><TD
 
1060
>&#961;</TD
 
1061
><TD
 
1062
>&#963;</TD
 
1063
><TD
 
1064
>&#964;</TD
 
1065
><TD
 
1066
>&#965;</TD
 
1067
><TD
 
1068
>&#966;</TD
 
1069
><TD
 
1070
>&#967;</TD
 
1071
><TD
 
1072
>&#968;</TD
 
1073
><TD
 
1074
>&#969;</TD
 
1075
></TR
 
1076
></TBODY
 
1077
></TABLE
 
1078
></DIV
 
1079
><P
 
1080
>      The escape sequences <TT
 
1081
CLASS="literal"
 
1082
>#fn</TT
 
1083
>, <TT
 
1084
CLASS="literal"
 
1085
>#fr</TT
 
1086
>,
 
1087
      <TT
 
1088
CLASS="literal"
 
1089
>#fi</TT
 
1090
>, <TT
 
1091
CLASS="literal"
 
1092
>#fs</TT
 
1093
>, and 
 
1094
      <TT
 
1095
CLASS="literal"
 
1096
>#(nnn)</TT
 
1097
> are designed for the four Hershey fonts, but
 
1098
      an effort has been made to allow some limited forward compatibility so
 
1099
      these escape sequences have a reasonable result when unicode
 
1100
      fonts are being used.  However, for maximum flexibility when using
 
1101
      unicode fonts, these 5 escape sequences should be replaced by using
 
1102
      the 4 escape sequences <TT
 
1103
CLASS="literal"
 
1104
>#[nnn]</TT
 
1105
>,
 
1106
      <TT
 
1107
CLASS="literal"
 
1108
>&#60;0x8nnnnnnn&#62;</TT
 
1109
>,
 
1110
      <TT
 
1111
CLASS="literal"
 
1112
>&#60;0xmn&#62;</TT
 
1113
>, or <TT
 
1114
CLASS="literal"
 
1115
>&#60;FCI COMMAND
 
1116
      STRING/&#62;</TT
 
1117
> as appropriate.
 
1118
    </P
 
1119
></DIV
 
1120
><DIV
 
1121
CLASS="sect2"
 
1122
><H2
 
1123
CLASS="sect2"
 
1124
><A
 
1125
NAME="character-size"
 
1126
>Character size adjustment</A
 
1127
></H2
193
1128
><P
194
1129
>      The routine <A
195
1130
HREF="plschr.html"
229
1164
>plschr</CODE
230
1165
></A
231
1166
>
232
 
      with <VAR
233
 
CLASS="literal"
234
 
>def = 0.0</VAR
235
 
> and <VAR
236
 
CLASS="literal"
237
 
>scale</VAR
 
1167
      with <TT
 
1168
CLASS="literal"
 
1169
>def = 0.0</TT
 
1170
> and <TT
 
1171
CLASS="literal"
 
1172
>scale</TT
238
1173
> set to
239
1174
      the desired multiple of the default height.  If the default height is
240
 
      to be changed, <VAR
 
1175
      to be changed, <TT
241
1176
CLASS="literal"
242
 
>def</VAR
 
1177
>def</TT
243
1178
> is set to the new default
244
1179
      height in millimeters, and the new character height is again set to
245
 
      <VAR
246
 
CLASS="literal"
247
 
>def</VAR
248
 
> multiplied by <VAR
249
 
CLASS="literal"
250
 
>scale</VAR
 
1180
      <TT
 
1181
CLASS="literal"
 
1182
>def</TT
 
1183
> multiplied by <TT
 
1184
CLASS="literal"
 
1185
>scale</TT
251
1186
>.
252
1187
    </P
253
1188
><P
257
1192
CLASS="function"
258
1193
>plssym</CODE
259
1194
></A
260
 
> sets up the size of all subsequent symbols drawn
 
1195
> sets up the size of all subsequent characters drawn
261
1196
      by calls to <A
262
1197
HREF="plpoin.html"
263
1198
><CODE
279
1214
></A
280
1215
> as described above.
281
1216
    </P
282
 
><P
283
 
>      The lengths of major and minor ticks on the axes are set up by the
284
 
      routines <A
285
 
HREF="plsmaj.html"
286
 
><CODE
287
 
CLASS="function"
288
 
>plsmaj</CODE
289
 
></A
290
 
> and <A
291
 
HREF="plsmin.html"
292
 
><CODE
293
 
CLASS="function"
294
 
>plsmin</CODE
295
 
></A
296
 
>.
297
 
    </P
 
1217
></DIV
298
1218
></DIV
299
1219
><DIV
300
1220
CLASS="NAVFOOTER"
330
1250
ALIGN="right"
331
1251
VALIGN="top"
332
1252
><A
333
 
HREF="escape-sequences.html"
 
1253
HREF="tri-d-plots.html"
334
1254
ACCESSKEY="N"
335
1255
>Next</A
336
1256
></TD
354
1274
WIDTH="33%"
355
1275
ALIGN="right"
356
1276
VALIGN="top"
357
 
>Escape Sequences in Text</TD
 
1277
>Three Dimensional Surface Plots</TD
358
1278
></TR
359
1279
></TABLE
360
1280
></DIV