45 os <<
"set term postscript color" <<
nl 46 <<
"set output \"" <<
word(g.
title()) <<
".ps\"" <<
nl 47 <<
"set title " << g.
title() <<
" offset 0,0" <<
nl 49 <<
"set xlabel " << g.
xName() <<
" offset 0,0" <<
nl 50 <<
"show xlabel" <<
nl 51 <<
"set ylabel " << g.
yName() <<
" offset 0,0" <<
nl 52 <<
"show ylabel" <<
nl 55 bool firstField =
true;
65 os <<
"'-' title " << iter()->
name() <<
" with lines";
67 os <<
"; pause -1" <<
nl;
73 writeXY(g.
x(), *iter(), os);
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
static const word ext_
FileName extension for this graph format.
Class to create, store and output qgraph files.
graph::writer graphWriter
A class for handling words, derived from string.
virtual const fileName & name() const
Return the name of the stream.
const string & xName() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
void write(const graph &, Ostream &os) const
Write graph in appropriate format.
const dimensionedVector & g
const string & yName() const
const string & title() const
const scalarField & x() const