changeset 7038:4482ba9814b7

[project @ 2007-10-19 16:05:48 by jwe]
author jwe
date Fri, 19 Oct 2007 16:05:49 +0000
parents b1ca2c453b77
children 258dd5c9bfe0
files NEWS src/ChangeLog src/DLD-FUNCTIONS/cellfun.cc src/help.cc
diffstat 4 files changed, 26 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Wed Oct 17 21:25:44 2007 +0000
+++ b/NEWS	Fri Oct 19 16:05:49 2007 +0000
@@ -6,7 +6,7 @@
     Graphics (tm):
 
     + You can make a subplot and then use the print function to
-      generate file with the plot.
+      generate a file with the plot.
 
     + RGB line colors are supported if you use gnuplot 4.2.  Octave
       can still use gnuplot 4.0, but there is no way to set arbitrary
@@ -34,10 +34,18 @@
       this allows you to plot additional 2-d data on top of a contour
       plot.
 
-    + It is no longer possible to mix Matlab-style plot commands with
-      the old (and now considered obsolete) style of plot commands
-      (__gnuplot_set__, etc.).  You can do one or the other, but not
-      both for the same plot.
+    + The following plot commands are now considered obsolete and will
+      be removed from a future version of Octave:
+
+	__gnuplot_set__
+	__gnuplot_show__
+	__gnuplot_plot__
+	__gnuplot_splot__
+	__gnuplot_replot__
+
+      Additionally, these functions no longer have any effect on plots
+      created with the Matlab-style plot commands (plot, line, mesh,
+      semilogx, etc.).
 
     + Plot property values are not extensively checked.  Specifying
       invalid property values may produce unpredictible results.
@@ -47,7 +55,12 @@
       cluttering /tmp with data files, it is no longer possible to use
       the mouse to zoom in on plots.  This is a limitation of gnuplot,
       which is unable to zoom when the data it plots is not stored in
-      a file.
+      a file.  Some work has been done to fix this problem in newer
+      versions of gnuplot (> 4.2.2).  See for example, this thread
+
+        http://www.nabble.com/zooming-of-inline-data-tf4357017.html#a12416496
+
+      on the gnuplot development list.
 
  ** The way Octave handles search paths has changed.  Instead of
     setting the built-in variable LOADPATH, you must use addpath,
--- a/src/ChangeLog	Wed Oct 17 21:25:44 2007 +0000
+++ b/src/ChangeLog	Fri Oct 19 16:05:49 2007 +0000
@@ -1,3 +1,8 @@
+2007-10-19  Olli Saarela  <Olli.Saarela@kcl.fi>
+
+	* help.cc (Flookfor): Call print_usage instead of usage.
+	* DLD-FUNCTIONS/cellfun.cc (Fmat2cell): Likewise.
+
 2007-10-17  John W. Eaton  <jwe@octave.org>
 
 	* DLD-FUNCTIONS/spchol.cc (Fsymbfact): Delete special code for METIS.
--- a/src/DLD-FUNCTIONS/cellfun.cc	Wed Oct 17 21:25:44 2007 +0000
+++ b/src/DLD-FUNCTIONS/cellfun.cc	Fri Oct 19 16:05:49 2007 +0000
@@ -676,7 +676,7 @@
   octave_value retval;
 
   if (nargin < 2)
-    usage ("mat2cell");
+    print_usage ();
   else
     {
       dim_vector dv = args(0).dims();
--- a/src/help.cc	Wed Oct 17 21:25:44 2007 +0000
+++ b/src/help.cc	Fri Oct 19 16:05:49 2007 +0000
@@ -1769,7 +1769,7 @@
 
   if (nargin != 1 && nargin != 2)
     {
-      usage ("lookfor");
+      print_usage ();
       return retval;
     }