You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
#ifndef ngspice_PLOT_H
|
|
#define ngspice_PLOT_H
|
|
|
|
#include "ngspice/wordlist.h"
|
|
#include "ngspice/bool.h"
|
|
#include "ngspice/dvec.h"
|
|
#include "ngspice/hash.h"
|
|
|
|
struct ccom;
|
|
|
|
/* The information for a particular set of vectors that come from one
|
|
* plot. */
|
|
struct plot {
|
|
char *pl_title; /* The title card. */
|
|
char *pl_date; /* Date. */
|
|
char *pl_name; /* The plot name. */
|
|
char *pl_typename; /* Tran1, op2, etc. */
|
|
struct dvec *pl_dvecs; /* The data vectors in this plot. */
|
|
struct dvec *pl_scale; /* The "scale" for the rest of the vectors. */
|
|
struct plot *pl_next; /* List of plots. */
|
|
NGHASHPTR pl_lookup_table; /* for quick lookup of vectors */
|
|
wordlist *pl_commands; /* Commands to execute for this plot. */
|
|
struct variable *pl_env; /* The 'environment' for this plot. */
|
|
struct ccom *pl_ccom; /* The ccom struct for this plot. */
|
|
bool pl_written; /* Some or all of the vecs have been saved. */
|
|
bool pl_lookup_valid; /* vector lookup table valid */
|
|
int pl_ndims; /* Number of dimensions */
|
|
} ;
|
|
|
|
|
|
#endif
|