Fluent graphics: how to control font size, font style, color range skip value

How to set a particular font style or size in the graphics windows?
How to reduce number of color range labels associated with contour plots?
As a general note, there is no single global settting that will affect all parts
of the graphics window. Each part (captions, color range scale, and text annotations) can be controled separatly.

Here are several useful commands for control of the

Type the commands in the cortex window as is, i.e. including parenthesis,
then *re-display* the graphics to see the effects.


1. Captions (area at the bottom of the graphics window):

-To set font size in the Captions area, type:
(cxsetvar 'frame/title/font (format #f "size=0.2wru"))
0.2 is default. Modify the number as needed.

-To change the font type of the Captions to roman, for example, type:
(cxsetvar 'frame/title/font "name=roman")
Tip: the "Annotate" panel can be used to determine what font types are available.

2. Color Range area:

-To set the font style in the Color Range area, type:
(cxsetvar 'scale/font "name=roman")

-To set the skip value for the color range label, type:
(cxsetvar 'scale/skip-override 2)

Modify the number as needed.
0 - will calculate the skip based on font size
1 - will show every label
2 - will show every other label
3 - every third label,
and so on.


3. Annotation area:

-To change font in the text annotation area, use the Annotate panel (to open, click on Display > Annotate).


Show Form
No comments yet. Be the first to add a comment!