Go to the documentation of this file.
45 os <<
"#set term postscript color" <<
endl
46 <<
"set output \"" <<
word(
g.title()) <<
".ps\"" <<
endl
47 <<
"set title " <<
g.title() <<
" 0,0" <<
endl <<
"show title" <<
endl
48 <<
"set xlabel " <<
g.xName() <<
" 0,0" <<
endl <<
"show xlabel" <<
endl
49 <<
"set ylabel " <<
g.yName() <<
" 0,0" <<
endl <<
"show ylabel" <<
endl
52 bool firstField =
true;
62 os <<
"'-' title " << iter()->
name() <<
" with lines";
64 os <<
"; pause -1" <<
endl;
Class to create, store and output qgraph files.
A class for handling words, derived from string.
void write(const graph &, Ostream &os) const
Write graph in appropriate format.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const dimensionedVector & g
Ostream & endl(Ostream &os)
Add newline and flush stream.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
graph::writer graphWriter
Macros for easy insertion into run-time selection tables.
static const word ext_
FileName extension for this graph format.
void writeXY(const scalarField &x, const scalarField &y, Ostream &) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
virtual const fileName & name() const
Return the name of the stream.