octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.9.10?


From: John W. Eaton
Subject: Re: 2.9.10?
Date: Thu, 16 Nov 2006 19:16:59 -0500

On 16-Nov-2006, John W. Eaton wrote:

| I do see problems with the figures in the doc/interpreter directory
| now, so I'll take a look at fixing that.  But I think building Octave
| and running it should work.  I think it's just the documentation that
| will not be built correctly at the moment.

I think the following patch (checked in) will fix the problems with
generating some of the figures for the manual.

jwe

doc/ChangeLog:

2006-11-16  John W. Eaton  <address@hidden>

        * interpreter/sparseimages.m (femimages): Use plot3.


Index: doc/interpreter/sparseimages.m
===================================================================
RCS file: /cvs/octave/doc/interpreter/sparseimages.m,v
retrieving revision 1.3
diff -u -u -r1.3 sparseimages.m
--- doc/interpreter/sparseimages.m      31 Oct 2006 20:08:30 -0000      1.3
+++ doc/interpreter/sparseimages.m      17 Nov 2006 00:15:02 -0000
@@ -208,18 +208,11 @@
     velems = reshape( V(elemx), 4, E);
 
     sz = size(xelems,2);
-    ## FIXME How can I do this without a gnuplot specific commands? plot3 
anyone?
-    unwind_protect
-      __gnuplot_set__  parametric;
-      __gnuplot_raw__ ("set nohidden3d;\n");
-      tmp = [([xelems; NaN*ones(1,sz)])(:), ([yelems; NaN*ones(1,sz)])(:), 
([velems; NaN*ones(1,sz)])(:)];
-      __gnuplot_splot__(tmp);
-      __gnuplot_raw__ ("set view 80,10;\n")
-      print(strcat(nm,".",typ),strcat("-d",typ))
-      bury_output ();
-    unwind_protect_cleanup
-      __gnuplot_set__ noparametric; 
-    end_unwind_protect
+
+    __gnuplot_raw__ ("set view 80,10;\n")
+    plot3 (xelems, yelems, velems);
+    print(strcat(nm,".",typ),strcat("-d",typ))
+    bury_output ();
   endif
 endfunction
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]