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

don't write y=0 to 2D plot

parent ccceb0bc
No related branches found
No related tags found
No related merge requests found
...@@ -553,9 +553,10 @@ namespace { ...@@ -553,9 +553,10 @@ namespace {
const CSpec* s = fd->VS(j); const CSpec* s = fd->VS(j);
vector<double> xlim = triv::histogram_limits(s->x); vector<double> xlim = triv::histogram_limits(s->x);
for (size_t i=0; i<s->size(); ++i) for (size_t i=0; i<s->size(); ++i)
plot->ps_line( if (s->y[i])
str(format("%13.7g wx %13.7g wx %13.7g wy %13.7g wy %13.7g wh t2d") plot->ps_line(
% xlim[i] % xlim[i+1] % zlim[j] % zlim[j+1] % s->y[i] ) ); str(format("%13.7g wx %13.7g wx %13.7g wy %13.7g wy %13.7g wh t2d")
% xlim[i] % xlim[i+1] % zlim[j] % zlim[j+1] % s->y[i] ) );
plot->ps_line(""); plot->ps_line("");
} }
plot->close_frame2D(fd->xco.str_ps(), fd->ZCo[0].str_ps(), fd->yco.str_ps()); plot->close_frame2D(fd->xco.str_ps(), fd->ZCo[0].str_ps(), fd->yco.str_ps());
......
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