14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

77 TERMINAL <strong>gnuplot</strong> 4.3 161<br />

Example:<br />

set terminal cgm ’Old English’<br />

set terminal cgm ’Tengwar’<br />

set terminal cgm ’Arabic’<br />

set output ’myfile.cgm’<br />

plot ...<br />

set output<br />

You cannot introduce a new font in a set label command.<br />

77.9.2 Fontsize<br />

Fonts are scaled assuming the page is 6 inches wide. If the size command is used to change the aspect<br />

ratio of the page or the CGM file is converted to a different width, the resulting font sizes will be scaled<br />

up or down accordingly. To change the assumed width, use the width option.<br />

77.9.3 Linewidth<br />

The linewidth option sets the width of lines in pt. The default width is 1 pt. Scaling is affected by the<br />

actual width of the page, as discussed under the fontsize and width options.<br />

77.9.4 Rotate<br />

The norotate option may be used to disable text rotation. For example, the CGM input filter for Word<br />

for Windows 6.0c can accept rotated text, but the DRAW editor within Word cannot. If you edit a<br />

graph (for example, to label a curve), all rotated text is restored to horizontal. The Y axis label will then<br />

extend beyond the clip boundary. With norotate, the Y axis label starts in a less attractive location,<br />

but the page can be edited without damage. The rotate option confirms the default behavior.<br />

77.9.5 Solid<br />

The solid option may be used to disable dashed line styles in the plots. This is useful when color is<br />

enabled and the dashing of the lines detracts from the appearance of the plot. The dashed option<br />

confirms the default behavior, which gives a different dash pattern to each curve.<br />

77.9.6 Size<br />

Default size of a CGM plot is 32599 units wide and 23457 units high for landscape, or 23457 units wide<br />

by 32599 units high for portrait.<br />

77.9.7 Width<br />

All distances in the CGM file are in abstract units. The application that reads the file determines the<br />

size of the final plot. By default, the width of the final plot is assumed to be 6 inches (15.24 cm). This<br />

distance is used to calculate the correct font size, and may be changed with the width option. The<br />

keyword should be followed by the width in points. (Here, a point is 1/72 inch, as in PostScript. This<br />

unit is known as a "big point" in TeX.) Gnuplot expressions can be used to convert from other units.<br />

Example:<br />

set terminal cgm width 432<br />

set terminal cgm width 6*72<br />

set terminal cgm width 10/2.54*72<br />

# default<br />

# same as above<br />

# 10 cm wide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!