diff --git a/src/dualplot.cpp b/src/dualplot.cpp index 52ed5927ffd8a3012fd571a68a5cfbcbcccf8050..62ac659459a321bda32e21ffccf0684f6165d59d 100644 --- a/src/dualplot.cpp +++ b/src/dualplot.cpp @@ -418,7 +418,7 @@ void NPlot::Line( const bool as_line, const int style_no, if ( as_line ) snprintf( outlin, LINSIZ, "%2d cstyle", 1 ); else - snprintf( outlin, LINSIZ, "%2d pstyle", style_no ); + snprintf( outlin, LINSIZ, "%2d pstyle", style_no+1 ); ps_accu.push_back( outlin ); snprintf( outlin, LINSIZ-2, " %% (%s -> %s)", xco.c_str(), yco.c_str() ); strncat( outlin, "\n", LINSIZ ); diff --git a/src/edif.cpp b/src/edif.cpp index c663595a035e322997693d2591c17d7d76ed37b4..67a8b80fb9bcb8556e22474cea171326c80fe698 100644 --- a/src/edif.cpp +++ b/src/edif.cpp @@ -1113,7 +1113,7 @@ void NEdif::Plot( bool add ) printf( " %d points > ymax\n", nyh ); } else { NPlot::Line( false, pstyle++, - fd->VS[j].x, fd->VS[j].y, e->Z(j), + xp, yp, e->Z(j), e->P()->xco.str(), e->P()->yco.str(), "data file "+strg(k)+" scan "+strg(j) ); }