Skip to content

Commit

Permalink
only "unset nonlinear" for gnuplot >= 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Sep 28, 2024
1 parent 183eb8f commit bce2571
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/PDL/Graphics/Gnuplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3058,12 +3058,14 @@ unset ylabel
unset cblabel
unset xrange
unset yrange
unset link x2
unset link y2
POS
$plotOptionsString .= <<'POS' if $gp_numversion >= 5.002;
unset nonlinear x
unset nonlinear y
unset nonlinear x2
unset nonlinear y2
unset link x2
unset link y2
POS
} else {
# In single-plot mode, just issue a reset. Multiple newlines to work around a gnuplot problem.
Expand Down

0 comments on commit bce2571

Please sign in to comment.