⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 com_xgraph.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
#include <stddef.h>#include <ngspice.h>#include <bool.h>#include <wordlist.h>#include "plotting/plotit.h"#include "com_xgraph.h"/* xgraph file plotargs */voidcom_xgraph(wordlist *wl){    char *fname;    bool tempf = FALSE;    if (wl) {        fname = wl->wl_word;        wl = wl->wl_next;    }    if (!wl) {	return;    }    if (cieq(fname, "temp") || cieq(fname, "tmp")) {        fname = smktemp("xg");        tempf = TRUE;    }    (void) plotit(wl, fname, "xgraph");#if 0    /* Leave temp file sitting around so xgraph can grab it from       background. */    if (tempf)        (void) unlink(fname);#endif    return;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -