1SAVELOFIG(3)             MBK LOGICAL UTILITY FUNCTIONS            SAVELOFIG(3)
2
3
4

NAME

6       savelofig - save a logical figure on disk
7

SYNOPSIS

9       #include "mlu.h"
10       void savelofig(ptfig)
11       lofig_list ∗ptfig;
12

PARAMETER

14       ptfig               Pointer to the lofig to be written on disk
15

DESCRIPTION

17       savelofig  writes  on  disk  the  contents  of the figure pointer to by
18       ptfig. All the figure  lists  are  ran  through,  and  the  appropriate
19       objects written, independently of the figure mode.
20       The  savelofig  function in fact performs a call to a driver, chosen by
21       the MBK_OUT_LO(1) environment variable. The directory in which the file
22       is to be written is the one set by MBK_WORK_LIB(1).  See MBK_OUT_LO(1),
23       MBK_WORK_LIB(1) and mbkenv(3) for details.
24

ERRORS

26       "∗∗∗ mbk error ∗∗∗ not supported logical output format 'xxx'"
27              The environment variable MBK_OUT_LO is not set to a legal  logi‐
28              cal format.
29       "∗∗∗ mbk error ∗∗∗ savelofig : could not open file figname.ext"
30              Either  the  directory  or the file are write protected, so it's
31              not possible to open figname.ext, where ext is the  file  format
32              extension, for writing.
33

EXAMPLE

35       #include "mlu.h"
36       void save_na2_y()
37       {
38          savelofig(getlofig("na2_y"));
39       }
40

SEE ALSO

42       mbk(1),  mbkenv(3),  lofig(3),  addlofig(3),  getlofig(3), dellofig(3),
43       loadlofig(3),   flattenlofig(3),    rflattenlofig(3),    MBK_OUT_LO(1),
44       MBK_WORK_LIB(1).
45
46
47
48
49
50
51ASIM/LIP6                       October 1, 1997                   SAVELOFIG(3)
Impressum