Update to gnuplot-5.4.0

OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=115
This commit is contained in:
2020-07-17 08:10:21 +00:00
committed by Git OBS Bridge
parent 72fa317d52
commit 54e9dcc4df
12 changed files with 147 additions and 168 deletions

View File

@@ -7,8 +7,8 @@
5 files changed, 34 insertions(+), 4 deletions(-)
--- demo/fit.dem
+++ demo/fit.dem 2018-05-07 07:11:51.433579608 +0000
@@ -10,6 +10,7 @@ set dummy x, y
+++ demo/fit.dem 2020-07-17 07:25:00.022670914 +0000
@@ -6,6 +6,7 @@ set dummy x, y
print "Some examples how data fitting using nonlinear least squares fit can be done."
print ''
@@ -16,7 +16,7 @@
print "We fit a straight line to the data -- only as a demo without physical meaning."
l(x) = y0 + m*x
@@ -29,6 +30,7 @@ set title 'data set and initial paramete
@@ -25,6 +26,7 @@ set title 'data set and initial paramete
plot 'lcdemo.dat', l(x)
pause -1 "Now start fitting... (-> return)"
@@ -24,7 +24,7 @@
fit l(x) 'lcdemo.dat' via y0, m
set title 'unweighted fit'
plot 'lcdemo.dat', l(x)
@@ -324,6 +326,7 @@ print ' "fit3.dat" u 1:2:3:4 via a0,
@@ -320,6 +322,7 @@ print ' "fit3.dat" u 1:2:3:4 via a0,
pause -1 "Press enter to proceed with the next example."
reset
@@ -32,7 +32,7 @@
print "\n"
print "The fit command can handle errors in the independent variable, too."
print "The problem shown here is Pearson's data with York's weights.\n"
@@ -429,6 +432,7 @@ print "to time."
@@ -425,6 +428,7 @@ print "to time."
print ''
pause -1 "Done with fitting demo (-> return)"
reset
@@ -41,8 +41,8 @@
# release datablock
undefine $PearsonYork
--- demo/poldat.dem
+++ demo/poldat.dem 2018-05-07 07:11:51.433579608 +0000
@@ -11,7 +11,7 @@ unset grid
+++ demo/poldat.dem 2020-07-17 07:25:00.022670914 +0000
@@ -7,7 +7,7 @@ unset grid
unset polar
set title "Primitive Smith Chart"
unset key
@@ -52,8 +52,8 @@
set rrange [-0 : 10]
set trange [-pi : pi]
--- demo/simple.dem
+++ demo/simple.dem 2018-05-07 07:11:51.433579608 +0000
@@ -8,14 +8,13 @@
+++ demo/simple.dem 2020-07-17 07:25:00.022670914 +0000
@@ -5,14 +5,13 @@
#
set title "Simple Plots" font ",20"
set key left box
@@ -70,8 +70,8 @@
pause -1 "Hit return to continue"
--- src/show.c
+++ src/show.c 2018-05-07 07:11:51.437579533 +0000
@@ -1078,6 +1078,15 @@ show_version(FILE *fp)
+++ src/show.c 2020-07-17 07:25:00.022670914 +0000
@@ -1076,6 +1076,15 @@ show_version(FILE *fp)
p /* type "help seeking-assistance" */
);
@@ -88,8 +88,8 @@
/* show version long */
if (almost_equals(c_token, "l$ong")) {
--- src/variable.c
+++ src/variable.c 2018-05-07 07:11:51.437579533 +0000
@@ -37,7 +37,10 @@ static char *RCSid() { return RCSid("$Id
+++ src/variable.c 2020-07-17 07:25:00.022670914 +0000
@@ -33,7 +33,10 @@
/* The Death of Global Variables - part one. */
#include <string.h>
@@ -101,7 +101,7 @@
#include "variable.h"
#include "alloc.h"
@@ -98,6 +101,17 @@ loadpath_handler(int action, char *path)
@@ -94,6 +97,17 @@ loadpath_handler(int action, char *path)
if (!loadpath)
{
char *envlib = getenv("GNUPLOT_LIB");
@@ -119,7 +119,7 @@
if (envlib) {
int len = strlen(envlib);
loadpath = gp_strdup(envlib);
@@ -106,6 +120,10 @@ loadpath_handler(int action, char *path)
@@ -102,6 +116,10 @@ loadpath_handler(int action, char *path)
/* convert all PATHSEPs to \0 */
PATHSEP_TO_NUL(loadpath);
} /* else: NULL = empty */