savelofig(3) save a logical figure on disk


#include "mlu.h"
void savelofig(ptfig)
lofig_list *ptfig;


Pointer to the lofig to be written on disk


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


"*** mbk error *** not supported logical output format 'xxx'"
The environment variable MBK_OUT_LO is not set to a legal logical format.
"*** mbk error *** savelofig : could not open file figname.ext"
Either the directory or the file are write protected, so it's not possible to open figname.ext, where ext is the file format extension, for writting.


#include "mlu.h"
void save_na2_y()