From: <and...@us...> - 2012-02-28 11:48:27
|
Revision: 12184 http://plplot.svn.sourceforge.net/plplot/?rev=12184&view=rev Author: andrewross Date: 2012-02-28 11:48:16 +0000 (Tue, 28 Feb 2012) Log Message: ----------- Update Debian patches. Modified Paths: -------------- trunk/debian/patches/02_unset-python-path.diff trunk/debian/patches/08_nn_link_libm.diff Modified: trunk/debian/patches/02_unset-python-path.diff =================================================================== --- trunk/debian/patches/02_unset-python-path.diff 2012-02-28 11:36:40 UTC (rev 12183) +++ trunk/debian/patches/02_unset-python-path.diff 2012-02-28 11:48:16 UTC (rev 12184) @@ -7,12 +7,14 @@ @DPATCH@ ---- plplot/examples/python/CMakeLists.txt.old -+++ plplot/examples/python/CMakeLists.txt -@@ -214,7 +214,7 @@ +Index: plplot-5.9.9/examples/python/CMakeLists.txt +=================================================================== +--- plplot-5.9.9.orig/examples/python/CMakeLists.txt 2012-02-28 11:40:09.000000000 +0000 ++++ plplot-5.9.9/examples/python/CMakeLists.txt 2012-02-28 11:42:31.000000000 +0000 +@@ -241,7 +241,7 @@ @ONLY ) - + - set(python_location1 ${PYTHON_INSTDIR}) + set(python_location1) set(python_location2) Modified: trunk/debian/patches/08_nn_link_libm.diff =================================================================== --- trunk/debian/patches/08_nn_link_libm.diff 2012-02-28 11:36:40 UTC (rev 12183) +++ trunk/debian/patches/08_nn_link_libm.diff 2012-02-28 11:48:16 UTC (rev 12184) @@ -3,13 +3,28 @@ # Index: plplot-5.9.9/lib/nn/CMakeLists.txt =================================================================== ---- plplot-5.9.9.orig/lib/nn/CMakeLists.txt 2012-02-27 21:27:23.839569576 +0000 -+++ plplot-5.9.9/lib/nn/CMakeLists.txt 2012-02-27 21:28:06.623570811 +0000 -@@ -38,6 +38,15 @@ +--- plplot-5.9.9.orig/lib/nn/CMakeLists.txt 2012-02-28 11:40:08.000000000 +0000 ++++ plplot-5.9.9/lib/nn/CMakeLists.txt 2012-02-28 11:45:48.000000000 +0000 +@@ -38,6 +38,7 @@ endif(BUILD_SHARED_LIBS) add_library(csironn ${csironn_LIB_SRCS}) + + set_target_properties( + csironn + PROPERTIES +@@ -46,7 +47,22 @@ + COMPILE_FLAGS "-I${QHULL_INCLUDE_DIRS}" + INSTALL_NAME_DIR "${LIB_DIR}" + ) +- target_link_libraries(csironn ${QHULL_LIBRARIES}) ++ ++ set( ++ csironn_LINK_LIBRARIES ++ ${csironn_LINK_LIBRARIES} ++ ${QHULL_LIBRARIES} ++ ) ++ + if(MATH_LIB) + set( + csironn_LINK_LIBRARIES @@ -18,6 +33,7 @@ + ) + endif(MATH_LIB) + - set_target_properties( - csironn - PROPERTIES ++ target_link_libraries(csironn ${csironn_LINK_LIBRARIES}) + install(TARGETS csironn + EXPORT export_plplot + ARCHIVE DESTINATION ${LIB_DIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <and...@us...> - 2012-08-13 22:22:04
|
Revision: 12211 http://plplot.svn.sourceforge.net/plplot/?rev=12211&view=rev Author: andrewross Date: 2012-08-13 22:21:57 +0000 (Mon, 13 Aug 2012) Log Message: ----------- Add in Debian patches which were missed from previous commits. Added Paths: ----------- trunk/debian/patches/fix-boolean-operators.diff trunk/debian/patches/proper-path-handling.diff trunk/debian/patches/replace-deprecated-split.diff Added: trunk/debian/patches/fix-boolean-operators.diff =================================================================== --- trunk/debian/patches/fix-boolean-operators.diff (rev 0) +++ trunk/debian/patches/fix-boolean-operators.diff 2012-08-13 22:21:57 UTC (rev 12211) @@ -0,0 +1,213 @@ +Description: Fix the short-circuit boolean operators +Author: Rafael Laboissiere <ra...@la...> +Last-Update: 2012-03-31 + +--- plplot-5.9.9.orig/bindings/octave/PLplot/figure.m ++++ plplot-5.9.9/bindings/octave/PLplot/figure.m +@@ -183,7 +183,7 @@ function [n, driver, intp]= figure (n, d + endif + + ## the tk stuff +- if (0 & strcmp("tk", sprintf("%s",plgdev'))) ++ if (0 && strcmp("tk", sprintf("%s",plgdev'))) + if (! exist("tk_start") && nargin == 6) + error("Can't use this Tk feature of PLplot until tk_octave \ + is installed!\n") +@@ -234,7 +234,7 @@ function [n, driver, intp]= figure (n, d + #pladv(0); + #plflush;pleop; + +- if ( 0 & exist("__tk_name") & (strcmp("tk", sprintf("%s",plgdev')))) ++ if ( 0 && exist("__tk_name") && (strcmp("tk", sprintf("%s",plgdev')))) + eval(tk_receive(1)); + __pl.intp = __pl_matstr(__pl.intp, intp, strm); # tk interpreter name + unlink(init_file); +--- plplot-5.9.9.orig/bindings/octave/PLplot/shade.m ++++ plplot-5.9.9/bindings/octave/PLplot/shade.m +@@ -52,7 +52,7 @@ function shade(x, y, z, levels, cont ) + levels = 2; + endif + +- if (rows(x) > 1 & columns(x) > 1 & rows(y) > 1 & columns(y) > 1) ++ if (rows(x) > 1 && columns(x) > 1 && rows(y) > 1 && columns(y) > 1) + xymat = 1; + else + xymat = 0; +@@ -76,7 +76,7 @@ function shade(x, y, z, levels, cont ) + if (__pl.axis_st(strm)) + xm = __pl.axis(strm,1); xM = __pl.axis(strm,2); + if (xymat == 0) +- ix = find(x >= xm & x <= xM); ++ ix = find(x >= xm && x <= xM); + x=x(ix); z=z(:,ix); + xmm = min(x); + endif +@@ -84,7 +84,7 @@ function shade(x, y, z, levels, cont ) + if (length(__pl.axis(strm,:)) >= 4) + ym = __pl.axis(strm,3); yM = __pl.axis(strm,4); + if (xymat == 0) +- iy = find(y >= ym & y <= yM); ++ iy = find(y >= ym && y <= yM); + y=y(iy); z=z(iy,:); + ymm = min(y); + endif +@@ -113,8 +113,8 @@ function shade(x, y, z, levels, cont ) + ymm = ym = __pl.axis(strm,3); yM = __pl.axis(strm,4); + zm = __pl.axis(strm,5); zM = __pl.axis(strm,6); + if (xymat == 0) +- ix = find(x >= xm & x <= xM); +- iy = find(y >= ym & y <= yM); ++ ix = find(x >= xm && x <= xM); ++ iy = find(y >= ym && y <= yM); + z = z( iy, ix ); + x = x( ix ); + y = y( iy ); +@@ -122,10 +122,10 @@ function shade(x, y, z, levels, cont ) + endif + + maxx = max(max(x)); maxy = max(max(y)); minx = min(min(x)); miny = min(min(y)); +- if (columns(x)>1 & rows(x) == 1) ++ if (columns(x)>1 && rows(x) == 1) + x = x'; + endif +- if (columns(y)>1 & rows(y) == 1) ++ if (columns(y)>1 && rows(y) == 1) + y = y'; + endif + +@@ -154,7 +154,7 @@ function shade(x, y, z, levels, cont ) + cont_color, cont_width, max_color, max_width, 1, x, y); + endfor + else +- if (columns(x) == 1 & columns(y) == 1) ++ if (columns(x) == 1 && columns(y) == 1) + plshades1(z', minx, maxx, miny, maxy, + clevel', 1, cont_color, cont_width, 1, x, y); + else +--- plplot-5.9.9.orig/bindings/octave/PLplot/plot3.m ++++ plplot-5.9.9/bindings/octave/PLplot/plot3.m +@@ -32,11 +32,11 @@ function plot3 (x, y, z, fmt) + global __pl + strm = __pl_init; + +- if (nargin != 4 & nargin != 3) ++ if (nargin != 4 && nargin != 3) + error("plot3: not yet.\n"); + endif + +- if (isvector(x) & isvector(y) & isvector(y)) ++ if (isvector(x) && isvector(y) && isvector(y)) + + if (nargin == 3) + fmt = "-r"; +@@ -44,7 +44,7 @@ function plot3 (x, y, z, fmt) + + __pl_plot3(x, y, z, fmt); + +- elseif (ismatrix(x) & ismatrix(y) & ismatrix(z)) ++ elseif (ismatrix(x) && ismatrix(y) && ismatrix(z)) + + if (!common_size(x,y,z)) + +--- plplot-5.9.9.orig/bindings/octave/PLplot/fill.m ++++ plplot-5.9.9/bindings/octave/PLplot/fill.m +@@ -45,10 +45,10 @@ function fill(x, y, c) + error("fill: not yet.\n"); + endif + +- if (isvector(x) & isvector(y)) ++ if (isvector(x) && isvector(y)) + __pl_fill(x, y, c); + +- elseif (ismatrix(x) | ismatrix(y)) ++ elseif (ismatrix(x) || ismatrix(y)) + + if (rows(x) == rows(y)) + if (isvector(x)) +--- plplot-5.9.9.orig/bindings/octave/PLplot/save_fig.m ++++ plplot-5.9.9/bindings/octave/PLplot/save_fig.m +@@ -88,7 +88,7 @@ function save_fig(file, device, rev) + + device = dev; + +- if (nargin >= 1 && ischar(device) & ischar(file)) ++ if (nargin >= 1 && ischar(device) && ischar(file)) + + to_prt = 0; + if (strcmp(file,"|lp")) # special output file, printer! +@@ -97,7 +97,7 @@ function save_fig(file, device, rev) + fclose(fp); + elseif (file(1) == '~') + file = tilde_expand(file); +- elseif (exist("FIGDIR") & file(1) != '/' & file(1) != '.') ++ elseif (exist("FIGDIR") && file(1) != '/' && file(1) != '.') + file = [FIGDIR, '/', file]; + endif + +--- plplot-5.9.9.orig/bindings/octave/PLplot/support/__pl_logplotit.m ++++ plplot-5.9.9/bindings/octave/PLplot/support/__pl_logplotit.m +@@ -39,7 +39,7 @@ function __pl_logplotit + endif + elseif (__pl.type(strm) == 30) + if (any(y <= 0) || any(x <= 0)) +- expr = "ix = find(y > 0 & x > 0);"; ++ expr = "ix = find(y > 0 && x > 0);"; + else + break; + endif +--- plplot-5.9.9.orig/bindings/octave/PLplot/support/__pl_fill.m ++++ plplot-5.9.9/bindings/octave/PLplot/support/__pl_fill.m +@@ -31,7 +31,7 @@ function __pl_fill(x, y, c) + + strm = plgstrm+1; + +- if (isvector(x) & isvector(y)) ++ if (isvector(x) && isvector(y)) + if (columns(x) != 1) + x = x'; + y = y'; +@@ -55,7 +55,7 @@ function __pl_fill(x, y, c) + __pl_plenv(min(x), max(x), min(y), max(y), 0, -1); + endif + +- if (ischar(c) & length(c) == 1) ++ if (ischar(c) && length(c) == 1) + ## map to plplot color + coln = ['r','g','b','c','m','y','w','k']; + coli = [2, 4, 10, 12, 14, 3, 16, 1]; +@@ -67,11 +67,11 @@ function __pl_fill(x, y, c) + else + plcol1(c); + endif +- elseif (isvector(c) & length(c) == 3) ++ elseif (isvector(c) && length(c) == 3) + ## FIXME -- color 15 became permanently set! + plscol0(15, c(1), c(2), c(3)); + plcol0(15); +- elseif (isvector(c) & length(x) == length(x)) ++ elseif (isvector(c) && length(x) == length(x)) + + ## If C is a vector the same length as X and Y, its elements are + ## scaled by CAXIS and used as indices into the current COLORMAP to +--- plplot-5.9.9.orig/bindings/octave/PLplot/support/__pl_plot3.m ++++ plplot-5.9.9/bindings/octave/PLplot/support/__pl_plot3.m +@@ -20,7 +20,7 @@ function __pl_plot3(x, y, z, c) + + strm = plgstrm+1; + +- if (isvector(x) & isvector(y) & isvector(z)) ++ if (isvector(x) && isvector(y) && isvector(z)) + + if (columns(x) != 1) + x = x'; +--- plplot-5.9.9.orig/bindings/octave/PLplot/support/__pl_matstr.m ++++ plplot-5.9.9/bindings/octave/PLplot/support/__pl_matstr.m +@@ -20,7 +20,7 @@ + function out = __pl_matstr(mat, str, n) + + ## Octave damned string arrays are defective! +- if (ischar(str) & ischar(mat) & rows(str) == 1) ++ if (ischar(str) && ischar(mat) && rows(str) == 1) + if (isempty(mat)) + out(n,:) = str; + else Property changes on: trunk/debian/patches/fix-boolean-operators.diff ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/debian/patches/proper-path-handling.diff =================================================================== --- trunk/debian/patches/proper-path-handling.diff (rev 0) +++ trunk/debian/patches/proper-path-handling.diff 2012-08-13 22:21:57 UTC (rev 12211) @@ -0,0 +1,17 @@ +Description: Proper use of the rmpath function +Author: Rafael Laboissiere <ra...@la...> +Last-Update: 2012-03-31 + +--- plplot-5.9.9.orig/bindings/octave/PLplot/toggle_plplot_use.m ++++ plplot-5.9.9/bindings/octave/PLplot/toggle_plplot_use.m +@@ -34,9 +34,7 @@ endif + use_plplot_path = plplot_octave_path; + plplot_path_to_remove = strsplit(genpath(use_plplot_path),pathsep); + for use_plplot_i=1:size(plplot_path_to_remove)(1) +- if (findstr(path,deblank(plplot_path_to_remove(use_plplot_i,:))) > 0) +- rmpath(deblank(plplot_path_to_remove(use_plplot_i,:))); +- endif ++ rmpath(plplot_path_to_remove{use_plplot_i}); + endfor + + if (strcmp (use_plplot_state, "on")) Property changes on: trunk/debian/patches/proper-path-handling.diff ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/debian/patches/replace-deprecated-split.diff =================================================================== --- trunk/debian/patches/replace-deprecated-split.diff (rev 0) +++ trunk/debian/patches/replace-deprecated-split.diff 2012-08-13 22:21:57 UTC (rev 12211) @@ -0,0 +1,46 @@ +Description: Replace the calls to the deprecated split function +Author: Rafael Laboissiere <ra...@la...> +Last-Update: 2012-03-31 + +--- plplot-5.9.9.orig/bindings/octave/PLplot/figure.m ++++ plplot-5.9.9/bindings/octave/PLplot/figure.m +@@ -49,7 +49,7 @@ function [n, driver, intp]= figure (n, d + global pl_automatic_replot + + if (!exist("__pl") || !struct_contains (__pl,"inited")) +- v = split(version ,'.'); ++ v = char(strsplit(version ,'.')); + if (! ((str2num(v(1,:)) > 2) || + (str2num(v(1,:)) == 2 && str2num(v(2,:)) == 9 && + str2num(v(3,:)) >= 0))) +--- plplot-5.9.9.orig/bindings/octave/PLplot/toggle_plplot_use.m ++++ plplot-5.9.9/bindings/octave/PLplot/toggle_plplot_use.m +@@ -32,7 +32,7 @@ else + endif + + use_plplot_path = plplot_octave_path; +-plplot_path_to_remove = split(genpath(use_plplot_path),pathsep); ++plplot_path_to_remove = strsplit(genpath(use_plplot_path),pathsep); + for use_plplot_i=1:size(plplot_path_to_remove)(1) + if (findstr(path,deblank(plplot_path_to_remove(use_plplot_i,:))) > 0) + rmpath(deblank(plplot_path_to_remove(use_plplot_i,:))); +--- plplot-5.9.9.orig/plplot_test/test_octave.sh.in ++++ plplot-5.9.9/plplot_test/test_octave.sh.in +@@ -45,7 +45,7 @@ + endif + + plplot_stub; +-t = split("$options", "-"); ++t = char(strsplit("$options", "-")); + if (t); t(1,:)=""; endif; + for i=1:rows(t) + tt = deblank (t(i,:)); len = length(tt); +@@ -83,7 +83,7 @@ + if (verbose_test) + printf("%s\n",cmd); + endif +- t = split("$options", "-"); ++ t = char(strsplit("$options", "-")); + if (t) ; t(1,:)=""; endif + for j=1:rows(t) + tt = deblank (t(j,:)); len = length(tt); Property changes on: trunk/debian/patches/replace-deprecated-split.diff ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <and...@us...> - 2014-02-28 13:20:29
|
Revision: 13030 http://sourceforge.net/p/plplot/code/13030 Author: andrewross Date: 2014-02-28 13:20:26 +0000 (Fri, 28 Feb 2014) Log Message: ----------- Update Debian package support for 5.9.10. Note this won't currently work on sid as it requires swig-2.0.12 which is not yet available. Modified Paths: -------------- trunk/debian/patches/fix-lua-includes.diff trunk/debian/patches/series Added Paths: ----------- trunk/debian/patches/octave_3.8_support.diff Removed Paths: ------------- trunk/debian/patches/fix-d-examples.diff trunk/debian/patches/fix-python-exec-bit.diff Deleted: trunk/debian/patches/fix-d-examples.diff =================================================================== --- trunk/debian/patches/fix-d-examples.diff 2014-02-28 13:18:53 UTC (rev 13029) +++ trunk/debian/patches/fix-d-examples.diff 2014-02-28 13:20:26 UTC (rev 13030) @@ -1,15 +0,0 @@ -Description: Fix D examples -Author: Andrew Ross <and...@us...> -Origin: upstream -Index: plplot-5.9.10/examples/d/x20d.d -=================================================================== ---- plplot-5.9.10.orig/examples/d/x20d.d 2013-10-02 10:27:39.162480034 +0100 -+++ plplot-5.9.10/examples/d/x20d.d 2013-10-02 10:29:03.410477825 +0100 -@@ -6,6 +6,7 @@ - - import std.math; - import std.stdio; -+import std.file; - - import plplot; - Modified: trunk/debian/patches/fix-lua-includes.diff =================================================================== --- trunk/debian/patches/fix-lua-includes.diff 2014-02-28 13:18:53 UTC (rev 13029) +++ trunk/debian/patches/fix-lua-includes.diff 2014-02-28 13:20:26 UTC (rev 13030) @@ -3,10 +3,10 @@ Last-Update: 2012-07-19 =================================================================== -Index: plplot-5.9.10/cmake/modules/lua.cmake +Index: plplot-5.10.0/cmake/modules/lua.cmake =================================================================== ---- plplot-5.9.10.orig/cmake/modules/lua.cmake 2013-10-01 13:10:33.183293316 +0100 -+++ plplot-5.9.10/cmake/modules/lua.cmake 2013-10-01 13:10:33.171293317 +0100 +--- plplot-5.10.0.orig/cmake/modules/lua.cmake 2013-05-03 03:41:21.000000000 +0100 ++++ plplot-5.10.0/cmake/modules/lua.cmake 2014-02-28 09:52:40.000000000 +0000 @@ -86,3 +86,11 @@ set(LUA_DIR ${LIB_DIR}/lua/${LUA_VERSION}/plplot) endif(LUA_VERSION MATCHES "5\\.0") Deleted: trunk/debian/patches/fix-python-exec-bit.diff =================================================================== --- trunk/debian/patches/fix-python-exec-bit.diff 2014-02-28 13:18:53 UTC (rev 13029) +++ trunk/debian/patches/fix-python-exec-bit.diff 2014-02-28 13:20:26 UTC (rev 13030) @@ -1,23 +0,0 @@ -Description: Fix incorrect executable bit on python script -Author: Andrew Ross <and...@us...> -Origin: upstream -Index: plplot-5.9.10/examples/python/CMakeLists.txt -=================================================================== ---- plplot-5.9.10.orig/examples/python/CMakeLists.txt 2013-10-01 13:10:53.000000000 +0100 -+++ plplot-5.9.10/examples/python/CMakeLists.txt 2013-10-03 09:21:13.601454559 +0100 -@@ -79,7 +79,6 @@ - xw17.py - xw31.py - plplot_logo.py -- plplot_py_demos.py - test_circle.py - test_axis_precision.py - test_symbol_clip.py -@@ -142,6 +141,7 @@ - set( - python_DATA - ${python_DATA} -+ plplot_py_demos.py - README.pythondemos - README.rendering_tests - README.logo Added: trunk/debian/patches/octave_3.8_support.diff =================================================================== --- trunk/debian/patches/octave_3.8_support.diff (rev 0) +++ trunk/debian/patches/octave_3.8_support.diff 2014-02-28 13:20:26 UTC (rev 13030) @@ -0,0 +1,832 @@ +--- a/examples/octave/x23c.m ++++ b/examples/octave/x23c.m +@@ -1,5 +1,3 @@ +-## $Id: x23c.m 11680 2011-03-27 17:57:51Z airwin $ +-## + ## Displays Greek letters and mathematically interesting Unicode ranges + ## Copyright (C) 2005 Alan Irwin + ## Copyright (C) 2005 Andrew Ross +@@ -34,186 +32,186 @@ + endif + + +- Greek = [\ +-"#gA";"#gB";"#gG";"#gD";"#gE";"#gZ";"#gY";"#gH";"#gI";"#gK";"#gL";"#gM";\ +-"#gN";"#gC";"#gO";"#gP";"#gR";"#gS";"#gT";"#gU";"#gF";"#gX";"#gQ";"#gW";\ +-"#ga";"#gb";"#gg";"#gd";"#ge";"#gz";"#gy";"#gh";"#gi";"#gk";"#gl";"#gm";\ +-"#gn";"#gc";"#go";"#gp";"#gr";"#gs";"#gt";"#gu";"#gf";"#gx";"#gq";"#gw";\ ++ Greek = [... ++"#gA";"#gB";"#gG";"#gD";"#gE";"#gZ";"#gY";"#gH";"#gI";"#gK";"#gL";"#gM"; ++"#gN";"#gC";"#gO";"#gP";"#gR";"#gS";"#gT";"#gU";"#gF";"#gX";"#gQ";"#gW"; ++"#ga";"#gb";"#gg";"#gd";"#ge";"#gz";"#gy";"#gh";"#gi";"#gk";"#gl";"#gm"; ++"#gn";"#gc";"#go";"#gp";"#gr";"#gs";"#gt";"#gu";"#gf";"#gx";"#gq";"#gw"; + ]; + +- Type1 = [\ +-0x0020,0x0021,0x0023,0x0025,0x0026,\ +-0x0028,0x0029,0x002b,0x002c,0x002e,\ +-0x002f,0x0030,0x0031,0x0032,0x0033,\ +-0x0034,0x0035,0x0036,0x0037,0x0038,\ +-0x0039,0x003a,0x003b,0x003c,0x003d,\ +-0x003e,0x003f,0x005b,0x005d,0x005f,\ +-0x007b,0x007c,0x007d,0x00a9,0x00ac,\ +-0x00ae,0x00b0,0x00b1,0x00d7,0x00f7,\ +-0x0192,0x0391,0x0392,0x0393,0x0394,\ +-0x0395,0x0396,0x0397,0x0398,0x0399,\ +-0x039a,0x039b,0x039c,0x039d,0x039e,\ +-0x039f,0x03a0,0x03a1,0x03a3,0x03a4,\ +-0x03a5,0x03a6,0x03a7,0x03a8,0x03a9,\ +-0x03b1,0x03b2,0x03b3,0x03b4,0x03b5,\ +-0x03b6,0x03b7,0x03b8,0x03b9,0x03ba,\ +-0x03bb,0x03bc,0x03bd,0x03be,0x03bf,\ +-0x03c0,0x03c1,0x03c2,0x03c3,0x03c4,\ +-0x03c5,0x03c6,0x03c7,0x03c8,0x03c9,\ +-0x03d1,0x03d2,0x03d5,0x03d6,0x2022,\ +-0x2026,0x2032,0x2033,0x203e,0x2044,\ +-0x2111,0x2118,0x211c,0x2122,0x2126,\ +-0x2135,0x2190,0x2191,0x2192,0x2193,\ +-0x2194,0x21b5,0x21d0,0x21d1,0x21d2,\ +-0x21d3,0x21d4,0x2200,0x2202,0x2203,\ +-0x2205,0x2206,0x2207,0x2208,0x2209,\ +-0x220b,0x220f,0x2211,0x2212,0x2215,\ +-0x2217,0x221a,0x221d,0x221e,0x2220,\ +-0x2227,0x2228,0x2229,0x222a,0x222b,\ +-0x2234,0x223c,0x2245,0x2248,0x2260,\ +-0x2261,0x2264,0x2265,0x2282,0x2283,\ +-0x2284,0x2286,0x2287,0x2295,0x2297,\ +-0x22a5,0x22c5,0x2320,0x2321,0x2329,\ +-0x232a,0x25ca,0x2660,0x2663,0x2665,\ +-0x2666,\ +-]; +- +- title = {\ +-"#<0x10>PLplot Example 23 - Greek Letters";\ +-"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (a)";\ +-"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (b)";\ +-"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (c)";\ +-"#<0x10>PLplot Example 23 - Number Forms Unicode Block";\ +-"#<0x10>PLplot Example 23 - Arrows Unicode Block (a)";\ +-"#<0x10>PLplot Example 23 - Arrows Unicode Block (b)";\ +-"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (a)";\ +-"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (b)";\ +-"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (c)";\ +-"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (d)"\ ++ Type1 = [... ++0x0020,0x0021,0x0023,0x0025,0x0026,... ++0x0028,0x0029,0x002b,0x002c,0x002e,... ++0x002f,0x0030,0x0031,0x0032,0x0033,... ++0x0034,0x0035,0x0036,0x0037,0x0038,... ++0x0039,0x003a,0x003b,0x003c,0x003d,... ++0x003e,0x003f,0x005b,0x005d,0x005f,... ++0x007b,0x007c,0x007d,0x00a9,0x00ac,... ++0x00ae,0x00b0,0x00b1,0x00d7,0x00f7,... ++0x0192,0x0391,0x0392,0x0393,0x0394,... ++0x0395,0x0396,0x0397,0x0398,0x0399,... ++0x039a,0x039b,0x039c,0x039d,0x039e,... ++0x039f,0x03a0,0x03a1,0x03a3,0x03a4,... ++0x03a5,0x03a6,0x03a7,0x03a8,0x03a9,... ++0x03b1,0x03b2,0x03b3,0x03b4,0x03b5,... ++0x03b6,0x03b7,0x03b8,0x03b9,0x03ba,... ++0x03bb,0x03bc,0x03bd,0x03be,0x03bf,... ++0x03c0,0x03c1,0x03c2,0x03c3,0x03c4,... ++0x03c5,0x03c6,0x03c7,0x03c8,0x03c9,... ++0x03d1,0x03d2,0x03d5,0x03d6,0x2022,... ++0x2026,0x2032,0x2033,0x203e,0x2044,... ++0x2111,0x2118,0x211c,0x2122,0x2126,... ++0x2135,0x2190,0x2191,0x2192,0x2193,... ++0x2194,0x21b5,0x21d0,0x21d1,0x21d2,... ++0x21d3,0x21d4,0x2200,0x2202,0x2203,... ++0x2205,0x2206,0x2207,0x2208,0x2209,... ++0x220b,0x220f,0x2211,0x2212,0x2215,... ++0x2217,0x221a,0x221d,0x221e,0x2220,... ++0x2227,0x2228,0x2229,0x222a,0x222b,... ++0x2234,0x223c,0x2245,0x2248,0x2260,... ++0x2261,0x2264,0x2265,0x2282,0x2283,... ++0x2284,0x2286,0x2287,0x2295,0x2297,... ++0x22a5,0x22c5,0x2320,0x2321,0x2329,... ++0x232a,0x25ca,0x2660,0x2663,0x2665,... ++0x2666,... ++]; ++ ++ title = { ++"#<0x10>PLplot Example 23 - Greek Letters"; ++"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (a)"; ++"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (b)"; ++"#<0x10>PLplot Example 23 - Type 1 Symbol Font Glyphs by Unicode (c)"; ++"#<0x10>PLplot Example 23 - Number Forms Unicode Block"; ++"#<0x10>PLplot Example 23 - Arrows Unicode Block (a)"; ++"#<0x10>PLplot Example 23 - Arrows Unicode Block (b)"; ++"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (a)"; ++"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (b)"; ++"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (c)"; ++"#<0x10>PLplot Example 23 - Mathematical Operators Unicode Block (d)" + }; + +- lo = [\ +-0x0,\ +-0x0,\ +-0x40,\ +-0x80,\ +-0x2153,\ +-0x2190,\ +-0x21d0,\ +-0x2200,\ +-0x2240,\ +-0x2280,\ +-0x22c0,\ +-]; +- +- hi = [\ +-0x30,\ +-0x40,\ +-0x80,\ +-0xA6,\ +-0x2184,\ +-0x21d0,\ +-0x2200,\ +-0x2240,\ +-0x2280,\ +-0x22c0,\ +-0x2300,\ +-]; +- +- nxcells = [\ +-12,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-]; +- +-nycells = [\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ +-8,\ ++ lo = [ ++0x0, ++0x0, ++0x40, ++0x80, ++0x2153, ++0x2190, ++0x21d0, ++0x2200, ++0x2240, ++0x2280, ++0x22c0, ++]; ++ ++ hi = [ ++0x30, ++0x40, ++0x80, ++0xA6, ++0x2184, ++0x21d0, ++0x2200, ++0x2240, ++0x2280, ++0x22c0, ++0x2300, ++]; ++ ++ nxcells = [ ++12, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++]; ++ ++nycells = [ ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, ++8, + ]; + + ## non-zero values Must be consistent with nxcells and nycells. +-offset = [\ +-0,\ +-0,\ +-64,\ +-128,\ +-0,\ +-0,\ +-0,\ +-0,\ +-0,\ +-0,\ +-0,\ ++offset = [ ++0, ++0, ++64, ++128, ++0, ++0, ++0, ++0, ++0, ++0, ++0, + ]; + + ## 30 possible FCI values. + FCI_COMBINATIONS = 30; + +-fci = [\ +-0x80000000,\ +-0x80000001,\ +-0x80000002,\ +-0x80000003,\ +-0x80000004,\ +-0x80000010,\ +-0x80000011,\ +-0x80000012,\ +-0x80000013,\ +-0x80000014,\ +-0x80000020,\ +-0x80000021,\ +-0x80000022,\ +-0x80000023,\ +-0x80000024,\ +-0x80000100,\ +-0x80000101,\ +-0x80000102,\ +-0x80000103,\ +-0x80000104,\ +-0x80000110,\ +-0x80000111,\ +-0x80000112,\ +-0x80000113,\ +-0x80000114,\ +-0x80000120,\ +-0x80000121,\ +-0x80000122,\ +-0x80000123,\ +-0x80000124,\ +-]; +- +-family = [\ +- "sans-serif";\ +- "serif";\ +- "monospace";\ +- "script";\ +- "symbol"\ +-]; +-style = [\ +- "upright";\ +- "italic";\ +- "oblique"\ +-]; +-weight = [\ +- "medium";\ +- "bold"\ ++fci = [ ++0x80000000, ++0x80000001, ++0x80000002, ++0x80000003, ++0x80000004, ++0x80000010, ++0x80000011, ++0x80000012, ++0x80000013, ++0x80000014, ++0x80000020, ++0x80000021, ++0x80000022, ++0x80000023, ++0x80000024, ++0x80000100, ++0x80000101, ++0x80000102, ++0x80000103, ++0x80000104, ++0x80000110, ++0x80000111, ++0x80000112, ++0x80000113, ++0x80000114, ++0x80000120, ++0x80000121, ++0x80000122, ++0x80000123, ++0x80000124, ++]; ++ ++family = [ ++ "sans-serif"; ++ "serif"; ++ "monospace"; ++ "script"; ++ "symbol" ++]; ++style = [ ++ "upright"; ++ "italic"; ++ "oblique" ++]; ++weight = [ ++ "medium"; ++ "bold" + ]; + + +--- a/examples/octave/x28c.m ++++ b/examples/octave/x28c.m +@@ -1,5 +1,3 @@ +-## $Id: x28c.m 11680 2011-03-27 17:57:51Z airwin $ +-## + ## plmtex3, plptex3 demo + ## + ## Copyright (C) 2007 Alan Irwin +@@ -86,8 +84,8 @@ + plw3d(1.0, 1.0, 1.0, xmin, xmax, ymin, ymax, zmin, zmax, 20., 45.); + + plcol0(2); +- plbox3("b", "", xrange, 0, \ +- "b", "", yrange, 0, \ ++ plbox3("b", "", xrange, 0, ++ "b", "", yrange, 0, + "bcd", "", zrange, 0); + + ## z = zmin. +@@ -102,9 +100,9 @@ + x_shear = -0.5*xrange*sin_omega; + y_shear = 0.5*yrange*cos_omega; + z_shear = 0.; +- plptex3(xmid, ymid, zmin, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3(xmid, ymid, zmin, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.0, " revolution"); + endfor + ## x = xmax. +@@ -119,9 +117,9 @@ + x_shear = 0.; + y_shear = 0.5*yrange*sin_omega; + z_shear = 0.5*zrange*cos_omega; +- plptex3(xmax, ymid, zmid, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3(xmax, ymid, zmid, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.0, " revolution"); + endfor + +@@ -137,10 +135,10 @@ + x_shear = -0.5*xrange*sin_omega; + y_shear = 0.; + z_shear = 0.5*zrange*cos_omega; +- plptex3( \ +- xmid, ymax, zmid, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmid, ymax, zmid, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.0, " revolution"); + endfor + ## Draw minimal 3D grid to finish defining the 3D box. +@@ -153,8 +151,8 @@ + plw3d(1.0, 1.0, 1.0, xmin, xmax, ymin, ymax, zmin, zmax, 20., 45.); + + plcol0(2); +- plbox3("b", "", xrange, 0, \ +- "b", "", yrange, 0, \ ++ plbox3("b", "", xrange, 0, ++ "b", "", yrange, 0, + "bcd", "", zrange, 0); + + ## y = ymax. +@@ -170,10 +168,10 @@ + y_shear = 0.5*yrange*sin_omega; + z_shear = 0.5*zrange*cos_omega; + zs = zsmax - dzsrot*i; +- plptex3( \ +- xmid, ymax, zs, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmid, ymax, zs, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "rotation for y = y#dmax#u"); + endfor + +@@ -190,10 +188,10 @@ + x_shear = 0.5*xrange*sin_omega; + z_shear = 0.5*zrange*cos_omega; + zs = zsmax - dzsrot*i; +- plptex3( \ +- xmax, ymid, zs, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmax, ymid, zs, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "rotation for x = x#dmax#u"); + endfor + +@@ -210,10 +208,10 @@ + y_shear = 0.5*yrange*cos_omega; + z_shear = 0.5*zrange*sin_omega; + ys = ysmax - dysrot*i; +- plptex3( \ +- xmid, ys, zmin, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmid, ys, zmin, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "rotation for z = z#dmin#u"); + endfor + ## Draw minimal 3D grid to finish defining the 3D box. +@@ -230,8 +228,8 @@ + plw3d(1.0, 1.0, 1.0, xmin, xmax, ymin, ymax, zmin, zmax, 20., 45.); + + plcol0(2); +- plbox3("b", "", xrange, 0, \ +- "b", "", yrange, 0, \ ++ plbox3("b", "", xrange, 0, ++ "b", "", yrange, 0, + "bcd", "", zrange, 0); + + ## y = ymax. +@@ -247,10 +245,10 @@ + x_shear = 0.5*xrange*sin_omega; + z_shear = 0.5*zrange*cos_omega; + zs = zsmax-dzsshear*i; +- plptex3( \ +- xmid, ymax, zs, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmid, ymax, zs, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "shear for y = y#dmax#u"); + endfor + +@@ -267,10 +265,10 @@ + y_shear = -0.5*yrange*sin_omega; + z_shear = 0.5*zrange*cos_omega; + zs = zsmax-dzsshear*i; +- plptex3( \ +- xmax, ymid, zs, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xmax, ymid, zs, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "shear for x = x#dmax#u"); + endfor + +@@ -287,10 +285,10 @@ + y_shear = 0.5*yrange*cos_omega; + x_shear = 0.5*xrange*sin_omega; + ys = ysmax-dysshear*i; +- plptex3( \ +- xmid, ys, zmin, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3 ++ xmid, ys, zmin, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, "shear for z = z#dmin#u"); + endfor + ## Draw minimal 3D grid to finish defining the 3D box. +@@ -303,8 +301,8 @@ + plw3d(1.0, 1.0, 1.0, xmin, xmax, ymin, ymax, zmin, zmax, 40., -30.); + + plcol0(2); +- plbox3("b", "", xrange, 0, \ +- "b", "", yrange, 0, \ ++ plbox3("b", "", xrange, 0, ++ "b", "", yrange, 0, + "bcd", "", zrange, 0); + + plschr(0., 1.2); +@@ -334,10 +332,10 @@ + y_shear = 0.; + z_shear = 1.; + p1string = pstring(i:i); +- plptex3( \ +- xpos, ypos, zpos, \ +- x_inclination, y_inclination, z_inclination, \ +- x_shear, y_shear, z_shear, \ ++ plptex3( ++ xpos, ypos, zpos, ++ x_inclination, y_inclination, z_inclination, ++ x_shear, y_shear, z_shear, + 0.5, p1string); + omega += domega; + endfor +@@ -351,8 +349,8 @@ + plw3d(1.0, 1.0, 1.0, xmin, xmax, ymin, ymax, zmin, zmax, 20., 45.); + + plcol0(2); +- plbox3("b", "", xrange, 0, \ +- "b", "", yrange, 0, \ ++ plbox3("b", "", xrange, 0, ++ "b", "", yrange, 0, + "bcd", "", zrange, 0); + + plschr(0., 1.0); +@@ -377,4 +375,4 @@ + + endfunction + +-ix28c +\ No newline at end of file ++ix28c +--- a/examples/octave/x33c.m ++++ b/examples/octave/x33c.m +@@ -1,6 +1,4 @@ +-## -*- coding: utf-8; -*- +-## $Id: x33c.m 12353 2013-06-02 20:07:07Z andrewross $ +-## Copyright (C) 2010 Alan W. Irwin ++## Copyright (C) 2010-2014 Alan W. Irwin + ## + ## Demonstrate most pllegend capability including unicode symbols. + ## +@@ -195,12 +193,12 @@ + plwind( 0.0, 1.0, 0.0, 1.0 ); + # Set interesting background colour. + plscol0a( 15, 0, 0, 0, 0.20 ); +- [colorbar_width, colorbar_height] = plcolorbar( \ +- bitor(opt, bitor(PL_COLORBAR_BOUNDING_BOX, PL_COLORBAR_BACKGROUND)), \ +- position, x, y, x_length, y_length, \ +- 15, 1, 1, low_cap_color, high_cap_color, \ +- cont_color, cont_width, label_opts, label, \ +- axis_opts, ticks, sub_ticks, \ ++ [colorbar_width, colorbar_height] = plcolorbar( ++ bitor(opt, bitor(PL_COLORBAR_BOUNDING_BOX, PL_COLORBAR_BACKGROUND)), ++ position, x, y, x_length, y_length, ++ 15, 1, 1, low_cap_color, high_cap_color, ++ cont_color, cont_width, label_opts, label, ++ axis_opts, ticks, sub_ticks, + n_values_array, values_array ); + + # Reset text and tick sizes +@@ -313,7 +311,7 @@ + line_colors(1) = 1 + mod(k, 8); + symbol_colors(1) = 1 + mod(k, 8); + +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, 0.05, 0.05, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -393,7 +391,7 @@ + y = 0.1; + nrow = 1; + ncolumn = nlegend; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -407,7 +405,7 @@ + y = 0.1; + nrow = 1; + ncolumn = nlegend; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -422,7 +420,7 @@ + y = 0.; + nrow = nlegend; + ncolumn = 1; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -436,7 +434,7 @@ + y = 0.; + nrow = nlegend; + ncolumn = 1; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -450,7 +448,7 @@ + y = 0.; + nrow = 6; + ncolumn = 2; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -464,7 +462,7 @@ + y = 0.; + nrow = 6; + ncolumn = 2; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -478,7 +476,7 @@ + y = 0.; + nrow = 3; + ncolumn = 3; +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.05, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 2.0, + 1., text_colors, text, +@@ -568,7 +566,7 @@ + nrow = min(3, nlegend); + ncolumn = 0; + +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.025, 15, 1, 1, nrow, ncolumn, opt_array, 1.0, 1.0, 1.5, + 1., text_colors, text, +@@ -685,7 +683,7 @@ + + opt = opt_base; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -716,7 +714,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -747,7 +745,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -781,7 +779,7 @@ + y += max_height; + max_height = 0.; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -812,7 +810,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -843,7 +841,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text, +@@ -878,7 +876,7 @@ + y += max_height; + max_height = 0.; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text', +@@ -905,7 +903,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text', +@@ -933,7 +931,7 @@ + opt = opt_base; + x += legend_width; + plscol0a( 15, 32, 32, 32, 0.70 ); +- [legend_width, legend_height] = \ ++ [legend_width, legend_height] = ... + pllegend( opt, position, x, y, + 0.1, 15, 1, 1, 0, 0, opt_array, 1.0, text_scale, 2.0, + 0., text_colors, text', +--- a/plplot_test/test_octave.sh.in ++++ b/plplot_test/test_octave.sh.in +@@ -35,7 +35,12 @@ + export LD_LIBRARY_PATH="$TOPDIR"/src:"$TOPDIR"/lib/csa:"$TOPDIR"/lib/nn + + # Launch an Octave script that exercises all the demos +-$octave -f -q -p "$octavedir" <<EOF 2> test.error ++$octave -f -q <<EOF 2> test.error ++ ++# Disable warnings about shadowed functions - PLplot is _supposed_ to shadow the core functions ++warning("off","Octave:shadowed-function"); ++ ++addpath(getenv("octavedir")); + + # Check verbose_test variable + if (strcmp(getenv("verbose_test"),"on") == 1) +@@ -46,13 +51,15 @@ + + plplot_stub; + t = char(strsplit("$options", "-")); +-if (t); t(1,:)=""; endif; +-for i=1:rows(t) +- tt = deblank (t(i,:)); len = length(tt); +- ix = index(tt," "); +- if (ix == 0); ix = len; len = 0; endif +- plsetopt(tt(1:ix), tt(ix+1:len)); +-endfor ++if (t) ++ t(1,:)=""; ++ for i=1:rows(t) ++ tt = deblank (t(i,:)); len = length(tt); ++ ix = index(tt," "); ++ if (ix == 0); ix = len; len = 0; endif ++ plsetopt(tt(1:ix), tt(ix+1:len)); ++ endfor ++endif + + # Subset of p examples selected that seem to work ok with noninteractive + # devices. +@@ -80,13 +87,15 @@ + printf("%s\n",cmd); + endif + t = char(strsplit("$options", "-")); +- if (t) ; t(1,:)=""; endif +- for j=1:rows(t) +- tt = deblank (t(j,:)); len = length(tt); +- ix = index(tt," "); +- if (ix == 0); ix = len; len = 0; endif +- plSetOpt(deblank(tt(1:ix)), tt(ix:len)); +- endfor ++ if (t) ++ t(1,:)=""; ++ for j=1:rows(t) ++ tt = deblank (t(j,:)); len = length(tt); ++ ix = index(tt," "); ++ if (ix == 0); ix = len; len = 0; endif ++ plSetOpt(deblank(tt(1:ix)), tt(ix:len)); ++ endfor ++ endif + device="$device"; + plSetOpt("dev", device); + #o trailer on filename e.g., x01o.ps) to distinguish from other Property changes on: trunk/debian/patches/octave_3.8_support.diff ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Modified: trunk/debian/patches/series =================================================================== --- trunk/debian/patches/series 2014-02-28 13:18:53 UTC (rev 13029) +++ trunk/debian/patches/series 2014-02-28 13:20:26 UTC (rev 13030) @@ -2,7 +2,6 @@ #04_use-mkoctfile.diff proper-path-handling.diff fix-lua-includes.diff -fix-d-examples.diff -fix-python-exec-bit.diff add-tcl-multiarch.diff -support-javac-options.diff +#support-javac-options.diff +octave_3.8_support.diff This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |