changelog shortlog tags files raw

changeset: Conditionally set 'set pm3d implicit'

changeset 7692: da1f4bc7cbe8
parent 7691:4a01572f4268
child 7693:8e5371d47da6
author: David Bateman <dbateman@free.fr>
date: Thu Apr 03 21:39:38 2008 -0400 (19 months ago)
files: scripts/ChangeLog scripts/plot/__go_draw_axes__.m
description: Conditionally set 'set pm3d implicit'
       1--- a/scripts/ChangeLog	Thu Apr 03 17:10:15 2008 -0400
       2+++ b/scripts/ChangeLog	Thu Apr 03 21:39:38 2008 -0400
       3@@ -1,20 +1,8 @@
       4-2008-04-03  Ben Abbott  <bpabbott@mac.com>
       5-
       6-	* sparse/spaugment.m: Increase test script tolerance.
       7-
       8-2008-04-02  John W. Eaton  <jwe@octave.org>
       9-
      10-	* deprecated/Makefile.in (SOURCES): Add spkron.m to the list.
      11-
      12-	* general/Makefile.in (SOURCES): Add runlength.m to the list.
      13-
      14-2008-04-02  Bill Denney  <bill@denney.ws>
      15-
      16-	* optimization/lsqnonneg.m: New function.
      17-	* optimization/Makefile.in (SOURCES): Add it to the list.
      18-
      19 2008-04-03  David Bateman  <dbateman@free.fr>
      20 
      21+	* plot/__go_draw_axes__.m: Conditionally "set pm3d implict" for 2D
      22+	plot or 3D plots with more than one line.
      23+	
      24 	* deprecated/splchol.m deprecated/lchol.m deprecated/spfind.m
      25 	deprecated/spchol.m deprecated/spmin.m deprecated/spmax.m
      26 	deprecated/spdet.m deprecated/splu.m deprecated/spqr.m
      27@@ -23,6 +11,21 @@
      28 	deprecated/spinv.m deprecated/spcumsum.m deprecated/spprod.m
      29 	deprecated/spsum.m deprecated/spsumsq.m: New files
      30 	* deprecated/Makefile.in (SOURCES): Add them here.
      31+
      32+2008-04-03  Ben Abbott  <bpabbott@mac.com>
      33+
      34+	* sparse/spaugment.m: Increase test script tolerance.
      35+
      36+2008-04-02  John W. Eaton  <jwe@octave.org>
      37+
      38+	* deprecated/Makefile.in (SOURCES): Add spkron.m to the list.
      39+
      40+	* general/Makefile.in (SOURCES): Add runlength.m to the list.
      41+
      42+2008-04-02  Bill Denney  <bill@denney.ws>
      43+
      44+	* optimization/lsqnonneg.m: New function.
      45+	* optimization/Makefile.in (SOURCES): Add it to the list.
      46 
      47 2008-04-02  David Bateman  <dbateman@free.fr>
      48 
     1.1--- a/scripts/plot/__go_draw_axes__.m	Thu Apr 03 17:10:15 2008 -0400
     1.2+++ b/scripts/plot/__go_draw_axes__.m	Thu Apr 03 21:39:38 2008 -0400
     1.3@@ -64,7 +64,6 @@
     1.4       fputs (plot_stream, "set size noratio;\n");
     1.5     endif
     1.6 
     1.7-    fputs (plot_stream, "set pm3d implicit;\n");
     1.8     fputs (plot_stream, "unset label;\n");
     1.9 
    1.10     if (! isempty (axis_obj.title))
    1.11@@ -999,6 +998,14 @@
    1.12       endswitch
    1.13 
    1.14     endfor
    1.15+
    1.16+    ## This is need to prevent warnings for rotations in 3D plots, while
    1.17+    ## allowing colorbars with contours..
    1.18+    if (nd == 2 || data_idx > 1)
    1.19+      fputs (plot_stream, "set pm3d implicit;\n");
    1.20+    else
    1.21+      fputs (plot_stream, "set pm3d explicit;\n");
    1.22+    endif
    1.23 
    1.24     if (isnan(hidden_removal) || hidden_removal)
    1.25       fputs (plot_stream, "set hidden3d;\n");