Skip to content
Snippets Groups Projects
Commit 619d903f authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

correct PS output

parent 3c22276d
No related branches found
No related tags found
No related merge requests found
- Code cleanup: decoupled plot window administration from the actual plotting
Release 2.3.6c of 17mar17:
- New command dv to display list of defined variables
......
......@@ -34,8 +34,9 @@ void CPS_Plotter::plot_frame(
X = &_X;
Y = &_Y;
ps_accu += str(format("\n%i %g %g xSetCoord\n") % X->logflag % X->inf % X->sup);
ps_accu += str(format("\n%i %g %g ySetCoord\n") % Y->logflag % Y->inf % Y->sup);
ps_accu += "\n";
ps_accu += str(format("%1i %g %g xSetCoord\n") % X->logflag % X->inf % X->sup);
ps_accu += str(format("%1i %g %g ySetCoord\n") % Y->logflag % Y->inf % Y->sup);
int ntpt;
double ticklim[2];
......@@ -63,7 +64,8 @@ void CPS_Plotter::plot_frame(
" 0 10 0 0 90 0 OneAxx Axx Tic Tac yNumL %% left y axis\n"
" 0 10 10 0 90 180 OneAxx Axx Tic Tac %% right y axis\n"
" yCL\n"
"} def\n\n";
"} def\n\n"
"plotbefore\n\n";
}
void CPS_Plotter::add_spec(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment