# HG changeset patch # User jwe # Date 1170711741 0 # Node ID c8d25f5522305d35298adc6a0c7f3dd3ff150866 # Parent 2f357df626cb4542bd511fc377b9847c265f5f4f [project @ 2007-02-05 21:41:26 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-02-05 John W. Eaton + + * demo.m: Delete obsolete file. + 2007-01-29 Michael Goffioul * configure.in (*-*-msdosmsvc): Set NO_OCT_FILE_STRIP to true. diff --git a/demo.m b/demo.m deleted file mode 100644 --- a/demo.m +++ /dev/null @@ -1,69 +0,0 @@ -# Octave demo - -# This is not a function file. -1; - -function demo_clear () - clc (); -endfunction - -function demo_set_term () - term = getenv ("TERM"); - display = getenv ("DISPLAY"); - if (! strcmp (term, "xterm") || columns (display) == 0) - graphics_terminal = input ("enter graphics terminal type: ", "s"); - command = sprintf ("set term %s", graphics_terminal); - eval (command); - endif -endfunction - -function demo_graphics () - demo_clear (); - demo_set_term () - demo_clear (); - printf ("Graphics\n"); - fflush (stdout); - sombrero (31); - pause (10); - printf ("press return to continue\n"); - fflush (stdout); - pause (); -endfunction - -function demo_linear_algebra () - demo_clear (); - printf ("Solving Linear Algebra Problems\n"); - fflush (stdout); - pause (); -endfunction - -function demo_odes () - demo_clear (); - printf ("Solving ODEs and DAEs\n"); - fflush (stdout); - pause (); -endfunction - -while (1) - - demo_clear (); - - choice = menu ("Octave\n======\n\n", ... - "Graphics", ... - "Linear Algebra", ... - "ODEs and DAEs", ... - "Exit"); - - if (choice == 1) - demo_graphics (); - elseif (choice == 2) - demo_linear_algebra (); - elseif (choice == 3) - demo_odes (); - elseif (choice == 4) - printf ("\nGoodbye and good luck!\n\n"); - fflush (stdout); - break; - endif - -endwhile diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-02-05 Thomas Treichl + + * plot/__uiobject_draw_axes__.m (do_linestyle_command): + Always set lt and pt. + 2007-02-05 Shai Ayal * plot/contourc.m: Correctly compute X and Y. diff --git a/scripts/plot/__uiobject_draw_axes__.m b/scripts/plot/__uiobject_draw_axes__.m --- a/scripts/plot/__uiobject_draw_axes__.m +++ b/scripts/plot/__uiobject_draw_axes__.m @@ -694,6 +694,8 @@ otherwise lt = ""; endswitch + else + lt = ""; endif if (isfield (obj, "linewidth")) @@ -738,6 +740,8 @@ fprintf (plot_stream, " pointtype %s", pt); found_style = true; endif + else + pt = ""; endif if (isfield (obj, "markersize"))